User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 506
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
register) which causes the Pause Time register to decrement every rx_clk cycle once 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.
PFC Pause Frame Transmission
Automatic transmission of pause frames is supported through the transmit priority based pause
frame bit of the Network Control register and from the external input pins tx_pause,
tx_pfc_pause[7:0], tx_pfc_pause_zero[7:0], and tx_pfc_sel. If bit 17 of the Network Control register is
written with logic 1, or if the input signal tx_pause is toggled when tx_pfc_sel is High, a PFC 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. When bit 17 of the Network Control
register is set, the fields of the priority based pause frame are built using the values stored in the
Transmit PFC Pause 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 01-01
A priority enable vector taken from tx_pfc_pause or the Transmit PFC Pause register
Eight pause quantum registers
Fill of 00 to take the frame to minimum frame length
•Valid FCS
The Pause Quantum registers used in the generated frame depend on the trigger source for the
frame as follows:
If bit [17] of the Network Control register is written with a one then the priority enable vector of
the priority based pause frame is set equal to the value stored in the Transmit PFC Pause register
[7:0]. For each entry equal to zero in the Transmit PFC Pause register[15:8], the pause quantum
field of the pause frame associated with that entry is taken from the Transmit Pause Quantum
register. For each entry equal to one in the Transmit PFC Pause register[15:8], the pause
quantum associated with that entry is zero.
The Transmit Pause Quantum register resets to a value of 0xFFFF giving maximum pause
quantum as default.
If the tx_pause input is toggled and tx_pfc_sel is High then the priority enable vector of the
priority based pause frame is set equal to the value in tx_pfc_pause [7:0]. For each entry equal to
zero in tx_pfc_pause_zero[7:0], the pause quantum field of the pause frame associated with that
entry is taken from the Transmit Pause Quantum register. For each entry equal to one in
tx_pfc_pause_zero [7:0], the pause quantum associated with that entry is zero.