2.5Gbps Ethernet MAC IP Core

The 2.5GMAC IP core supports the ability to transmit and receive data between a host processor and an Ethernet network. The main function of the Ethernet MAC is to ensure that the Media Access rules specified in the 802.3 IEEE standard are met while transmitting a frame of data over Ethernet. On the receiving side, the Ethernet MAC extracts the different components of a frame and transfers them to higher applications through the FIFO interface.

The 2.5GMAC IP core transmits and receives data between a client application and an Ethernet network. The main function of the Ethernet MAC is to ensure that the Media Access rules specified in the 802.3 IEEE standard are met while transmitting and receiving Ethernet frames.

On the receiving side, the Ethernet MAC extracts the different components of a frame and transfers them to high-er applications through the client FIFO interface. The data received from the GMII interface is first buffered until sufficient data is available to be processed by the Receive MAC (Rx MAC).

The Preamble and the Start-of-Frame Delimiter (SFD) information are then extracted from the incoming frame to determine the start of a valid frame. The Receive MAC checks the address of the received packet and validates whether the frame can be received before transferring it into the FIFO. Only valid frames are transferred into the FIFO (runts and fragments are discarded). The Rx MAC also provides a statistics vector on a per packet basis that can be used by the application. The 2.5GMAC IP core always calculates CRC to check whether the frame was received error-free.

On the transmit side, the Tx MAC is responsible for controlling access to the physical medium. The Tx MAC reads data from an external client Tx FIFO, formats this data into an Ethernet packet and passes it to the GMII module.

The Tx MAC reads data from the Tx Client FIFO when the client indicates a packet is available, and the Tx MAC is in its appropriate state. The Tx MAC pre-fixes the Preamble and the Start-of-Frame Delimiter information to the data and appends the Frame Check Sequence at the end of the data.

Features

  • Compliant to IEEE 802.3-2005 standard
  • Generic 8-bit host interface
  • 16-bit wide internal data path
  • Generic transmit and receive FIFO interface
  • Full-duplex operation
  • Transmit and receive statistics vector
  • Programmable Inter-Packet Gap (IPG)
  • Multicast address filtering
  • Supports:
    • Full-duplex control using PAUSE frames
    • VLAN tagged frames
    • Automatic padding of short frames
    • Multicast and Broadcast frames
    • Optional FCS transmission and reception
    • Jumbo frames of any length

The 2.5Gbps Ethernet MAC IP Core is available as an IPexpress user configurable IP core, which allows the configuration of the IP and generation of a netlist and simulation file for use in designs. Please note that generating a bitstream may be prevented or the bitstream may have time logic present unless a license for the IP is purchased.

Block Diagram

Performance and Size

LatticeECP31
Parameters LUTs sysMEM EBRs Registers
Data Path Width: 16 2100 1 1290

1. Performance and utilization data are generated targeting an LFE3-17EA-8FTN256C device using Lattice Diamond 1.3 software and Synopsys Synplify Pro for Lattice E-2011.03L. Performance may vary when using a different software version or targeting a different device density or speed grade within the LatticeECP3 family.

Ordering Information

Family Part Number
LatticeECP3 2PT5-MAC-E3-U

IP Version: 1.0.

Evaluate: To download a full evaluation version of this IP, go to the IPexpress tool and click the IP Server button in the toolbar. All LatticeCORE IP cores and modules available for download will be visible. For more information on viewing/downloading IP please read the IP Express Quick Start Guide.

Purchase: To purchase the IP Core, please contact your local Lattice Sales Office. 

Documentation

Quick Reference Information Resources
TITLE NUMBER VERSION DATE FORMAT SIZE
2.5 Gbps Ethernet MAC IP Core User's Guide
IPUG98 1.1 5/29/2014 PDF 3.7 MB
TITLE NUMBER VERSION DATE FORMAT SIZE
IPexpress Quick Start Guide
8/5/2010 PDF 304.8 KB