F-Tile Ethernet Multirate Intel® FPGA IP用户指南

ID 714307
日期 6/20/2022
Public
文档目录

6. 配置寄存器

您可以使用 Avalon 存储器映射接口或者Ethernet重配置 Avalon 存储器映射接口访问F-Tile Ethernet MultirateIntelFPGA IP core的寄存器。
所有端口的控制状态寄存器(CSR)空间是始终可以访问的,而无论端口是否是激活的。与动态重配置(DR)相关的寄存器用于在一个重配置组内切换配置文件。DR寄存器仅在端口0的CSR空间中可用。
注: 在一个多端口配置文件中,即便端口0处于复位状态,端口0 Avalon 存储器映射接口空间也是可用的。这是因为i_reconfig_reset信号是整个F-Tile Ethernet Multirate IP core的通用复位信号。
下表描述了F-Tile Ethernet Multirate IP core特定的寄存器。请参考F-Tile Ethernet Intel® FPGA Hard IP用户指南来了解其他的Ethernet相关的寄存器描述。
表 53.  F-Tile Ethernet Multirate IP Core寄存器
偏移(字节) 名称 描述 默认设置
0x200 6 profile_sel[5:0] 配置文件选择寄存器(Profile Selection Register)
profile_sel[5:0] = {profile_sel[5:4], profile_sel[3:2], profile_sel[1:0]}, 其中
  • profile_sel[5:4]: 表示所选配置文件中的激活端口的数量:
    • 2'b00: 1 port
    • 2'b01: 2 port
    • 2'b10: 4 port
  • profile_sel[3:2]: 表示所选配置文件中激活收发器通道的数量
    • 2'b00: 重配置组中通道的最大数量
    • 2'b01: 重配置组中通道的最大数量除以2
    • 2'b10: 重配置组中通道的最大数量除以4
  • profile_sel1:0]: 表示所选配置文件中所有激活端口的带宽总和:
    • 2'b00: 重配置组中的最大带宽(BW)
    • 2'b01: 重配置组中的最大BW除以2
    • 2'b10: 重配置组中的最大BW除以4
    • 2'b10: 特殊速率
profile_sel信号解码在内部是基于所选的重配置组的:
  • 25GE-1 Reconfigurable Group:
    • 6'b00_00_00: 1x25GE-1/1x10GE-1 7
  • 50GE-1 Reconfigurable Group:
    • 6'b00_00_00: 1x50GE-1
    • 6'b00_00_01: 1x25GE-1/1x10GE-17
  • 100GE-4 Reconfigurable Group:
    • 6'b00_00_00: 1x100GE-4
    • 6'b00_00_11: 1x40GE-4
    • 6'b00_01_00: 1x100GE-2
    • 6'b01_00_00: 2x50GE-2
    • 6'b01_01_00: 2x50GE-1
    • 6'b10_00_00: 4x25GE-1 / 10GE-17
  • 100GE-2 Reconfigurable Group:
    • 6'b00_00_00: 1x100GE-2
    • 6'b00_00_01: 1x50GE-2
    • 6'b01_00_00: 2x50GE-1
    • 6'b01_00_01: 2x25GE-1/10GE-17
  • 400GE-8 Reconfigurable Group:
    • 6'b00_00_00: 1x400GE-8
    • 6'b01_00_00: 2x200GE-4
    • 6'b01_00_00: 4x100GE-2
  • 200GE-4 Reconfigurable Group:
    • 6'b00_00_00: 1x200GE-4
    • 6'b00_00_01: 1x100GE-4
    • 6'b01_00_00: 2x100GE-2
    • 6'b01_00_01: 2x50GE-2
    • 6'b10_00_01: 4x50GE-1
Startup Profile
0x204 fec_mode[11:0] FEC模式寄存器
fec_mode[11:0] = {fec_mode[11:9], fec_mode[8:6], fec_mode[5:3], fec_mode[2:0]}, 其中
  • fec_mode[11:9]: 端口3的FEC模式
  • fec_mode[8:6]: 端口2的FEC模式
  • fec_mode5:3]: 端口1的FEC模式
  • fec_mode[2:0]: 端口0的FEC模式
为所选配置文件中的激活端口选择FEC类型:
  • 3'b000: None
  • 3'b001: IEEE 802.3 BASE-R Firecode (CL74)
  • 3'b010: IEEE 802.3 RS(528,514) (CL91)
  • 3'b011: IEEE 802.3 RS(544,514) (CL134)
  • 3'b100: Ethernet Technology Consortium RS(272, 258)
特定于端口的比特仅应用于所选配置文件中的激活端口。
FEC mode at startup
0x208 sel_25g_10g[3:0] 10GE/25GE Selection Register: 为所选配置文件中的激活端口选择10GE或者25GE模式。特定于端口的比特仅应用于所选配置文件中的激活端口。
  • 4'd0: 为端口0选择Ethernet模式
    • 0: 25GE
    • 1: 10GE
  • 4'd1: 为端口1选择Ethernet模式
    • 0: 25GE
    • 1: 10GE
  • 4'd2: 为端口2选择Ethernet模式
    • 0: 25GE
    • 1: 10GE
  • 4'd3: 为端口3选择Ethernet模式
    • 0: 25GE
    • 1: 10GE
注:
sel_25g_10g信号适用于以下特定于FPT的配置文件:
  • 100GE-4组中的4x 25GE/10GE配置文件
  • 100GE-2组中的2x 25GE/10GE配置文件
  • 25GE-1和50GE-1组中的1x 25GE/10GE配置文件
10GE Enable at startup
6 此偏移仅在Ethernet重配置 Avalon 存储器映射接口空间的端口0中可用。
7 对于10GE/25GE速率选择,请使用0x208 offset。