02-12-2019 08:53 AM
I want to modify a simulink model by adding a Black Box of Xilinx, in which a vhdl-file should be integrated.
Adding such a block could be done by:
add_block('xbsBasic_r4/Black Box', [RootName,'/HDL_PWM4'],'Position',[400,0,600,550]);
Than a dialog box appears for the vhdl code path. This is the problem. How can i handle this dialoge box?
Is there a specific interface for Xilinx-Blocks to deal with them programmatically?
02-20-2019 06:07 AM
Thank you very much. This is, what i looked for.
But the documentation is not realy detailled. I want to insert a black box. This works, but the configuration wizard opens. I don't know, how to automize this part. Is there a possibility to define in the source struct the VHDL file.
Can you help me?
02-20-2019 07:05 PM
This is the only doc we can find on the programmable access, if you do not find a way in this doc, then we don't have a programmable way to insert a blackbox for now.
02-20-2019 10:48 PM
is there a possibility to get informations about the xBlock.m(/.p) function with respect to the attributes for the "black box".
If I would have a list of attributes or setable characteristics, I could try to insert the black box. For example "toplevel" is a attribute, which is never documented, but possible.