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
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 | Ethernet Media Access Controller (EMAC)/Management Data Input/Output (MDIO) | 37 |