English
Language : 

DS80C410 Datasheet, PDF (67/102 Pages) Dallas Semiconductor – Network Microcontrollers with Ethernet and CAN
DS80C410/DS80C411 Network Microcontrollers with Ethernet and CAN
Multicast Hash Filter
Hash filtering of destination addresses requires that a hash table be established. The hash table must be
programmed into the CSR multicast address low and multicast address high registers. When hash filtering has
been selected, the 6 bytes of the destination address are passed through the internal CRC-32 logic. The most
significant 6 bits of the resultant CRC-32 are used to index into the hash table. From those 6 bits, the most
significant bit determines whether multicast address high or low is used, while the lower 5 bits provide the bit index
into the selected CSR register. If the multicast address high or low register bit indexed by the upper 6 bits of the
CRC-32 is programmed to 1, then the destination address passes. Figure 9 shows the hash filtering process.
Figure 9. Hash Table Index Generation
PREAMBLE SFD
ETHERNET FRAME
DESTINATION ADDRESS SOURCE ADDRESS TYPE/LENGTH
DATA
CRC-32
CRC-32 GENERATOR
POLYNOMIAL
CRC-32 OF DESTINATION ADDRESS BYTES
... ...
BIT INDEX
00000b: bit 0
00001b: bit 1
.
.
11110b: bit 30
11111b: bit 31
MULTICAST REGISTER SELECT
0: Multicast Address Low
1: Multicast Address High
VLAN Support
The DS80C410 offers VLAN support through recognition of frames that are tagged as such. Each VLAN tag
provides tag control information (TCI) containing a tag protocol ID (TPID) and VLAN ID. The incoming TPID occupy
the 13th and 14th byte positions, those that would normally contain either the length or type field for the frame. The
TPID is compared against the VLAN1 (20h) and VLAN2 (24h) CSR registers.
If a non-zero match occurs between the TPID and VLAN1 register setting, the frame is recognized as having a
VLAN1 tag. For VLAN1 tagged frames, the TPID is followed by 2 Bytes containing the VLAN ID; therefore, the
MAC extends the maximum legal frame length by a total of 4 Bytes (TPID = 2 Bytes, VLAN ID = 2 Bytes).
If a non-zero match occurs between the TPID and VLAN2 register setting, the frame is recognized as having a
VLAN2 tag. For VLAN2 tagged frames, the TPID is followed by 18 Bytes containing the VLAN ID; therefore, the
MAC extends the maximum legal frame length by a total of 20 Bytes (TPID = 2 Bytes, VLAN ID = 18 Bytes).
Figure 10. VLAN Tagged Frame
PREAMBLE SFD DESTINATION ADDRESS
ETHERNET FRAME
SOURCE ADDRESS TYPE/LENGTH
DATA
CRC-32
(7)
(1)
(6)
(6)
(2)
(46-1500)
(4)
TCI
TPID
(2)
VLAN ID
(2: VLAN1)
(18: VLAN2)
67 of 102