User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1284
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register (GEM) rx_qbar
Register rx_qbar Details
This register holds the start address of the receive buffer queue (receive buffers descriptor list). The receive
buffer queue base address must be initialized before receive is enabled through bit 2 of the network control
register. Once reception is enabled, any write to the receive buffer queue base address register is ignored.
Reading this register returns the location of the descriptor currently being accessed. This value increments
as buffers are used. Software should not use this register for determining where to remove received frames
from the queue as it constantly changes as new frames are received. Software should instead work its way
through the buffer descriptor queue checking the 'used' bits.
The descriptors should be aligned at 32-bit boundaries and the descriptors are written to using two
individual non sequential accesses.
retry_limit_exceeded
(RXOVR)
2 wtc 0x0 Retry limit exceeded - cleared by writing a one to
this bit.
collision
(FRAMERX)
1 wtc 0x0 Collision occurred - set by the assertion of
collision.
Cleared by writing a one to this bit. When
operating in 10/100 mode, this status indicates
either a collision or a late collision. In gigabit
mode, this status is not set for a late collision.
used_bit_read
(USEDREAD)
0 wtc 0x0 Used bit read - set when a transmit buffer
descriptor is read with its used bit set. Cleared by
writing a one to this bit.
Name rx_qbar
Software Name XEMACPS_RXQBASE
Relative Address 0x00000018
Absolute Address gem0: 0xE000B018
gem1: 0xE000C018
Width 32 bits
Access Type mixed
Reset Value 0x00000000
Description Receive Buffer Queue Base Address
Field Name Bits Type Reset Value Description
Field Name Bits Type Reset Value Description
rx_q_baseaddr 31:2 rw 0x0 Receive buffer queue base address - written with
the
address of the start of the receive queue.
reserved 1:0 ro 0x0 Reserved, read as 0, ignored on write.