仅对英特尔可见 — GUID: ndg1634147400437
Ixiasoft
1. 有关用于PCI Express的 英特尔® FPGA R-tile Avalon® Streaming IP
2. IP架构和功能描述
3. 高级特性
4. 接口
5. 参数
6. 故障排查/调试
7. 用于 PCI Express* 的 英特尔® FPGA R-tile Avalon® Streaming IP用户指南存档
8. 用于PCI Express的英特尔FPGA R-tile Avalon® Streaming IP用户指南文档修订历史
A. 配置空间寄存器
B. 根端口枚举
C. Endpoint模式下Address Translation Services(ATS)的实现
D. TLP Bypass模式下转发到用户应用的数据包
E. R-Tile Avalon Streaming Intel FPGAIP for PCI Express支持的掩膜裕量
3.2.2.5.1. VirtIO Common Configuration Capability寄存器(地址: 0x012)
3.2.2.5.2. VirtIO Common Configuration Capability寄存器(地址: 0x013)
3.2.2.5.3. VirtIO Common Configuration BAR Offset寄存器(地址: 0x014)
3.2.2.5.4. VirtIO Common Configuration Structure Length寄存器(地址0x015)
3.2.2.5.5. VirtIO Notifications Capability寄存器(地址:0x016)
3.2.2.5.6. VirtIO Notifications BAR Indicator寄存器(地址:0x017)
3.2.2.5.7. VirtIO Notifications BAR Offset寄存器(地址:0x018)
3.2.2.5.8. VirtIO Notifications Structure长度寄存器(地址:0x019)
3.2.2.5.9. VirtIO Notifications Notify Off Multiplier寄存器 (Address: 0x01A)
3.2.2.5.10. VirtIO ISR Status Capability寄存器(地址:0x02F)
3.2.2.5.11. VirtIO ISR Status BAR Indicator寄存器(地址:0x030)
3.2.2.5.12. VirtIO ISR Status BAR Offset寄存器(地址:0x031)
3.2.2.5.13. VirtIO ISR Status Structure长度寄存器(地址:0x032)
3.2.2.5.14. VirtIO Device Specific Capability寄存器(地址:0x033)
3.2.2.5.15. VirtIO Device Specific BAR Indicator寄存器(地址:0x034)
3.2.2.5.16. VirtIO Device Specific BAR Offset寄存器(地址:0x035)
3.2.2.5.17. VirtIO Device Specific Structure长度寄存器(地址:0x036)
3.2.2.5.18. VirtIO PCI Configuration Access Capability寄存器(地址:0x037)
3.2.2.5.19. VirtIO PCI Configuration Access BAR Indicator寄存器(地址:0x038)
3.2.2.5.20. VirtIO PCI Configuration Access BAR Offset寄存器(地址:0x039)
3.2.2.5.21. VirtIO PCI Configuration Access Structure长度寄存器(地址:0x03A)
3.2.2.5.22. VirtIO PCI Configuration Access Data寄存器(地址:0x03B)
4.3.1. Avalon® Streaming接口
4.3.2. 精确时间测量(PTM)接口(仅Endpoint)
4.3.3. 中断接口
4.3.4. 硬IP重配置接口
4.3.5. 错误(Error)接口
4.3.6. Completion Timeout接口
4.3.7. 配置拦截接口
4.3.8. 电源管理接口(Power Management Interface)
4.3.9. Hard IP状态接口
4.3.10. Page Request Services (PRS)接口(仅Endpoint)
4.3.11. Function-Level Reset (FLR)接口(仅Endpoint)
4.3.12. SR-IOV VF Error Flag接口(仅Endpoint)
4.3.13. 通用VSEC接口
5.2.3.1. 器件Capabilities
5.2.3.2. VirtIO参数
5.2.3.3. 链路Capabilities
5.2.3.4. Legacy中断管脚寄存器
5.2.3.5. MSI Capabilities
5.2.3.6. MSI-X Capabilities
5.2.3.7. 插槽Capabilities
5.2.3.8. Latency Tolerance Reporting (LTR)
5.2.3.9. Process Address Space ID (PASID)
5.2.3.10. 器件序列号Capability
5.2.3.11. Page Request Service (PRS)
5.2.3.12. Access Control Service (ACS)
5.2.3.13. 电源管理
5.2.3.14. Vendor Specific Extended Capability (VSEC,供应商指定扩展性能)寄存器
5.2.3.15. TLP Processing Hints (TPH)
5.2.3.16. Address Translation Services (ATS) Capabilities
5.2.3.17. Precision Time Measurement (PTM)
仅对英特尔可见 — GUID: ndg1634147400437
Ixiasoft
6.4.1. 使用Hard IP Reconfiguration接口使能并读取ECRC和LCRC错误计数
偏移(offset) | 位的位置 | 寄存器 | ||
---|---|---|---|---|
x16 | 8 | 4 | ||
0x0000_0119 | x0000_0119 | 0x0000_0119 | [0] | 寄存器:AER_CAP/ADV_ERR_CAP_CTRL_OFF 字段:ECRC_CHECK_EN |
x0000_036C | 0x0000_032C | 0x0000_02D4 | [1:0] | 设置成2'b11以清除计数器。 |
[4:2] | 设置成3'b111以使能计数器。 | |||
0x0000_036D | 0x0000_032D | 0x0000_02D5 | [7:0] | 设置为0x00。保留。 |
0x0000_036E | 0x0000_032E | 0x0000_02D6 | [7:0] | 事件编号。 对于LCRC错误计数,设置为0x01。 对于ECRC错误计数,设置为0x02。 |
0x0000_036F | 0x0000_032F | 0x0000_02D7 | [7:0] | 组号。 对于LCRC错误计数,设置为0x02。 对于ECRC错误计数,设置为0x03。 |
0x0000_0370 | 0x0000_0330 | 0x0000_02D8 | [7:0] | 错误计数器数据位[7:0]。 |
0x0000_0371 | 0x0000_0331 | 0x0000_02D9 | [7:0] | 错误计数器数据位[15:8]。 |
0x0000_0372 | 0x0000_0332 | 0x0000_02DA | [7:0] | 错误计数器数据位[23:16]。 |
0x0000_0373 | 0x0000_0333 | 0x0000_02DB | [7:0] | 错误计数器数据位[31:24]。 |
请按照以下步骤使用Hard IP重配置接口访问上述表格中的寄存器:
- 使用IP Parameter Editor使能Hard IP重新配置接口。
- 使能寄存器AER_CAP/ADV_ERR_CAP_CTRL_OFF中的CRC检查。
- 设置组号和事件号。
- 启用计数器。
- 读取计数器数据。
以下是启用LCRC计数器的示例:
- 使用IP Parameter Editor使能Hard IP重新配置接口。
- 通过对寄存器AER_CAP/ADV_ERR_CAP_CTRL_OFF内的ECRC_CHECK_EN字段执行read-modify-write使能CRC检查。
- p0_hip_reconfig_write = 1’b1
- p0_hip_reconfig_address[31:0] = 0x0000_0119
- p0_hip_reconfig_writedata[7:0] = 8'h01
- 对地址0x0000_036F执行read-modify-write,将Group Number设置为0x2。
- p0_hip_reconfig_write = 1’b1
- p0_hip_reconfig_address[31:0] = 0x0000_036F
- p0_hip_reconfig_writedata[7:0] = 8'h02
- 对地址0x0000_036E执行read-modify-write,将Event Number设置为0x1。
- p0_hip_reconfig_write = 1’b1
- p0_hip_reconfig_address[31:0] = 0x0000_036E
- p0_hip_reconfig_writedata[7:0] = 8'h01
- 使用0x0对地址0x0000_036D执行read-modify-write。
- p0_hip_reconfig_write = 1’b1
- p0_hip_reconfig_address[31:0] = 0x0000_036D
- p0_hip_reconfig_writedata[7:0] = 8'h00
- 对地址0x0000_036C执行read-modify-write以设置Enable Event Counter。
- p0_hip_reconfig_write = 1’b1
- p0_hip_reconfig_address[31:0] = 0x0000_036C
- p0_hip_reconfig_writedata[7:0] = 8'h1C
- 从寄存器0x0000_0370、0x0000_0371、0x0000_0372和0x0000_0373执行读操作来读取错误计数器数据。