PDF datasheets:

ASIC
Altera Lattice Xilinx

Options for this core:

On-Chip Peripheral Bus (OPB)

Related information:

Validated for Mentor Graphics Presicision FPGA SynthesisValidated for Precision™ FPGA Synthesis

News Releases

01/28/02 CAST Adds Ethernet MAC, 64-bit PCI, and CAN Controller to Line of General Purpose IP Cores

Ethernet MAC IP Core MAC 10/100 Ethernet Media Access Controller Core

Implements a high-speed (10/100 Mbps), half- and full-duplex LAN controller using the Carrier Sense Multiple Access with Collision Detection (CSMA/CD) algorithms defined by IEEE 802.3 for media access control over the Ethernet.

For broad compatibility and easy integration, the core works with any MII-compliant external PHY transceiver. (SMII & RMII support is available.)

The core has a generic host-side interface designed for easy compatibility with a variety of external CPUs or standard bus controllers such as PCI. This host interface can be configured to work with 8-, 16- or 32-bit data bus lengths with big or little endian byte ordering, and is compatible with most modern virtual component interfaces. Optional standard interfaces such as AMBA, OCP, and OPB are available.

The MAC was developed for reuse in ASIC and FPGA implementations and has been implemented in several commercial products. The design is strictly synchronous with positive-edge clocking, no internal tri-states and with a synchronous reset.

See representative implementation results (each in a new pop-up window):

ASIC numbers Altera numbers Lattice numbers Xilinx numbers

Features

Applications

The MAC core can be utilized for a variety of interface applications including network Interface Cards (NICs); routers and switching hubs; and many Systems On Chip (SoC) applications.

Block Diagram

mac block diagram

Functional Description

The MAC core consists of the following components as shown in the block diagram:

TC - Transmit Controller

Implements the 802.3 transmit operation and uses the standard 802.3 MII interface for an external PHY device. Operates synchronously with the clkt clock from the MII interface.

BD - Backoff/Deferring

Implements the 802.3 half-duplex operation. Operates syn-chronously with the clkt clock from the MII interface. Can be removed for lower gate count if the half-duplex operation is not required.

RC - Receive Controller

Implements the 802.3 receive operation using the standard 802.3 MII interface for an external PHY device. Operates synchronously with the clkr clock from the MII interface.

TFIFO - Transmit FIFO

Buffers data prepared for transmission by the MAC. It provides an interface for the external dual-port RAM working as FIFO memory. The FIFO size can be configured by the generic parameters of the core: TFIFODEPTH defines the total FIFO size; TCDEPTH defines the maximum number of frames that can reside in the transmit FIFO at the moment. Operates synchronously with the clkdma clock from the host Data interface.

RFIFO - Receive FIFO

Buffers data received by the MAC. It provides an interface for the external dual-port RAM working as FIFO memory. The FIFO size can be configured by the generic parameters of the core: RFIFODEPTH defines the total FIFO size; RCDEPTH defines the maximum number of frames that can reside in the receive FIFO at the moment. Operates synchronously with the clkdma clock from the host Data interface.

TLSM - Transmit linked List State Machine

Implements the descriptor/buffer architecture of the MAC. It manages the transmit descriptor list, and fetches the data prepared for transmission from the data buffers into the transmit FIFO. Operates synchronously with the clkdma clock from the host Data interface.

RLSM - Receive linked List State Machine

Implements the descriptor/buffer architecture of the MAC. It manages the receive descriptor list, and moves the data the receive FIFO into the data buffers. Operates synchronously with the clkdma clock from the host Data interface.

DMA - Direct Memory Access Controller

Implements the host Data interface, servicing both the receive and the transmit channels. Operates synchronously with the clkdma clock from the host Data interface.

CSR - Control and Status Registers

Used by the host to control the MAC operation. Implements the register set, the interrupt controller, and the power management functionality of the MAC, and provides an interface for the host. Operates synchronously with the clkcsr clock from the host CSR interface.

RSTC - Reset Controller

Resets all components of the MAC. It generates reset signal synchronous to all clock domains in the design from the single external reset line.

MIISM - MII Serial Management

The MIISM interface controller is a module for the MAC that provides a simple serial communication interface between the MAC and the PHY(s). The module supplies the hardware controlled protocol to read and/or write the status and configuration registers in the PHY layer implementation.

External Components

There are three external components required for proper operation of the MAC core:

Pre-Integrated IP Platform

Pre-Integrated IP Platform

 The R8051MAC Controller combines the MAC with an 8051-compatible core and is useful for quickly implementing Ethernet devices in many applications. The 8051 operates as a system host, communicating with the MAC through shared RAM memory and by direct interface to its Control and Status Registers (CSRs). The complete platform consists of the R8051MAC core together with the following components:

Core Modifications

The FIFO memories can be resized according to Ethernet network requirements. External host interfaces can be customized for use in 8-, 16- or 32-bit systems. Contact CAST for any required modifications.

Configurability

The following parameters allow adjusting the MAC to the requirements of the target application or technology:

Options

Following optional modules may be ordered according to the user’s application:

Support

The core as delivered is warranted against defects for ninety days from purchase. Thirty days of phone and email technical support are included, starting with the first interaction. Additional maintenance and support options are available.

Verification

The core has been verified through extensive simulation and rigorous code coverage measurements. The megafunction was also prototyped in FPGA.

Deliverables

The core is available in ASIC (synthesizable HDL) and FPGA (netlist) forms, and includes everything required for successful implementation:

 

 

Request Info
Top of Page