![Xilinx Virtex-4 RocketIO Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/xilinx/virtex-4-rocketio/virtex-4-rocketio_user-manual_3383739071.webp)
Embedded Tri-Mode Ethernet MAC User Guide
71
UG074 (v2.2) February 22, 2010
Client Interface
R
Statistics Registers/Counters
The Ethernet MAC does not collect statistics on the success and failure of various
operations. A custom statistics counter can be implemented in the FPGA fabric to collect
the statistics. A parameterizable Ethernet statistics core is available from the LogiCORE™
libraries. For more information, see:
.
When the PowerPC 405 processor is used as a host processor, it can access the statistics
counter registers in the FPGA fabric through the DCR bridge in the host interface.
facing to an FPGA Fabric-Based Statistics Block” in Chapter 6
describes the access method.
23
FLOW_CONTROL_FRAME
Asserted if the previous frame is error-free. Contains
the special control frame identifier in the LT field.
Contains a destination address matching either the
Ethernet MAC control multicast address or the
configured source address of the Ethernet MAC.
Contains the supported PAUSE OPCODE and is acted
upon by the Ethernet MAC.
22
Reserved.
Undefined.
21
VLAN_FRAME
Asserted if the previous frame contains a VLAN
identifier in the LT field when receiver VLAN
operation is enabled.
20
OUT_OF_BOUNDS
Asserted if the previous frame exceeded the specified
IEEE Std 802.3-2002 maximum legal length (see
“Maximum Permitted Frame Length/ Jumbo Frames,”
page 55
). This is only valid if jumbo frames are
disabled.
19
CONTROL_FRAME
Asserted if the previous frame contains the special
control frame identifier in the LT field.
[18:5]
FRAME_LENGTH_COUNT
The length of the previous frame in number of bytes.
The count sticks at 16383 for any jumbo frames larger
than this value.
4
MULTICAST_FRAME
Asserted if the previous frame contains a multicast
address in the destination address field.
3
BROADCAST_FRAME
Asserted if the previous frame contained the broadcast
address in the destination address field.
2
FCS_ERROR
Asserted if the previous frame received has an
incorrect FCS value or the Ethernet MAC detects error
codes during frame reception.
1
BAD_FRAME
(1)
Asserted if the previous frame received contains errors.
0
GOOD_FRAME
(1)
Asserted if the previous frame received is error-free.
Notes:
1. If the length/type field error checks are disabled, then a frame containing this type of error is marked as a GOOD_FRAME,
providing no additional errors were detected.
Table 3-5:
Bit Definitions for the Receiver Statistics Vector
(Cont’d)
RX_STATISTICS_VECTOR
Name
Description
www.BDTIC.com/XILINX