Ethernet Subsystem Intel® FPGA IP User Guide

ID 773413
Date 4/03/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.3. F-Tile Address Maps

The following table provides a summary of the subsystem's register map, which includes the IP register map and an optional placeholder. Note that an address offset is assigned even for optional block(s).
Table 48.  F-Tile Register Map for Port Enabled with Ethernet Protocol
Base Address Block End Address
Subsystem
0x000_0000 Subsystem CSR 0x000_FFFF
0x001_0000 ANLT 0x0001_4FFF
0x002_0000 PTP Tile Adapter 0x0005_FFFF
  Port 0 (Quad 0 FGT 0)
0x020_0000 EHIP – Ethernet Reconfiguration 0x020_FFFF
0x026_1000 PTP Packet Classifier 0x026_11FF
0x030_0000 PHY- XCVR Reconfiguration 0x3F_FFFF
  Port 1 (Quad 0 FGT 1)
0x040_0000

EHIP – Ethernet Reconfiguration

0x040_FFFF
0x046_1000 PTP Packet Classifier 0x046_11FF
0x050_0000 PHY- XCVR Reconfiguration 0x05F_FFFF
  Port 2 (Quad 0 FGT 2)
0x060_0000 EHIP – Ethernet Reconfiguration 0x060_FFFF
0x066_1000 PTP Packet Classifier 0x066_11FF
0x070_0000 PHY- XCVR Reconfiguration 0x07F_FFFF
  Port 3 (Quad 0 FGT 3)
0x080_0000 EHIP – Ethernet Reconfiguration 0x080_FFFF
0x086_1000 PTP Packet Classifier 0x086_11FF
0x090_0000 PHY- XCVR Reconfiguration 0x09F_FFFF
  Port 4 (Quad 1 FGT 0)
0x0A0_0000 EHIP – Ethernet Reconfiguration 0x0A0_FFFF
0x0A6_1000 PTP Packet Classifier 0x0A6_11FF
0x0B0_0000 PHY- XCVR Reconfiguration 0x0BF_FFFF
  Port 5 (Quad 1 FGT 1)
0x0C0_0000 EHIP – Ethernet Reconfiguration 0x0C0_FFFF
0x0C6_1000 PTP Packet Classifier 0x0C6_11FF
0x0D0_0000 PHY- XCVR Reconfiguration 0x0DF_FFFF
  Port 6 (Quad 1 FGT 2)
0x0E0_0000 EHIP – Ethernet Reconfiguration 0x0E0_FFFF
0x0E6_1000 PTP Packet Classifier 0x0E6_11FF
0x0F0_0000 PHY- XCVR Reconfiguration 0x0FF_FFFF
  Port 7 (Quad 1 FGT 3)
0x100_0000 EHIP – Ethernet Reconfiguration 0x100_FFFF
0x106_1000 PTP Packet Classifier 0x106_11FF
0x110_0000 PHY- XCVR Reconfiguration 0x11F_FFFF
  Port 8 (Quad 2 FGT 0)
0x120_0000 EHIP – Ethernet Reconfiguration 0x120_FFFF
0x126_1000 PTP Packet Classifier 0x126_11FF
0x130_1000 PHY- XCVR Reconfiguration 0x13F_FFFF
  Port 9 (Quad 2 FGT 1)
0x140_0000 EHIP – Ethernet Reconfiguration 0x140_FFFF
0x146_1000 PTP Packet Classifier 0x146_11FF
0x150_1000 PHY- XCVR Reconfiguration 0x15F_FFFF
  Port 10 (Quad 2 FGT 2)
0x160_0000 EHIP – Ethernet Reconfiguration 0x160_FFFF
0x166_1000 PTP Packet Classifier 0x166_11FF
0x170_0000 PHY- XCVR Reconfiguration 0x17F_FFFF
  Port 11 (Quad 2 FGT 3)
0x180_0000 EHIP – Ethernet Reconfiguration 0x180_FFFF
0x186_1000 PTP Packet Classifier 0x186_11FF
0x190_0000 PHY- XCVR Reconfiguration 0x19F_FFFF
  Port 12 (Quad 3 FGT 0)
