R-Tile Avalon® Streaming Intel® FPGA IP for PCI Express* User Guide

ID 683501
Date 4/07/2025
Public
Document Table of Contents

F.1. Overview

This appendix describes an example of how to set up an R-Tile Avalon-ST FPGA IP for PCI Express Gen5 1x16 or 1x8 Endpoint simulation with the Avery BFM for the Questasim simulator.

The Avery BFM simulation example described here is based on the Gen5 1x16 Endpoint PCIe Programmed I/O (PIO) design example with PIPE mode simulation enabled, generated from the Quartus® Prime PCIe IP Parameter Editor. Although the simulation flow and testbench setup leverage the Quartus® Prime design example testbench files, a similar flow and setup can be used for other PCIe system simulations with the R-Tile PCIe IP core.

Figure 80. Simulation Flow
Software Requirements
  • Quartus® Prime Pro Edition software version 25.1 or later
  • Avery BFM version 2.5
  • Siemens EDA Questasim simulator version 2024.3

Testbench Files

The following table describes the files required for running the example Avery BFM testbench and the locations where they need to be. To get a sample of these files, contact Intel® Premier Support and quote ID #22021038819.

You can use these files as-is for Gen5 x16 PIO simulations based on the R-Tile PCIe PIO design example.

Table 125.  Avery BFM Testbench Simulation Files
File Name Description Destination Folder
apci_top_rtile_tb.sv Top-level testbench module that connects Avery BFM to the PCIe design example and contains the example MemWr/Rd test. <design_example>/pcie_ed_sim/sim/avery_tb
dut_pcie_ed_inst.v Instantiation of the PCIe design example for PIPE simulation mode. <design_example>/pcie_ed_sim/sim/avery_tb
apcie_top_rtile_pipe_defines.svh Testbench PIPE connection assignments between the Avery RC BFM and R-tile design example. <design_example>/pcie_ed_sim/sim/avery_tb
apcie_top_rtile_serial_defines.svh Testbench serial connection assignments between the Avery RC BFM and R-tile design example. <design_example>/pcie_ed_sim/sim/avery_tb
msim_avery.tcl Simulation tcl script to compile and run the simulation using Questasim. <design_example>/pcie_ed/sim/mentor
run_avery_questasim.sh Bash script to launch the msim_avery.tcl script with Questasim. <design_example>/pcie_ed/sim/mentor