www.ti.com

EMAC Functional Architecture

2.6EMAC Control Module

The EMAC control module (Figure 11) interfaces the EMAC and MDIO modules to the rest of the system, and provides a local memory space to hold EMAC packet buffer descriptors. Local memory is used to avoid contention to device memory spaces. Other functions include the bus arbiter, and interrupt logic control.

Figure 11. EMAC Control Module Block Diagram

Transmit and Receive DMA Controllers

Configuration bus

EMAC interrupts

MDIO interrupts

Arbiter and

 

 

CPU

bus switches

 

 

 

 

 

 

 

 

 

8K byte

descriptor memory

Configuration

registers

 

 

 

 

 

Single interrupt

 

Interrupt

 

 

 

logic

 

 

to CPU

 

 

 

 

 

 

2.6.1Internal Memory

The control module includes 8K bytes of internal memory. The internal memory block allows the EMAC to operate more independently of the CPU. It also prevents memory underflow conditions when the EMAC issues read or write requests to descriptor memory. (The EMAC'sinternal FIFOs protect memory accesses to read or write actual Ethernet packet data.)

A descriptor is a 16-byte memory structure that holds information about a single Ethernet packet buffer, which may contain a full or partial Ethernet packet. Thus, with the 8K memory block provided for descriptor storage, the EMAC module can send and receive up to a combined 512 packets before it must be serviced by application or driver software.

2.6.2Bus Arbiter

The control module’s bus arbiter operates transparently to the rest of the system. It arbitrates between the device core and EMAC buses for access to internal descriptor memory, and arbitrates between internal EMAC buses for access to system memory.

SPRU975B –August 2006

Ethernet Media Access Controller (EMAC)/Management Data Input/Output (MDIO)

37

Submit Documentation Feedback

Page 37
Image 37
Texas Instruments TMS320C645x DSP manual Emac Control Module, Internal Memory, Bus Arbiter, Cpu