Normal Frame Receive - Normal Frame Receive - 3.0 English - PG314

Versal Devices Integrated 100G Multirate Ethernet MAC Subsystem Product Guide (PG314)

Document_ID
PG314
Release_Date
2024-11-13
Version
3.0 English
The timing of a normal inbound frame transfer is represented in the following figure. The client must be prepared to accept data at any time. There is no buffering within the core to allow for latency in the receive client. When frame reception begins, data is transferred on consecutive clock cycles to the receive client.
Figure 1. AXI4-Stream Non-Segmented Normal Frame Receive

During frame reception, rx_axis_tvalid is asserted to indicate that valid frame data is being transferred to the client on rx_axis_tdata. All bytes are always valid throughout the frame, as indicated by all rx_axis_tkeep bits being set to 1, except during the final transfer of the frame when rx_axis_tlast is asserted. During this final transfer of data for a frame, rx_axis_tkeep bits indicate the final valid bytes of the frame using the mapping from above. The valid bytes of the final transfer always lead out from rx_axis_tdata[7:0] (rx_axis_tkeep[0]) because Ethernet frame data is continuous and is received least significant byte first.

The rx_axis_tlast is asserted and rx_axis_tuser is deasserted, along with the final bytes of the transfer, only after all frame checks are completed. This is after the frame check sequence (FCS) field has been received. The core asserts the rx_axis_tuser signal to indicate that the frame was successfully received and that the frame should be analyzed by the client. This is also the end of packet signaled by rx_axis_tlast asserted for one cycle.

In the figure, the two receive frame transactions on a 128-bit Client 0 interface. Frame A begins in Cycle #4 with the assertion of rx_axis_tvalid_0. The frame completes in cycle #8 when rx_axis_tlast_0 is asserted. The keep0 and keep1 signals declare that all eight bytes of rx_axis_tdata0 are valid, but only six bytes of rx_axis_tdata1 are good.

Although it is possible for a new frame to begin in the next cycle, that is not the case in this example. However, a new frame, Frame B, does begin in cycle #10.