E-tile Hard IP User Guide: E-Tile Hard IP for Ethernet and E-Tile CPRI PHY Intel® FPGA IPs

ID 683468
Date 8/30/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.9.1.1. MAC TX Datapath

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.

Note: The TX MAC interface does not support non-contiguous transfer. The i_sl_tx_valid/i_tx_valid must be continuously asserted between the assertions of the start of packet and end of packet signals for the same packet. You must implement store and forward packet mechanism when transferring non-contiguous packets.

The client interface includes a port named i_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 will automatically mark it as an error frame.

The TX MAC module always inserts IDLE bytes to maintain an average IPG.

The E-Tile Hard IP for Ethernet Intel FPGA IP drops incoming frames of less than nine bytes.

Figure 14. Typical Client Frame at the Transmit InterfaceThe figure illustrates the changes that the TX MAC makes to the client frame when Enable preamble passthrough is turned off. This figure uses the following notational conventions:
  • <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: