Visible to Intel only — GUID: wnt1698062952243
Ixiasoft
Visible to Intel only — GUID: wnt1698062952243
Ixiasoft
A.2.1. MAC TX Datapath
The following sections are applicable for TX MAC Avalon® streaming interface.
When the TX MAC module in a channel is enabled, it receives the client payload data with the destination and source addresses and then adds, appends, or updates various header fields in accordance with the configuration specified. The MAC does not modify the destination address or the payload received from the client. However, the TX MAC module adds a preamble (if the IP core is not configured to receive the preamble from user logic), pads the payload of frames greater than eight bytes to satisfy the minimum Ethernet frame payload of 46 bytes, and if you enable source address insertion, replaces the bytes in the source address field position of your data with a stored source address you provide as a parameter.
You must implement store and forward packet mechanism when transferring non-contiguous packets.
When TX MAC interface ready signal indicates low, the valid signal may go low.
The client interface includes a port named i_tx_skip_crc, which when asserted during a frame, makes the MAC skip the insertion of source address, padding, and CRC.
- When CRC insertion is skipped, the client must provide a CRC for the frame data it writes in the last 4 bytes of the frame.
- When padding is skipped, the frame data must be large enough to include a fully formed frame header (at least 14 bytes long) or the MAC automatically mark it as an error frame.
The TX MAC module always inserts IDLE bytes to maintain an average IPG.
The GTS Ethernet Intel® FPGA Hard IP drops incoming frames of less than nine bytes.
- <p> = payload size, which is arbitrarily large.
- <s> = number of padding bits (0–46 bytes)
- <g> = number of IPG bits (full bytes)
The following sections describe the functions performed by the TX MAC: