Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 11/27/2024
Public

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

Document Table of Contents

5.1.7.13. Setting up Extended VLAN Filtering

For the indirect access of the per VLAN tag registers, follow these steps:
  • Write:
    • Write the required data into the MAC VLAN tag data register.
    • Program the VLAN Tag control register's OFS field with the required filter register's offset and command type to the CT field. For a write command, set this bit to 0.
    • Write 1 to the OB field and wait till the OB bit is reset to do the next write. This guarantees that the appropriate VLAN tag filter register has been programmed.
  • Read:
    • Program the VLAN tag control register's OFS field with the required register's offset and command type to the CT field. For a read command, set this bit to 1.
    • Write 1 to the OB field and wait till the OB bit is reset. The appropriate VLAN tag filter register's value is available in the MAC VLAN tag data register.