仅对英特尔可见 — GUID: kjo1614205370702
Ixiasoft
2.4.5.1. ebfm_barwr处理过程
2.4.5.2. ebfm_barwr_imm处理过程
2.4.5.3. ebfm_barrd_wait处理过程
2.4.5.4. ebfm_barrd_nowt处理过程
2.4.5.5. ebfm_cfgwr_imm_wait处理过程
2.4.5.6. ebfm_cfgwr_imm_nowt处理过程
2.4.5.7. ebfm_cfgrd_wait处理过程
2.4.5.8. ebfm_cfgrd_nowt处理过程
2.4.5.9. BFM配置处理过程
2.4.5.10. BFM共享存储器访问过程
2.4.5.11. BFM日志和消息过程
2.4.5.12. Verilog HDL格式化函数
仅对英特尔可见 — GUID: kjo1614205370702
Ixiasoft
2.7.1. 运行PIO设计实例
- 浏览设计实例目录下的./software/user/example。
- 编译设计实例应用程序:
$ make
- 运行测试:
$ sudo ./intel_fpga_pcie_link_test
可在手动模式或者自动模式下运行 Intel® FPGA IP PCIe* 链路测试。选择:- 自动模式下,应用程序自动选择器件。该测试通过匹配的Vendor ID选择具有最低BDF的英特尔 PCIe* 器件。该测试还选择最低的可用BAR。
- 在手动模式下,该测试会向您问询总线、器件和功能编号以及BAR。
对于英特尔Agilex® 7 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 0x3800 *************************************************** 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 for PIO 6: Change device 7: 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 Version 2.0 0: Automatically select a device 1: Manually select a device **************************************************** > 1 Enter bus number, in hex: > 4b Enter device number, in hex: > 0 BDF is 0x4b00 B:D.F, in hex, is 4b:0.0 Enter BAR number (-1 for none): > 0 Opened a handle to BAR 0 of a device with BDF 0x4b00