Visible to Intel only — GUID: pgr1741308204449
Ixiasoft
Visible to Intel only — GUID: pgr1741308204449
Ixiasoft
2.4.4. Performance Design Example Testbench
The testbench starts with link training and then accesses the configuration space of the IP for enumeration. A task called perf_ed_dma_write and perf_ed_dma_read (defined in the Root Port PCIe* BFM altpcietb_bfm_rp_gen4_x16.sv) then performs the PCIe* link test. This test consists of the following steps:
- Issue a memory write command to set up the Performance design example's target memory write address.
- Issue a memory write command to trigger the Performance design example to send 10 memory writes that are 128 bytes in length.
- Issue a memory write command to set up the Performance design example's target memory read address.
- Issue a memory write command to trigger the Performance design example to send 10 memory reads that are 128 bytes in length.
You can trace the transition of signal p0_ss_app_st_rx_tvalid (for example, from h'0 to h'1) for the first memory write. The 10 memory writes and 10 memory reads with completions from the Root Port BFM appear shortly after the memory write requests at the AXI-Stream receive interface.