Advanced FEC

The Advanced Flexibilis Ethernet Controller (AFEC) is a triple-speed (10Mbps/100Mbps/1Gbps) Ethernet controller IP block that can be employed with programmable hardware and ASICs. Together with an Ethernet Physical layer device, AFEC provides the functionality of an Ethernet Network Interface Controller. For connecting to an Ethernet PHY device, AFEC implements a standard MII/GMII interface.

To achieve gigabit transfer rates in real life and to make it possible to also use less powerful CPUs, AFEC has several features that help minimize the CPU load:

  • Bus master DMA transfer for both RX and TX data
  • RX and TX data can be located at any byte alignment, eliminating the need for the CPU to copy the data to a different location for the DMA
  • RX and TX scatter gather makes it possible to have the data in several fragments in  memory
  • Delayed interrupts to minimize interrupt load on the CPU

Other standard features of AFEC include:

  • Triple-speed Full-Duplex operation
  • Copper and fiber Ethernet support
  • Supports direct connection of SFP and SFF modules to FPGA IO
  • IEEE 1588 Precision Time Protocol support
  • Time stamping of all  Ethernet frames sent and received
  • Separate DMA controller for RX and TX
  • Adjustable RX and TX FIFO thresholds
  • Automatic CRC calculation and CRC error detection
  • Register interface for accessing control and status registers
  • Descriptor based RX and TX data handling
  • Adjustable interrupt delay
  • Integrated MDIO controller for the CPU to  enable access to registers of the connected PHY devices

The FPGA resource usage of AFEC is about 4,500 FPGA registers.

Downloads