58
Embedded Tri-Mode Ethernet MAC User Guide
UG074 (v2.2) February 22, 2010
Chapter 3:
Client, Host, and MDIO Interfaces
R
Address Filtering
The address filtering block accepts or rejects frames by examining the destination address
of an incoming frame. This block includes:
•
Programmable unicast destination address matching
•
Four programmable multicast address matching
•
Broadcast address recognition (
0xFFFF_FFFF_FFFF
)
•
Optional pass-through mode with address filter disabled (promiscuous mode)
•
Pause control frame address recognition (
0x0100_00C2_8001
)
The Address Filter (AF) protects the client from extraneous traffic. With this technique, the
hardware matches the Destination Address (DA) field of the Ethernet MAC frame. This
relieves the task from the bus and software.
The AF is programmed in software through the host interface. Typically this includes
unicast and multicast addresses. Pause-frame addresses and broadcast address are
hardwired; they do not need to be programmed. The AF can be enabled and disabled
under software control, using an enable bit in the control register. See
for the control register.
When the function is enabled, Ethernet frames are passed to the client interface only if they
pass the filter. When the AF function is disabled, all incoming RX frames are passed to the
client interface.
For system monitoring, the event of a frame failing the filter is signaled. Equally, when a
frame passes the filter, a match is indicated to the client by using the output pins
EMAC#CLIENTRXDVLD and EMAC#CLIENTRXFRAMEDROP together.
shows the values of the two signals for possible outcomes of an incoming RX frame when
the AF is enabled.
shows the two signal values when the AF is disabled (in
promiscuous mode).
When the AF is enabled, it is impossible to determine if there is an incoming RX frame or
if the AF has rejected incoming RX frames (using only EMAC#CLIENTRXDVLD) because
in both cases, the EMAC#CLIENTRXDVLD is deasserted. See
. However, using
the EMAC#CLIENTRXFRAMEDROP signal, the nature of an incoming RX frame can be
distinguished for system monitoring.
Table 3-2:
EMAC#CLIENTRXDVLD and EMAC#CLIENTRXFRAMEDROP Values When AF is Enabled
EMAC#CLIENTRXDVLD
EMAC#CLIENTRXFRAMEDROP
Result of an Incoming RX Frame
0
0
No incoming RX frame
0
1
AF rejects RX frame
1
0
AF passes RX frame
1
1
N/A
Table 3-3:
EMAC#CLIENTRXDVLD and EMAC#CLIENTRXFRAMEDROP Values When AF is Disabled
EMAC#CLIENTRXDVLD
EMAC#CLIENTRXFRAMEDROP
Result of an Incoming RX Frame
0
0
No incoming RX frame
0
1
N/A
1
0
AF passes RX frame
1
1
AF rejects RX frame
www.BDTIC.com/XILINX