| |
|
||||
![]() |
![]() |
||||
|
Ethernet MAC IP Core MAC 10/100 Ethernet Media Access Controller CoreOn this page: Description | Implementation Results | Features | Applications | Block Diagram | Functional Description | Pre-Integrated IP | Core Modifications | Configurability | Options | Support | Verification | Deliverables 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): Features
ApplicationsThe 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
Functional DescriptionThe MAC core consists of the following components as shown in the block diagram: TC - Transmit ControllerImplements 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/DeferringImplements 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 ControllerImplements 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 FIFOBuffers 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 FIFOBuffers 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 MachineImplements 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 MachineImplements 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 ControllerImplements 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 RegistersUsed 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 ControllerResets 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 ManagementThe 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 ComponentsThere are three external components required for proper operation of the MAC core:
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 ModificationsThe 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. ConfigurabilityThe following parameters allow adjusting the MAC to the requirements of the target application or technology:
OptionsFollowing optional modules may be ordered according to the user’s application:
SupportThe 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. VerificationThe core has been verified through extensive simulation and rigorous code coverage measurements. The megafunction was also prototyped in FPGA. DeliverablesThe core is available in ASIC (synthesizable HDL) and FPGA (netlist) forms, and includes everything required for successful implementation:
On this page: Description | Implementation Results | Features | Applications | Block Diagram | Functional Description | Pre-Integrated IP | Core Modifications | Configurability | Options | Support | Verification | Deliverables Download PDF datasheets for more info: ASIC | Altera | Lattice | Xilinx |
|||||||||||||||||||||||
|
top of page |
||||||||||||||||||||||||