network_control (GEM) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

network_control (GEM) Register Description

Register Namenetwork_control
Offset Address0x0000000000
Absolute Address 0x00FF0B0000 (GEM0)
0x00FF0C0000 (GEM1)
0x00FF0D0000 (GEM2)
0x00FF0E0000 (GEM3)
Width32
TypemixedMixed types. See bit-field details.
Reset Value0x00000000
DescriptionThe network control register contains general MAC control functions for both receiver and transmitter.

network_control (GEM) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
Reserved31:26roRead-only0x0Reserved, read as zero, ignored on write.
Reserved25rwNormal read/write0x0Reserved. Writeable register. Ignore on read.
one_step_sync_mode24rwNormal read/write0x01588 One Step Sync Mode. Write 1 to enable. Replace timestamp field in the 1588 header for TX Sync Frames with current TSU timer value.
ext_tsu_port_enable23rwNormal read/write0x0External TSU timer port enable (1 = enable)
Note: This bit is only valid for GEM 0.
store_udp_offset22rwNormal read/write0x0Store UDP / TCP offset to memory. Setting this bit to one will cause the upper 16-bits of the CRC of every received frame to be replaced with the offset from start of frame to the beginning of the UDP or TCP header. The lower 16-bits of the CRC are replaced with zero and reserved for future use. The offset is measured in units of 2 bytes. Set to zero for normal operation.
alt_sgmii_mode21rwNormal read/write0x0Alternative sgmii mode. If asserted with sgmii_mode in the network control register the ACK bit is driven before ability detect during transfer of status information from the PHY to the MAC.
ptp_unicast_ena20rwNormal read/write0x0Enable detection of unicast PTP unicast frames.
tx_lpi_en19rwNormal read/write0x0Enable LPI transmission when set LPI (low power idle) is immediately transmitted
flush_rx_pkt_pclk18rwNormal read/write0x0Flush the next packet from the external RX DPRAM. Writing one to this bit will only have an effect if the DMA is not currently writing a packet already stored in the DPRAM to memory.
Self clearing register.
transmit_pfc_priority_based_pause_frame17woWrite-only0x0Write a one to transmit PFC priority based pause frame. Takes the values stored in the Transmit PFC Pause Register. Self clearing register.
pfc_enable16rwNormal read/write0x0Enable PFC Priority Based Pause Reception capabilities. Setting this bit will enable PFC negotiation and recognition of priority based pause frames.
store_rx_ts15rwNormal read/write0x0Store receive time stamp to memory. Setting this bit to one will cause the CRC of every received frame to be replaced with the value of the nanoseconds field of the 1588 timer that was captured as the receive frame passed the message time stamp point. Set to zero for normal operation.
Reserved14:13roRead-only0x0Reserved, read as zero, ignored on write.
tx_pause_frame_zero12woWrite-only0x0Transmit zero quantum pause frame - writing one to this bit causes a pause frame with zero quantum to be transmitted. Self clearing register.
tx_pause_frame_req11woWrite-only0x0Transmit pause frame - writing one to this bit causes a pause frame to be transmitted. Self clearing register.
tx_halt_pclk10rwNormal read/write0x0Transmit halt - writing one to this bit halts transmission as soon as any ongoing frame transmission ends. Self clearing register.
tx_start_pclk 9rwNormal read/write0x0Start transmission - writing one to this bit starts transmission. Self clearing register.
back_pressure 8rwNormal read/write0x0Back pressure if set in 10M or 100M half duplex mode will force collisions on all received frames. Ignored in gigabit half duplex mode.
stats_write_en 7rwNormal read/write0x0Write enable for statistics registers - setting this bit to one means the statistics registers can be written for functional test purposes.
inc_all_stats_regs 6rwNormal read/write0x0Incremental statistics registers - this bit is write only. Writing a one increments all the statistics registers by one for test purposes. Self clearing register.
clear_all_stats_regs 5rwNormal read/write0x0Clear statistics registers - this bit is write only. Writing a one clears the statistics registers. Self clearing register.
man_port_en 4rwNormal read/write0x0Management port enable - set to one to enable the management port. When zero forces mdio to high impedance state and mdc low.
enable_transmit 3rwNormal read/write0x0Transmit enable - when set, it enables the GEM transmitter to send data. When reset transmission will stop immediately, the transmit pipeline and control registers will be cleared and the transmit queue pointer register will reset to point to the start of the transmit descriptor list.
enable_receive 2rwNormal read/write0x0Receive enable - when set, it enables the GEM to receive data. When reset frame reception will stop immediately and the receive pipeline will be cleared. The receive queue pointer register is unaffected.
loopback_local 1rwNormal read/write0x0Loopback local - asserts the loopback_local signal to the system clock generator. Also connects txd to rxd, tx_en to rx_dv and forces full duplex mode. Bit 11 of the network configuration register must be set low to disable TBI mode when in internal loopback. rx_clk and tx_clk may malfunction as the GEM is switched into and out of internal loopback. It is important that receive and transmit circuits have already been disabled when making the switch into and out of internal loopback. Local loopback functionality is optional and may not be supported by some instantiations of the GEM.
loopback 0rwNormal read/write0x0Reserved (loopback output signal is not implemented)