0x1A0_0000 EHIP – Ethernet Reconfiguration 0x1A0_FFFF
0x1A6_1000 PTP Packet Classifier 0x1A6_11FF
0x1B0_0000 PHY- XCVR Reconfiguration 0x1BF_FFFF
  Port 13 (Quad 3 FGT 1)
0x1C0_0000 EHIP – Ethernet Reconfiguration 0x1C0_FFFF
0x1C6_1000 PTP Packet Classifier 0x1C6_110FF
0x1D0_0000 PHY- XCVR Reconfiguration 0x1DF_FFFF
  Port 14 (Quad 3 FGT 2)
0x1E0_0000 EHIP – Ethernet Reconfiguration 0x1E0_FFFF
0x1E6_1000 PTP Packet Classifier 0x1E6_11FF
0x1F0_0000 PHY- XCVR Reconfiguration 0x1FF_FFFF
  Port 15 (Quad 3 FGT 3)
0x200_0000 EHIP – Ethernet Reconfiguration 0x200_FFFF
0x206_1000 PTP Packet Classifier 0x206_11FF
0x210_0000 PHY- XCVR Reconfiguration 0x21F_FFFF
  Port 16 ( FHT 0)
0x220_0000 EHIP – Ethernet Reconfiguration 0x220_FFFF
0x226_1000 PTP Packet Classifier 0x226_11FF
0x230_0000 PHY- XCVR Reconfiguration 0x23F_FFFF
  Port 17 ( FHT 1)
0x240_0000 EHIP – Ethernet Reconfiguration 0x240_FFFF
0x246_1000 PTP Packet Classifier 0x246_11FF
0x250_0000 PHY- XCVR Reconfiguration 0x25F_FFFF
  Port 18 ( FHT 2)
0x260_0000 EHIP – Ethernet Reconfiguration 0x260_FFFF
0x266_1000 PTP Packet Classifier 0x266_11FF
0x270_0000 PHY- XCVR Reconfiguration 0x27F_FFFF
  Port 19 ( FHT 3)
0x280_0000 EHIP – Ethernet Reconfiguration 0x280_FFFF
0x286_1000 PTP Packet Classifier 0x286_11FF
0x290_0000 PHY- XCVR Reconfiguration 0x29F_FFFF
The following table shows the F-Tile Ethernet Reconfiguration Avalon Memory-Mapped address ranges.
Table 49.  F-Tile Ethernet Reconfiguration Avalon® Memory-Mapped Address Ranges
Register Type Address Range
F-Tile AIB Config 0x0000 – 0x00FC
Soft CSRs 0x0100 – 0x0FFC
EHIP Registers 0x1000 – 0x5FFC
FEC/XCVRIF Registers 0x6000 – 0x9FFC

The Ethernet Reconfiguration interface provides access to the EHIP Avalon® memory-mapped address space for the local EHIP fracture, including MAC, PCS, FEC and XCVRIF, as well as soft CSRs implemented in the FPGA fabric. The layout of this register space is described in more detail in the F-tile Hard IP for Ethernet User Guide. All addresses in this section are byte addresses, although the registers described are always accessed on 32-bit boundaries.

The EHIP and FEC/XCVRIF Registers spaces are mapped differently for different ethernet modes (10g/25g, 50g, 40g/100g, 200g, 400g) and are described in theF-Tile Ethernet Intel FPGA Hard IP Register Map.

Table 50.  F-tile Ethernet Base Address Ranges
Ethernet Mode eth_reconfig Base Address
10g/25g 0x1000
50g 0x2000
40g/100g 0x3000
200g 0x4000
400g 0x5000

The following table shows the F-tile CSR address (Section 8 in F-Tile Ethernet Intel® FPGA Hard IP User Guide) mapping for channel 0/Quad 0 FGT 0. The CSR address mapping for different channels share the same byte offset. For example, channel 0 base address starts at 0x020_0000, and channel 8 base address is 0x120_0000. You can directly add the CSR byte offset address with base address of the channel to obtain the CSR address on particular channel. The CSR address is in byte offset, so the offset is directly added to base address without multiplication. To access this register, you must write bits 2-25 of this calculated address to the HSSI Control/Address CSR with the set_csr SAL command.

