仅对英特尔可见 — GUID: oxl1503507129218
Ixiasoft
10.5.1. ebfm_barwr规程
10.5.2. ebfm_barwr_imm处理过程
10.5.3. ebfm_barrd_wait处理过程
10.5.4. ebfm_barrd_nowt处理过程
10.5.5. ebfm_cfgwr_imm_wait处理过程
10.5.6. ebfm_cfgwr_imm_nowt处理过程
10.5.7. ebfm_cfgrd_wait处理过程
10.5.8. ebfm_cfgrd_nowt处理过程
10.5.9. BFM配置处理过程
10.5.10. BFM共享存储器访问处理过程
10.5.11. BFM日志和消息处理过程
10.5.12. Verilog HDL格式化函数
仅对英特尔可见 — GUID: oxl1503507129218
Ixiasoft
2.7. 运行设计实例应用程序
- 浏览设计实例目录下的./software/user/example。
- 编译设计实例应用程序:
$ make
- 运行测试:
$ sudo ./intel_fpga_pcie_link_test
可在手动或者自动模式下运行 Intel® FPGA IP PCIe* 链路测试。
- 在自动模式下,应用程序自动选择器件。测试通过匹配Vendor ID选择具有最低BDF的 Intel® Stratix® 10 PCIe* 器件。测试还会选择最低的可用BAR。
- 手动模式下,该测试会询问您关于总线,器件和功能数以及BAR的信息。
对于 Intel® Stratix® 10 GX Development Kit,可通过输入以下命令决定BDF:$ lspci -d 1172
- 以下是自动和手动模式的脚本样本:
Intel FPGA PCIe Link Test - Automatic Mode Version 2.0 0: Automatically select a device 1: Manually select a device *************************************************** >0 Opened a handle to BAR 0 of a device with BDF 0x100 *************************************************** 0: Link test - 100 writes and reads 1: Write memory space 2: Read memory space 3: Write configuration space 4: Read configuration space 5: Change BAR 6: Change device 7: Enable SR-IOV 8: Do a link test for every enabled virtual function belonging to the current device 9: Perform DMA 10: Quit program *************************************************** > 0 Doing 100 writes and 100 reads . . Number of write errors: 0 Number of read errors: 0 Number of DWORD mismatches: 0
Intel FPGA PCIe Link Test - Manual Mode Version 1.0 0: Automatically select a device 1: Manually select a device *************************************************** > 1 Enter bus number: > 1 Enter device number: > 0 Enter function number: > 0 BDF is 0x100 Enter BAR number (-1 for none): > 4 Opened a handle to BAR 4 of a device with BDF 0x100