Agilex™ 7 M-Series FPGA Network-on-Chip (NoC) User Guide

ID 768844
Date 1/27/2025
Public
Document Table of Contents

5.2.2. Using the Accurate Simulation Include File

The simulation registration include file generates into your project directory, in Verilog HDL format, with the name noc_sim_defparams.inc. This simulation registration include file has all the necessary registration information for each initiator-to-target connection, using a SIM_TOP_PATH macro to specify the hierarchical path. The file also includes defparam statements that specify placement information from your design.

Note: This file is only available in Verilog HDL format. If your design uses VHDL, you must create a top-level wrapper in Verilog HDL to use this registration include file and perform a mixed-language simulation.

To use this file:

  1. Edit your top-level simulation testbench to define the SIM_TOP_PATH macro to complete the hierarchical path to the initiators and targets relative to the testbench.
  2. Once you define the SIM_TOP_PATH macro, use the `include directive to include this file into your simulation testbench and apply the registration statements.
  3. If your simulation environment instantiates these modules at multiple places in your hierarchy, redefine the SIM_TOP_PATH macro and re-include this file for each additional instantiation.
Note: Do not edit the simulation registration include file directly because the Compiler rewrites this file during each compilation.