Visible to Intel only — GUID: eis1411095122455
Ixiasoft
1.3.1. Example: Simulating the ASMI Block in a Stratix® V Device Using EPCQ Flash
To simulate the ASMI block in a Stratix® V device using the EPCQ flash, (for example, EPCQ1024), follow these steps:
- Create a design which instantiates the ASMI block, and set the enable_sim parameter to true.
Figure 3. Sample Code to Instantiate the ASMI Block Using EPCQ Flash
- Compile the design in the Intel® Quartus® Prime software and ensure that the design does not contain any syntax error.
- In a simulation project, compile the following file to your working folder:
- quartus/eda/sim_lib/stratixv_atoms.v or quartus/eda/sim_lib/stratixv_atoms.vhd (if you are not using the ModelSim* - Intel® FPGA Edition software)
Note: The ModelSim* - Intel® FPGA Edition software contains all device atom libraries, so no compilation is needed.
- quartus/eda/sim_lib/stratixv_atoms.v or quartus/eda/sim_lib/stratixv_atoms.vhd (if you are not using the ModelSim* - Intel® FPGA Edition software)
- Run simulation. The FPGA design is connected to the flash simulation model via the ASMI interface.