Skip to content

egk696/an-ethernet-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lightweight Ethernet MAC Controller

Features

  • Modular design, separate entities for the MII interfaces and the RX, TX and PHY management controllers
  • Simple OCP bus interface for host control
  • Easy FIFO frame buffer control that is automatically managed in hardware
  • Time-stamping of received Ethernet frames

Example Usage

When the SFD is detected by the MII interface, the RX controller starts to write the frame in the selected frame buffer. When the EOF is detected it increments the wrRamSelId pointer and it selects the next frame buffer to write. If the FIFO is not empty the CPU can start reading a frame, after it has completed reading the selected Ethernet frame it writes a register that increments the rdRamSelId pointer to the next available frame buffer. The CPU can immediately start reading the next received frame without by offloading any buffer management to the hardware controller.

Releases

No releases published

Packages

No packages published

Languages