Visible to Intel only — GUID: bmz1711750932610
Ixiasoft
2.4. Design Example Simulation Testbench
The simulation testbench instantiates the PIO design example and a Root Port bus functional model (BFM) to interface with the target Endpoint.
The testbench uses a test driver module, altpcietb_bfm_rp_gen4_x16.sv, to initiate the configuration and memory transactions. At startup, the test driver module displays information from the Root Port and Endpoint Configuration Space registers, so that you can correlate to the parameters you specified using the IP parameter editor in the Quartus® Prime software.
The design example and testbench are dynamically generated based on the configuration that you choose for the GTS AXI Streaming IP.
This testbench simulates up to an x4 PCI Express* link using the serial PCI Express* interface.
The following figure presents a high-level view of the PIO design example.
Module | Description | Directory Path |
---|---|---|
altpcietb_bfm_rp_gen4x16.sv | Root Port PCIe* * BFM. | //Directory path <project_dir>/intel_pcie_gts_0_example_design/pcie_ed_tb/ip/pcie_ed_tb/ dut_pcie_tb_ip/intel_pcie_gts_tbed_<ver>/sim |
pcie_ed_dut.ip | Endpoint design with the parameters that you specify. | //Directory path <project_dir>/intel_pcie_gts_0_example_design/ip/pcie_ed |
pcie_ed_pio0.ip | A a target and initiator of transactions for the PIO design example. | //Directory path <project_dir>/intel_pcie_gts_0_example_design/ip/pcie_ed |
- Generates the reference clock for the Endpoint at the required frequency.
- Provides a PCI Express* reset at start-up.