24.06.2013 Views

Xilinx UG773 LogiCORE IP 10-Gigabit Ethernet MAC v11.1, User ...

Xilinx UG773 LogiCORE IP 10-Gigabit Ethernet MAC v11.1, User ...

Xilinx UG773 LogiCORE IP 10-Gigabit Ethernet MAC v11.1, User ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Interfacing to the Core: Data Interfaces<br />

X-Ref Target - Figure 6-2<br />

Transmission with In-Band FCS Passing<br />

tx_clk0<br />

tx_axis_tvalid<br />

tx_axis_tready<br />

tx_axis_tdata[7:0]<br />

tx_axis_tdata[15:8]<br />

tx_axis_tdata[23:16]<br />

tx_axis_tdata[31:24]<br />

tx_axis_tdata[39:32]<br />

tx_axis_tdata[47:40]<br />

tx_axis_tdata[55:48]<br />

tx_axis_tdata[63:56]<br />

tx_axis_tstrb[7:0]<br />

tx_axis_tlast<br />

If the <strong>MAC</strong> core is configured to have the FCS field passed in by the client on the AXI4-<br />

Stream Transmit interface, the transmission timing is as shown in Figure 6-2. In this case, it<br />

is the responsibility of the client to ensure that the frame meets the <strong>Ethernet</strong> minimum<br />

frame length requirements; the <strong>MAC</strong> core will not perform any padding of the payload If<br />

the client transmits a frame less than the <strong>Ethernet</strong> minimum length requirements, then the<br />

frame will not be counted in the statistics.<br />

Aborting a Transmission<br />

DA SA D D D DA SA D D<br />

DA SA D D D DA SA D D<br />

DA SA D D D DA SA D D<br />

DA SA D D D DA SA D FCS<br />

DA L/T D D FCS DA L/T D FCS<br />

DA L/T D D FCS DA L/T D FCS<br />

SA D D D FCS SA D D FCS<br />

SA D D D FCS SA D D<br />

0x00 0xFF 0xFF 0xFF 0xFF 0X7F<br />

Figure 6-2: Transmission with In-Band FCS Passing<br />

The aborted transfer of a packet on the client interface is called an underrun. This can<br />

happen, for instance, if a FIFO in the AXI Transmit client interface empties before a frame<br />

is completed. This is indicated to the core in one of two ways:<br />

1. An explicit underrun, in which a Frame Transfer is aborted by asserting<br />

tx_axis_tuser HIGH while tx_axis_tvalid is HIGH and data transfer is<br />

continuing. (See Figure 6-3)<br />

An underrun packet must have the DA, SA, L/T fields in it. This is true even if Custom<br />

Preamble is enabled for transmission.<br />

2. An implicit underrun, in which a Frame Transfer is aborted by deasserting<br />

tx_axis_tvalid without asserting tx_axis_tlast. (See Figure 6-4)<br />

46 www.xilinx.com <strong>10</strong>-<strong>Gigabit</strong> <strong>Ethernet</strong> <strong>MAC</strong> <strong>User</strong> Guide<br />

<strong>UG773</strong> March 1, 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!