Often, a processor-based block design contains an associated ELF file. This section describes the process to package a block design with an ELF association.
Consider the MicroBlaze™ -based block design, shown in the following figure, which has a separate ELF file associated for synthesis and simulation.
When packaging this type of a block design, after you go through the Create and Package New IP wizard, you see a Critical Warning dialog box as shown in the following figure.
The Critical Warning states that packaging a block design with an ELF file for simulation is currently not supported. In fact, the simulation ELF file gets overwritten with synthesis ELF file as can be seen in the following figure.
After packaging the block design, it can be instantiated in another block design by adding the repository containing the packaged block design to the project.
While the synthesis flow would work perfectly because the ELF file used for
synthesis is packaged with the packaged BD, the simulation flow does not work
because the simulation ELF file is not packaged. To overcome this issue, you can add
the simulation ELF file in the project and set the
properties appropriately to point to the process instance.
- Click Add Sources to add a simulation ELF
file to Simulation Sources using the option shown in the following figure.
The Sources window shows the simulation ELF file.
- Set the
SCOPED_TO_REFproperties in the Properties window as shown in the following figure. Now you can run simulations with the ELF file added for simulation.