Skip to content

ThomasGmeinder/sc_ethernet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCORE.com ETHERNET SOFTWARE COMPONENT

Latest release:2.1.2rc0
Maintainer:DavidNorman
Description:A complete Ethernet MII and MAC interface for 100MBps Ethernet

Key Features

  • RX and TX in separate threads
  • Packet filtering by extension function
  • Memory based locking protocol
  • FIFO based memory allocation for lower RAM overhead
  • High priority (VLAN priority tag) queues
  • 802.1Qat traffic shaping
  • Dual port

Low thread count MII driver

An alternative, low thread count MII driver is available.

  • MII pins in 1 thread
  • Rx buffer support handled by interrupt in a designated second thread
  • Optional service thread for providing an API similar to the 5-thread implementation

Firmware Overview

RX and TX are defined as functions which each run in their own thread. Thread count is 5 for single port, and 7 for dual port support. Both ports must be MII and attached to the same xcore.

Full documentation can be found at http://xcore.github.com/sc_ethernet/

Known Issues

  • The rx_packet-rx_packet timing constraint may fail because of the user defined packet filters. The user is required to fill in the timing details inside any user specified filter in order to help the XTA analyze the receive filter timing correctly.
  • Packets exceeding the Ethernet maximum length can cause system crash
  • Does not reject Ethernet/Ethernet-II/Ethernet-DIX encoded frames where the frame length does not match the length field

Support

Issues may be submitted via the Issues tab in this github repo. Response to any issues submitted as at the discretion of the maintainer for this line.

Required software (dependencies)

  • xcommon (if using development tools earlier than 11.11.0)

Packages

No packages published

Languages

  • XC 54.9%
  • C 35.2%
  • Assembly 5.0%
  • Objective-C 2.9%
  • C++ 1.3%
  • Shell 0.6%
  • Perl 0.1%