PHY Lite for Parallel Interfaces Intel® FPGA IP User Guide

ID 683716
Date 8/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.6.1.2.2. Generate the Simulation Design Example

The make_sim_design.tcl generates a simulation design example and tool specific scripts to compile and elaborate the necessary files.

To generate the design example for a Verilog or a mixed-language simulator, run the following script at the end of IP generation:
quartus_sh -t make_sim_design.tcl VERILOG
To generate the design example for a VHDL-only simulator, run the following script:
quartus_sh -t make_sim_design.tcl VHDL

This script generates a sim directory containing one subdirectory for each supported simulation tools. Each subdirectory contains the specific scripts to run simulation using the corresponding tool.

To use your own testbenches and simulation scripts, you must apply the compilation switch: +define+EMIF_DISABLE_CAL_OPTIMIZATIONS used in the simulation design example with dynamic reconfiguration to avoid simulation failure.

The simulation design example provides an example of the core and I/O connectivity for your IP configuration with Calibration IP as the interface for the Avalon® memory-mapped calibration addresses. The addresses of all the configurable registers are saved in the addr_map.vh file. The IOSSM Tester block sends a simple sequence (write/read to a delay register) as a sample. Functionally, the simulation triggers read and write operations over each group in your configured IP. The following diagrams show a simple one group PHY Lite for Parallel Interfaces Intel Agilex® 7 FPGA IP for F-Series and I-Series instantiation in the testbench.

Figure 46. Dynamic Reconfiguration Simulation Design Example
Figure 47. Write Operation Using Dynamic Reconfiguration
Figure 48. Read Operation Using Dynamic Reconfiguration