F-Tile Avalon® Streaming Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683372
Date 10/07/2024
Public
Document Table of Contents

3.3. Simulating the Design Example

Generating tile files

The tile files are generated during the design example generation. Running Support-Logic Generation manually is not required before simulating the design example.

Tile files generation is a required step before simulation if you created your design with the F-Tile Avalon-ST IP for PCI Express from scratch. You can run Analysis & Elaboration on the Processing menu in the Quartus® Prime Pro Edition software to generate the F-Tile specific tiles file for your design. The Support-Logic Generation command runs automatically as part of the process.

A successful tile file generation results in the <IP_instance_name>__tiles.x files where x represents the necessary file extensions. The generated files are located in your project directory and contain the full netlist for simulation and synthesis.

The following options are available for simulation time optimization:
  • FASTSIM simulation mode: This mode is supported in the design examples simulation. The FASTSIM mode uses a simplified PMA abstract model and some simplified parameters driving the design to improve the overall simulation time for the F-Tile Avalon-ST IP for PCI Express. The PMA model has compile time switches IP7581SERDES_UX_SIMSPEED and GDR_FASTSIM_AIB_BYPASS to use a simplified PMA abstract model. If these switches are not defined by the compile environment, then a detailed or existing model is used.
  • PIPE simulation mode: In this mode, the simulation speed is further enhanced by excluding the transceiver component where the PIPE interface of the F-Tile Avalon-ST IP for PCI Express connects to the PIPE interface of the link partner. At the IP core boundary, PIPE interface signals are produced for access to the external device when you choose the Enable PIPE Mode Simulation option in the F-Tile Avalon-ST IP for PCI Express Parameter Editor. Additionally, this feature provides the necessary hooks to use third-party PCI Express* VIPs/BFMs instead of the Root Port model provided with the design example. For optimal simulation performance, it is advisable to activate both FASTSIM and PIPE simulation modes. The PIPE simulation includes a compile-time switch, gdrb_GDR_PCIE_SS_DV, which must be defined in the compile environment when you choose the PIPE Mode Simulation option during the generation of the design example.
Note: When the Enable PIPE Mode Simulation option is activated in the IP Parameter Editor prior to the generation of the design example, design compilation in the Quartus® Prime Pro Edition software is not supported. To generate a synthesizable design example, this option must be deactivated.
Figure 20. Procedure
  1. Run the simulation script under <example_design>/pcie_ed_tb/pcie_ed_tb/sim/<simulator> directory for the simulator of your choice. Refer to the table below.
  2. Analyze the results.