10GBASE-KR Ethernet TRD
69
UG1058 (v2017.1) April 19, 2017
Chapter 5:
Reference Design Details
User Control and Status Registers
The user selections made in the Ethernet controller application are passed to the Traffic
Generator and Monitor using this block. An AXI4-Lite interface is required for the
MicroBlaze processor subsystem to execute reads (status) and writes (control) to this block.
The AXI4-Lite IP Interface (IPIF) is instantiated in the design to read and write to a register
map file (see the
Providing an AXI4-Lite slave interface provides the flexibility of using this module in other
designs. To reuse this block, the control and status signals into the register map must be
changed.
Appendix C, User-Space Registers
describes the registers implemented in the
Traffic Generator and Monitor block.
shows the user register interface.
rx_axis_tkeep[7:0]
The receive keep signal is used to determine which data bytes are valid
on rx_axis_tdata during a given beat (this signal is valid only if
tx_axis_tvalid and tx_axis_tready are both asserted).
rx_axis_tlast
Input
End of frame indicator on received packets. Valid only along with
asser-tion of rx_axis_tvalid.
rx_axis_tvalid
Input
Source ready to provide data. Indicates that the MAC is presenting valid
data on rx_axis_tdata.
rx_axis_tuser
Input
If asserted indicates a good packet is received.
rx_axis_tready
Output
Destination ready for receive. Indicates that the loopback is ready to
accept data on rx_axis_tdata.
The simultaneous assertion of rx_axis_tvalid and rx_axis_tready marks
the successful transfer of one data beat on rx_axis_tdata.
The 10-Gigabit Ethernet MAC IP core doesn't look at this signal and
sends received data whenever available.
Performance Statistics Ports
tx_byte_count
Output
Number of bytes transmitted in one second.
tx_pkt_count
Output
Number of packets transmitted in one second.
rx_byte_count
Output
Number of bytes received in one second.
rx_pkt_count
Output
Number of packets received in one second.
Table 5-3:
Ethernet Performance Monitor Parameters and Ports
(Cont’d)
Port/Parameter Name
Type
Description
X-Ref Target - Figure 5-3
Figure 5-3:
User Register Interface
AXI4-Lite to IPIF
AXI-4 Lite transactions
to and from the
MicroBlaze Processor
Status: Performance, PHY
status, etc.
Control: Internal traffic generator
selection, payload size, etc.
Status and Control
Register Map
X18481-120716