2 / / (_) /____ / __/ /_/ /
3 / /__/ / __/ -_) _// __/ _ \
4 /____/_/\__/\__/___/\__/_//_/
6 Copyright 2012-2015 / EnjoyDigital
7 florent@enjoy-digital.fr
9 A small footprint and configurable Ethernet core
10 with UDP/IP hw stack and Etherbone frontend
15 HTML : www.enjoy-digital.fr/litex/liteeth/
16 PDF : www.enjoy-digital.fr/litex/liteeth.pdf
20 LiteEth provides a small footprint and configurable Ethernet core.
22 LiteEth is part of LiteX libraries whose aims are to lower entry level of
23 complex FPGA cores by providing simple, elegant and efficient implementations
24 ofcomponents used in today's SoC such as Ethernet, SATA, PCIe, SDRAM Controller...
26 The core uses simple and specific streaming buses and will provides in the future
27 adapters to use standardized AXI or Avalon-ST streaming buses.
29 Since Python is used to describe the HDL, the core is highly and easily
32 LiteEth uses technologies developed in partnership with M-Labs Ltd:
33 - Migen enables generating HDL with Python in an efficient way.
34 - MiSoC provides the basic blocks to build a powerful and small footprint SoC.
36 LiteEth can be used as a Migen/MiSoC library (by simply installing it
37 with the provided setup.py) or can be integrated with your standard design flow
38 by generating the verilog rtl that you will use as a standard core.
42 - Ethernet MAC with various interfaces and various PHYs (GMII, MII, Loopback)
43 - Hardware UDP/IP stack with ARP and ICMP
45 [> Possible improvements
46 -------------------------
47 - add standardized interfaces (AXI, Avalon-ST)
48 - add DMA interface to MAC
49 - add RGMII/SGMII PHYs
50 - ... See below Support and consulting :)
52 If you want to support these features, please contact us at florent [AT]
53 enjoy-digital.fr. You can also contact our partner on the public mailing list
54 devel [AT] lists.m-labs.hk.
59 1. Install Python3 and your vendor's software
61 2. Obtain Migen and install it:
62 git clone https://github.com/m-labs/migen
64 python3 setup.py install
67 Note: in case you have issues with Migen, please retry
69 https://github.com/enjoy-digital/misoc
70 until new features are merged.
72 3. Obtain LiteScope and install it:
73 git clone https://github.com/enjoy-digital/litescope
75 python3 setup.py install
79 git clone https://github.com/enjoy-digital/liteeth
81 5. Build and load UDP loopback design (only for KC705 for now):
82 python3 make.py -t udp all
84 6. Test design (only for KC705 for now):
85 try to ping 192.168.1.40
86 go to ./test directory:
87 change com port in config.py to your com port
90 7. Build and load Etherbone design (only for KC705 for now):
91 python3 make.py -t etherbone all
93 8. Test design (only for KC705 for now):
94 try to ping 192.168.1.40
95 go to ./test directory run:
96 run make test_etherbone
99 Simulations are available in ./liteth/test/:
106 All ethernet layers have their own model tested against real Ethernet dumps (dumps.py)
107 To run a simulation, move to ./liteeth/test and run:
111 An UDP loopback example is provided and be controlled with: ./test/test_udp.py
112 An Etherbone example with Wishbone SRAM is provided and can be controlled with:
113 ./test/test_etherbone.py
117 LiteEth is released under the very permissive two-clause BSD license. Under
118 the terms of this license, you are authorized to use LiteEth for closed-source
120 Even though we do not require you to do so, those things are awesome, so please
122 - tell us that you are using LiteEth
123 - cite LiteEth in publications related to research it has helped
124 - send us feedback and suggestions for improvements
125 - send us bug reports when something goes wrong
126 - send us the modifications and improvements you have done to LiteEth.
128 [> Support and consulting
129 --------------------------
130 We love open-source hardware and like sharing our designs with others.
132 LiteEth is developed and maintained by EnjoyDigital.
134 If you would like to know more about LiteEth or if you are already a happy
135 user and would like to extend it for your needs, EnjoyDigital can provide standard
136 commercial support as well as consulting services.
138 So feel free to contact us, we'd love to work with you! (and eventually shorten
139 the list of the possible improvements :)
142 E-mail: florent [AT] enjoy-digital.fr