Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public
Document Table of Contents

5.1.7.14.1. Writing to the Indirect Addressed Registers

To write to the indirect addressed registers follow these steps:

  1. Write the data into the MAC_L3_L4_Data register.
  2. Program the following fields of the MAC_L3_L4_Address_Control register:
    1. Set the IDDR field to the required register offset address of the L3-L4 filter register.
    2. Set the TT field to 0, to indicate write operation
  3. Write 1 to the XB field of MAC_L3_L4_Address_Control register. Wait until the XB bit is reset, before initiating the next write operation. This ensures that appropriate L3-L4 filter registers is programmed correctly.
Note:
  • IDDR[8:4] specifies the filter number;0 for L3-L4 filter 0, 1 for L3-L4 filter 1, and so on.
  • IDDR[3:0] specifies the filter register of a specific L3-L4 register, as follows:
    • 0: MAC_L3_L4_Control#(i)
    • 1: MAC_Layer4_Address#(i)
    • 2-3: Reserved
    • 4: MAC_Layer3_Addr0_Reg#(i)
    • 5: MAC_Layer3_Addr1_Reg#(i)
    • 6: MAC_Layer3_Addr2_Reg#(i)
    • 7: MAC_Layer3_Addr3_Reg#(i)
    • 8-15: Reserved