Table 51.  F-tile CSR Address
Base Address Byte Offset Descriptions Configuration
Channel 0 (Quad 0 FGT 0) -
0x020_0000 (EHIP – Ethernet Reconfiguration) 0x0000 – 0x00FC F-Tile AIB Config -
0x0100 – 0x0FFC Soft CSRs
0x1000 (10GE/25GE) 0x000-0x07C PCS Configuration
0x080-0x1FC PCS Status
0x200-0x7FC MAC/PTP Configuration
0x800-0xFFC MAC/PTP Statistics
0x2000 (50GE) Same as above Same as above
0x3000 (40GE/100GE) Same as above Same as above
0x4000 (200GE) Same as above Same as above
0x5000 (400GE) Same as above Same as above
0x020_0000 (FEC/XCVR – Ethernet Reconfiguration) eth_reconfig Base Address Offset Address FEC/XCVRIF Lane Segment
0x6000 (25g) 0x000 - 0x0BC (Transceiver Interface Control ) segment 0
0x0C0 - 0x0FC (FEC Configuration )
0x100 - 0x13C (Transceiver Status)
0x140 - 0x1FC (FEC Status )
0x6200 (50g) Same as above segment 0
0x6400 (50g) Same as above segment 1
0x6600 (100g) Same as above segment 0
0x6800 (100g) Same as above segment 1
0x6A00 (100g) Same as above segment 2
0x6C00 (100g) Same as above segment 3
0x6E00 (200g) Same as above segment 0
0x7000 (200g) Same as above segment 1
0x7200 (200g) Same as above segment 2
0x7400 (200g) Same as above segment 3
0x7600 (200g) Same as above segment 4
0x7800 (200g) Same as above segment 5
0x7A00 (200g) Same as above segment 6
0x7C00 (200g) Same as above segment 7
0x7E00 (400g) Same as above segment 0
0x8000 (400g) Same as above segment 1
0x8200 (400g) Same as above segment 2
0x8400 (400g) Same as above segment 3
0x8600 (400g) Same as above segment 4
0x8800 (400g) Same as above segment 5
0x8A00 (400g) Same as above segment 6
0x8C00 (400g) Same as above segment 7
0x8E00 (400g) Same as above segment 8
0x9000 (400g) Same as above segment 9
0x9200 (400g) Same as above segment 10
0x9400 (400g) Same as above segment 11
0x9600 (400g) Same as above segment 12
0x9800 (400g) Same as above segment 13
0x9A00 (400g) Same as above segment 14
0x9C00 (400g) Same as above segment 15
0x020_A000 (Reserved) - Reserved -
0x021_1000 (PTP Packet Classifier) - PTP Packet Classifier -
0x024_0000 (PHY – XCVR Reconfiguration) - PHY – XCVR Reconfiguration -

The following example shows CSR access decoding.

Assuming you would like to access Tx MAC Link Fault Config register (For details, refer to F-tile Hard IP for Ethernet Register Map) for Agilex F-tile channel 8.

Tx MAC Link Fault Config register byte offset = 0x1200

F-tile transceiver channel 8 base address = 0x1200000

AXI-Lite CSR read request address = 0x405*4 + 0x1200000 = 0x1201014 (byte addressing)

This request will be decoded and routed to Ethernet Reconfiguration interface for processing.

Table 52.  Ethernet Reconfiguration Interface Register Base Addresses (F-tile)
Ethernet Mode FEC/XCVRIF Lane Segment eth_reconfig Base Address
25g s0 0x6000
50g s0 0x6200
s1 0x6400
100g s0 0x6600
s1 0x6800
s2 0x6A00
s3 0x6C00
200g s0 0x6E00
s1 0x7000
s2 0x7200
s3 0x7400
s4 0x7600
s5 0x7800
s6 0x7A00
s7 0x7C00
400g s0 0x7E00
s1 0x8000
s2 0x8200
s3 0x8400
s4 0x8600
s5 0x8800
s6 0x8A00
s7 0x8C00
s8 0x8E00
s9 0x9000
s10 0x9200
s11 0x9400
s12 0x9600
s13 0x9800
s14 0x9A00
s15 0x9C00