User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 504
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
Pause frames that have FCS or other errors are treated as invalid and are discarded. 802.3 Pause
frames that are received after priority based flow control (PFC) has been negotiated are also
discarded. Valid pause frames received increment the Pause Frames Received Statistic register.
The Pause Time register decrements every 512 bit times once transmission has stopped. For test
purposes, the retry test bit can be set (bit [12] in the Network Configuration register) which causes
the Pause Time register to decrement every tx_clk cycle when transmission has stopped.
The interrupt (bit [13] in the Interrupt Status register) is asserted whenever the pause time register
decrements to zero (assuming it has been enabled by bit [13] in the Interrupt Mask register). This
interrupt is also set when a zero quantum pause frame is received.
802.3 Pause Frame Transmission
Automatic transmission of pause frames is supported through the transmit pause frame bits of the
Network Control register and from the external input pins tx_pause, tx_pause_zero and tx_pfc_sel. If
either bit [11] or bit [12] of the Network Control register is written with logic 1, or if the input signal
tx_pause is toggled when tx_pfc_sel is Low, an 802.3 pause frame is transmitted providing full duplex
is selected in the Network Configuration register and the transmit block is enabled in the Network
Control register.
Pause frame transmission occurs immediately if transmit is inactive or if transmit is active between
the current frame and the next frame due to be transmitted.
Transmitted pause frames comprise of the following:
A destination address of 01-80-C2-00-00-01
A source address taken from Specific Address register 1
•A type ID of 88-08 (MAC control frame)
A pause opcode of 00-01
A pause quantum register
Fill of 00 to take the frame to minimum frame length
•Valid FCS
The pause quantum used in the generated frame depends on the trigger source for the frame as
follows:
If bit [11] is written with a one, the pause quantum is taken from the Transmit Pause Quantum
register. The Transmit Pause Quantum register resets to a value of 0xFFFF giving maximum
pause quantum as the default.
If bit [12] is written with a one, the pause quantum is zero.
If the tx_pause input is toggled, tx_pfc_sel is Low and the tx_pause_zero input is held Low until
the next toggle, the pause quantum is taken from the Transmit Pause Quantum register.
If the tx_pause input is toggled, tx_pfc_sel is Low and the tx_pause_zero input is held High until
the next toggle, the pause quantum is zero.
After transmission, a pause frame transmitted interrupt is generated (bit [14] of the Interrupt Status
register) and the only statistics register that is incremented is the Pause Frames Transmitted register.