VLAN TPID Word 0 Register - 7.2 English

AXI 1G/2.5G Ethernet Subsystem Product Guide (PG138)

Document ID
PG138
Release Date
2023-11-15
Version
7.2 English

The VLAN TPID Word 0 (TPID0) register is shown in the following figure. This register is only used when transmit and/or receive VLAN functions are included in the subsystem at build-time (C_TXVLAN_TAG = 1 and/or C_RXVLAN_TAG = 1 and/or C_TXVLAN_STRP= 1 and/or C_RXVLAN_STRP= 1 and/or C_TXVLAN_TRAN = 1 and/or C_RXVLAN_TRAN = 1). This register and the following register allow four TPID values to be specified for recognizing VLAN frames for both the transmit and receive paths. The most common values for VLAN TPID are 0x8100, 0x9100, 0x9200, and 0x88A8. See Extended VLAN Support for more information about extended VLAN functions.

Figure 1. VLAN TPID Word 0 Register (0x0000_0028) AXI Ethernet Page-1 Sheet.2 Sheet.3 TPID value 0 TPID value 0 Sheet.4 TPID value 1 TPID value 1 Sheet.5 MSB MSB Sheet.6 LSB LSB Sheet.7 Sheet.8 15 15 Sheet.9 0 0 Sheet.10 16 16 Sheet.11 31 31 Sheet.13 X14036 X14036

The following table shows the VLAN TPID Word 0 register bit definitions.

Table 1. VLAN TPID Word 0 Register (0x0000_0028)
Bits Name Access Reset Value Description
31:16 TPID value 1 R/W 0x0 TPID Value 1: These bits represent one TPID value that is used for recognizing VLAN frames for both the transmit and receive paths.
15:0 TPID value 0 R/W 0x0 TPID Value 0: These bits represent one TPID value that is used for recognizing VLAN frames for both the transmit and receive paths.