How can I add a Xilinx IP Catalog IP into the Black Box block in the Xilinx Blockset?
I also wish to be able to both simulate and generate the Hardware Cosimulation target.
It is necessary to add files for both Simulation and Synthesis.
For simulation, the simulation model is required, and for Synthesis, you need to add the DCP file for the generated IP in the "_config.m" file.
When adding the associated files for the black box, use the following syntax:
Note: For IP cores from the catalog that deliver encrypted simulation models, you will need to add that file to the black box but also give that file its own individual file.
For non-encrypted simulation models, this is not necessary as the contents of the file can be added to the overall simulation model generated for the complete design.
As a result the above code would change to look like the following:
Note: Make sure that the file extension for the included HDL code is either .v or .vhd, do not use .vhdl.