Altera cyclone V Technical Reference page 1578

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

cv_5v4
2016.10.28
VLAN_Hash_Table_Reg
The 16-bit Hash table is used for group address filtering based on VLAN tag when Bit 18 (VTHM) of
Register 7 (VLAN Tag Register) is set. For hash filtering, the content of the 16-bit VLAN tag or 12-bit
VLAN ID (based on Bit 16 (ETV) of VLAN Tag Register) in the incoming frame is passed through the
CRC logic and the upper four bits of the calculated CRC are used to index the contents of the VLAN Hash
table. For example, a hash value of 4b'1000 selects Bit 8 of the VLAN Hash table. The hash value of the
destination address is calculated in the following way: 1. Calculate the 32-bit CRC for the VLAN tag or ID
(See IEEE 802.3, Section 3.2.8 for the steps to calculate CRC32). 2. Perform bitwise reversal for the value
obtained in Step 1. 3. Take the upper four bits from the value obtained in Step 2. If the corresponding bit
value of the register is 1'b1, the frame is accepted. Otherwise, it is rejected. Because the Hash Table register
is double-synchronized to the (G)MII clock domain, the synchronization is triggered only when Bits[15:8]
(in little-endian mode) or Bits[7:0] (in big-endian mode) of this register are written. Notes: * Because of
double-synchronization, consecutive writes to this register should be performed after at least four clock
cycles in the destination clock domain.
Module Instance
emac0
emac1
Offset:
0x588
Access:
RW
Important: To prevent indeterminate system behavior, reserved areas of memory must not be accessed by
31
30
15
14
VLAN_Hash_Table_Reg Fields
Bit
15:0
vlht
Timestamp_Control
This register controls the operation of the System Time generator and the processing of PTP packets for
timestamping in the Receiver.
Ethernet Media Access Controller
Send Feedback
0xFF700000
0xFF702000
software or hardware. Any area of the memory map that is not explicitly defined as a register
space or accessible memory is considered reserved.
29
28
27
26
13
12
11
10
Name
This field contains the 16-bit VLAN Hash Table.
Base Address
Bit Fields
25
24
23
22
Reserved
9
8
7
6
vlht
RW 0x0
Description
VLAN_Hash_Table_Reg
Register Address
0xFF700588
0xFF702588
21
20
19
18
5
4
3
2
Access
17-363
17
16
1
0
Reset
RW
0x0
Altera Corporation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents