4.1.6. set_csr for E-Tile (0x5)
For base addresses, refer to Register Descriptions.
For register map of E-tile Hard IP for Ethernet Hard IP, refer to Port Registers.
You need to multiply the register address in word offset by four then add the base address of the channel to obtain the CSR address on that channel. If the CSR address is in byte offset (for example PTP registers), the offset is directly added to base address without multiplication. To access these registers, the software will write bit [25:2] of the calculated address to HSSI Control/Address Register with set_csr SAL command.
Example on accessing Subsystem IP register:
To access TX MAC Link Fault Configuration register of Port 4:
TX MAC Link Fault Configuration register word offset = 0x405
Base address of Port 4 = 0x120_0000
AXI-Lite CSR read request address = 0x405*4 + 0x120_0000 = 0x120_1014 (byte addressing)
Write bit [25:2] of the calculated address to HSSI Control/Address Register Address field = 0x120_1014 / 4 = 0x48_0405
Did you find the information on this page useful?