User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 485
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
[23]) in the receive buffer descriptor status are set indicating which type ID register generated the
match, if the receive checksum offload is disabled.
The reset state of the type ID registers is zero, hence each is initially disabled.
The following example illustrates the use of the address and type ID match registers for a MAC
address of 21:43:65:87:A9:CB
Preamble 55
SFD D5
DA (Octet 0 - LSB) 21
DA (Octet 1) 43
DA (Octet 2) 65
DA (Octet 3) 87
DA (Octet 4) A9
DA (Octet 5 - MSB) CB
SA (LSB) 00
*
SA 00
*
SA 00
*
SA 00
*
SA 00
*
SA (MSB) 00
*
Type ID (MSB) 43
Type ID (LSB) 21
Note:
*
contains the address of the transmitting device.
The sequence above shows the beginning of an Ethernet frame. Byte order of transmission is from
top to bottom as shown. For a successful match to specific address 1, the following address matching
registers must be set up:
Specific address 1 bottom (Address 0x088) 0x87654321
Specific address 1 top (Address 0x08C) 0x0000CBA9
And for a successful match to the type ID, the following type ID match 1 register must be set up:
Type ID Match 1 (Address 0x0A8) 0x80004321
Broadcast Address
Frames with the broadcast address of 0xFFFFFFFFFFFF are stored to memory only if the 'no
broadcast' bit in the Network Configuration register is set to zero.
Hash Addressing
The Hash Address register is 64 bits long and takes up two locations in the memory map. The least
significant bits are stored in Hash register bottom and the most significant bits in Hash register top.
The unicast hash enable and the multicast hash enable bits in the Network Configuration register
enable the reception of hash matched frames. The destination address is reduced to a 6 bit index into
the 64 bit hash register using the following hash function. The hash function is an XOR of every sixth
bit of the destination address.