diff --git a/CONTRIBUTORS b/CONTRIBUTORS new file mode 100644 index 0000000..0243f8f --- /dev/null +++ b/CONTRIBUTORS @@ -0,0 +1,16 @@ +LiteX ecosystem would not exist without the collaborative work of contributors! Here is below the +list of all the LiteEth contributors. + +In the source code, each file list the main authors/contributors: +- author(s) that created the initial content. +- contributor(s) that added essential features/improvements. + +If you think you should be in this list and don't find yourself, write to florent@enjoy-digital.fr +and we'll fix it! + +Contributors: +Copyright (c) 2018 Felix Held +Copyright (c) 2015-2019 Florent Kermarrec +Copyright (c) 2016-2017 Tim 'mithro' Ansell +Copyright (c) 2015-2017 Sebastien Bourdeauducq +Copyright (c) 2017-2018 whitequark diff --git a/examples/make.py b/examples/make.py index 241e69c..0e68b0f 100755 --- a/examples/make.py +++ b/examples/make.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import sys import os import argparse diff --git a/examples/targets/base.py b/examples/targets/base.py index f0f3d08..dc009ba 100644 --- a/examples/targets/base.py +++ b/examples/targets/base.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from migen.genlib.io import CRG from litex.build.xilinx.vivado import XilinxVivadoToolchain diff --git a/examples/targets/core.py b/examples/targets/core.py index 033cf00..fe58959 100644 --- a/examples/targets/core.py +++ b/examples/targets/core.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import argparse from migen import * diff --git a/examples/targets/etherbone.py b/examples/targets/etherbone.py index 24d39a3..30585dd 100644 --- a/examples/targets/etherbone.py +++ b/examples/targets/etherbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.frontend.etherbone import LiteEthEtherbone diff --git a/examples/targets/tty.py b/examples/targets/tty.py index 2d2ce4b..b7daf39 100644 --- a/examples/targets/tty.py +++ b/examples/targets/tty.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.frontend.tty import LiteEthTTY diff --git a/examples/targets/udp.py b/examples/targets/udp.py index 1f1c6e2..9178e3d 100644 --- a/examples/targets/udp.py +++ b/examples/targets/udp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from targets.base import BaseSoC diff --git a/examples/test/test_analyzer.py b/examples/test/test_analyzer.py index 9f7af81..4c674a7 100644 --- a/examples/test/test_analyzer.py +++ b/examples/test/test_analyzer.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from litex import RemoteClient wb = RemoteClient() diff --git a/examples/test/test_etherbone.py b/examples/test/test_etherbone.py index 5f737ea..7bcffa0 100644 --- a/examples/test/test_etherbone.py +++ b/examples/test/test_etherbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import socket import time from litex.soc.tools.remote.etherbone import * diff --git a/examples/test/test_regs.py b/examples/test/test_regs.py index 1a76233..b7f75bf 100644 --- a/examples/test/test_regs.py +++ b/examples/test/test_regs.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from litex import RemoteClient wb = RemoteClient() diff --git a/examples/test/test_tty.py b/examples/test/test_tty.py index fb66012..95be49a 100644 --- a/examples/test/test_tty.py +++ b/examples/test/test_tty.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import socket import threading diff --git a/examples/test/test_udp.py b/examples/test/test_udp.py index 62c27d9..647f9a1 100644 --- a/examples/test/test_udp.py +++ b/examples/test/test_udp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import socket import time import threading diff --git a/liteeth/common.py b/liteeth/common.py index 1c67fe0..ef8e08e 100644 --- a/liteeth/common.py +++ b/liteeth/common.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from math import ceil from migen import * diff --git a/liteeth/core/arp.py b/liteeth/core/arp.py index 3495cdd..ce33d08 100644 --- a/liteeth/core/arp.py +++ b/liteeth/core/arp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from migen.genlib.misc import WaitTimer diff --git a/liteeth/core/icmp.py b/liteeth/core/icmp.py index 13d0bbb..53d55b4 100644 --- a/liteeth/core/icmp.py +++ b/liteeth/core/icmp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + from liteeth.common import * from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer diff --git a/liteeth/core/ip.py b/liteeth/core/ip.py index 4423344..b041ec8 100644 --- a/liteeth/core/ip.py +++ b/liteeth/core/ip.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.crossbar import LiteEthCrossbar diff --git a/liteeth/core/udp.py b/liteeth/core/udp.py index 8dea2c0..32b49be 100644 --- a/liteeth/core/udp.py +++ b/liteeth/core/udp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.crossbar import LiteEthCrossbar diff --git a/liteeth/crossbar.py b/liteeth/crossbar.py index 321fb62..b053dbb 100644 --- a/liteeth/crossbar.py +++ b/liteeth/crossbar.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015 Florent Kermarrec +# License: BSD + from collections import OrderedDict from liteeth.common import * diff --git a/liteeth/frontend/etherbone.py b/liteeth/frontend/etherbone.py index d34e1e9..c744c89 100644 --- a/liteeth/frontend/etherbone.py +++ b/liteeth/frontend/etherbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + """ Etherbone diff --git a/liteeth/frontend/tty.py b/liteeth/frontend/tty.py index 05c83f1..cc482dc 100644 --- a/liteeth/frontend/tty.py +++ b/liteeth/frontend/tty.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2016 Florent Kermarrec +# License: BSD + from liteeth.common import * diff --git a/liteeth/mac/common.py b/liteeth/mac/common.py index 57c2c9f..0edc644 100644 --- a/liteeth/mac/common.py +++ b/liteeth/mac/common.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.crossbar import LiteEthCrossbar diff --git a/liteeth/mac/core.py b/liteeth/mac/core.py index d6276c3..b7bb261 100644 --- a/liteeth/mac/core.py +++ b/liteeth/mac/core.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015-2017 Sebastien Bourdeauducq +# This file is Copyright (c) 2017-2018 whitequark +# License: BSD + from liteeth.common import * from liteeth.mac import gap, preamble, crc, padding, last_be from liteeth.phy.model import LiteEthPHYModel diff --git a/liteeth/mac/crc.py b/liteeth/mac/crc.py index 3ddad49..ca0012f 100644 --- a/liteeth/mac/crc.py +++ b/liteeth/mac/crc.py @@ -1,3 +1,9 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015 Sebastien Bourdeauducq +# This file is Copyright (c) 2017 whitequark +# This file is Copyright (c) 2018 Felix Held +# License: BSD + from functools import reduce from operator import xor from collections import OrderedDict diff --git a/liteeth/mac/gap.py b/liteeth/mac/gap.py index 948efe1..8e9edef 100644 --- a/liteeth/mac/gap.py +++ b/liteeth/mac/gap.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015-2017 Sebastien Bourdeauducq +# This file is Copyright (c) 2018 whitequark +# License: BSD + import math from liteeth.common import * diff --git a/liteeth/mac/last_be.py b/liteeth/mac/last_be.py index 8aecdc3..ac031a0 100644 --- a/liteeth/mac/last_be.py +++ b/liteeth/mac/last_be.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015 Sebastien Bourdeauducq +# This file is Copyright (c) 2018 whitequark +# License: BSD + from liteeth.common import * diff --git a/liteeth/mac/padding.py b/liteeth/mac/padding.py index 2d6e979..301538e 100644 --- a/liteeth/mac/padding.py +++ b/liteeth/mac/padding.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015 Sebastien Bourdeauducq +# This file is Copyright (c) 2018 whitequark +# License: BSD + import math from liteeth.common import * diff --git a/liteeth/mac/preamble.py b/liteeth/mac/preamble.py index e3420a2..96389d0 100644 --- a/liteeth/mac/preamble.py +++ b/liteeth/mac/preamble.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015-2017 Sebastien Bourdeauducq +# This file is Copyright (c) 2017-2018 whitequark +# License: BSD + from liteeth.common import * from migen.genlib.misc import chooser diff --git a/liteeth/mac/sram.py b/liteeth/mac/sram.py index dee68d2..eaf0ee4 100644 --- a/liteeth/mac/sram.py +++ b/liteeth/mac/sram.py @@ -1,3 +1,8 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015-2018 Sebastien Bourdeauducq +# This file is Copyright (c) 2017 whitequark +# License: BSD + from liteeth.common import * from litex.soc.interconnect.csr import * diff --git a/liteeth/mac/wishbone.py b/liteeth/mac/wishbone.py index ad73f25..2a49b46 100644 --- a/liteeth/mac/wishbone.py +++ b/liteeth/mac/wishbone.py @@ -1,3 +1,7 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# This file is Copyright (c) 2015-2016 Sebastien Bourdeauducq +# License: BSD + from migen.fhdl.simplify import FullMemoryWE from liteeth.common import * diff --git a/liteeth/phy/a7_1000basex.py b/liteeth/phy/a7_1000basex.py index 450068c..b91be2d 100644 --- a/liteeth/phy/a7_1000basex.py +++ b/liteeth/phy/a7_1000basex.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 M-Labs Ltd +# This file is Copyright (c) 2018 Sebastien Bourdeauducq # License: BSD from migen import * diff --git a/liteeth/phy/a7_gtp.py b/liteeth/phy/a7_gtp.py index da91b4e..e57ebd9 100644 --- a/liteeth/phy/a7_gtp.py +++ b/liteeth/phy/a7_gtp.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 M-Labs Ltd +# This file is Copyright (c) 2018 Sebastien Bourdeauducq # License: BSD from collections import namedtuple diff --git a/liteeth/phy/common.py b/liteeth/phy/common.py index 55f5207..a290dfb 100644 --- a/liteeth/phy/common.py +++ b/liteeth/phy/common.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from migen.genlib.cdc import MultiReg diff --git a/liteeth/phy/ecp5rgmii.py b/liteeth/phy/ecp5rgmii.py index 3b789b8..15a5d08 100644 --- a/liteeth/phy/ecp5rgmii.py +++ b/liteeth/phy/ecp5rgmii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD + # RGMII PHY for ECP5 Lattice FPGA from liteeth.common import * diff --git a/liteeth/phy/gmii.py b/liteeth/phy/gmii.py index 649e785..102e25f 100644 --- a/liteeth/phy/gmii.py +++ b/liteeth/phy/gmii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from migen.genlib.io import DDROutput diff --git a/liteeth/phy/gmii_mii.py b/liteeth/phy/gmii_mii.py index e48ac0c..a0474a8 100644 --- a/liteeth/phy/gmii_mii.py +++ b/liteeth/phy/gmii_mii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from liteeth.phy.gmii import LiteEthPHYGMIICRG from liteeth.phy.mii import LiteEthPHYMIITX, LiteEthPHYMIIRX diff --git a/liteeth/phy/k7_1000basex.py b/liteeth/phy/k7_1000basex.py index 632f947..d6a5ce3 100644 --- a/liteeth/phy/k7_1000basex.py +++ b/liteeth/phy/k7_1000basex.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2019 Florent Kermarrec +# This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD from migen import * diff --git a/liteeth/phy/ku_1000basex.py b/liteeth/phy/ku_1000basex.py index 10ea6b7..89cf17c 100644 --- a/liteeth/phy/ku_1000basex.py +++ b/liteeth/phy/ku_1000basex.py @@ -1,4 +1,5 @@ -# This file is Copyright (c) 2019 M-Labs Ltd +# This file is Copyright (c) 2018 Sebastien Bourdeauducq +# This file is Copyright (c) 2019 Florent Kermarrec # License: BSD from migen import * diff --git a/liteeth/phy/mii.py b/liteeth/phy/mii.py index 74e079f..7adb163 100644 --- a/liteeth/phy/mii.py +++ b/liteeth/phy/mii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from migen.genlib.resetsync import AsyncResetSynchronizer diff --git a/liteeth/phy/model.py b/liteeth/phy/model.py index f2b7328..17876e1 100644 --- a/liteeth/phy/model.py +++ b/liteeth/phy/model.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import os from liteeth.common import * diff --git a/liteeth/phy/pcs_1000basex.py b/liteeth/phy/pcs_1000basex.py index 8717569..c666f1f 100644 --- a/liteeth/phy/pcs_1000basex.py +++ b/liteeth/phy/pcs_1000basex.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 M-Labs Ltd +# This file is Copyright (c) 2018 Sebastien Bourdeauducq # License: BSD from math import ceil @@ -223,12 +223,12 @@ class PCS(Module): self.tbi_rx = self.rx.decoder.input self.sink = stream.Endpoint(eth_phy_description(8)) self.source = stream.Endpoint(eth_phy_description(8)) - + self.link_up = Signal() self.restart = Signal() # # # - + # endpoint interface self.comb += [ self.tx.tx_stb.eq(self.sink.valid), diff --git a/liteeth/phy/rmii.py b/liteeth/phy/rmii.py index c387229..0013dbe 100644 --- a/liteeth/phy/rmii.py +++ b/liteeth/phy/rmii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + from liteeth.common import * from migen.genlib.cdc import MultiReg diff --git a/liteeth/phy/s6rgmii.py b/liteeth/phy/s6rgmii.py index 46e34f5..10c62b7 100644 --- a/liteeth/phy/s6rgmii.py +++ b/liteeth/phy/s6rgmii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD + # RGMII PHY for Spartan6 Xilinx FPGA from liteeth.common import * diff --git a/liteeth/phy/s7rgmii.py b/liteeth/phy/s7rgmii.py index 01b343c..cdc34bb 100644 --- a/liteeth/phy/s7rgmii.py +++ b/liteeth/phy/s7rgmii.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + # RGMII PHY for 7-Series Xilinx FPGA from liteeth.common import * diff --git a/test/model/arp.py b/test/model/arp.py index 6b9eba4..5e378f9 100644 --- a/test/model/arp.py +++ b/test/model/arp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math from litex.soc.interconnect.stream_sim import * diff --git a/test/model/dumps.py b/test/model/dumps.py index 5ea6bf6..ed23d31 100644 --- a/test/model/dumps.py +++ b/test/model/dumps.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015 Florent Kermarrec +# License: BSD + import re diff --git a/test/model/etherbone.py b/test/model/etherbone.py index 849ad0e..0e70ecd 100644 --- a/test/model/etherbone.py +++ b/test/model/etherbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math import copy diff --git a/test/model/icmp.py b/test/model/icmp.py index 1b2b200..2b28c34 100644 --- a/test/model/icmp.py +++ b/test/model/icmp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math from litex.soc.interconnect.stream_sim import * diff --git a/test/model/ip.py b/test/model/ip.py index 0ca3785..a911ba1 100644 --- a/test/model/ip.py +++ b/test/model/ip.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math from litex.soc.interconnect.stream_sim import * diff --git a/test/model/mac.py b/test/model/mac.py index 765ff02..8df1680 100644 --- a/test/model/mac.py +++ b/test/model/mac.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math import binascii diff --git a/test/model/phy.py b/test/model/phy.py index efd3241..70116c9 100644 --- a/test/model/phy.py +++ b/test/model/phy.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2016 Florent Kermarrec +# License: BSD + from litex.soc.interconnect.stream_sim import * from liteeth.common import * diff --git a/test/model/udp.py b/test/model/udp.py index 322bf03..48da7b7 100644 --- a/test/model/udp.py +++ b/test/model/udp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2017 Florent Kermarrec +# License: BSD + import math from litex.soc.interconnect.stream_sim import * diff --git a/test/test_arp.py b/test/test_arp.py index 1399824..7801d86 100644 --- a/test/test_arp.py +++ b/test/test_arp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_etherbone.py b/test/test_etherbone.py index 3e9edc8..08dd9fa 100644 --- a/test/test_etherbone.py +++ b/test/test_etherbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_icmp.py b/test/test_icmp.py index e14ba33..bdcb92a 100644 --- a/test/test_icmp.py +++ b/test/test_icmp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_ip.py b/test/test_ip.py index 1857555..744bb74 100644 --- a/test/test_ip.py +++ b/test/test_ip.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_mac_core.py b/test/test_mac_core.py index b2b0686..46828ea 100644 --- a/test/test_mac_core.py +++ b/test/test_mac_core.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_mac_wishbone.py b/test/test_mac_wishbone.py index 67e62c8..d5e08e1 100644 --- a/test/test_mac_wishbone.py +++ b/test/test_mac_wishbone.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import unittest from migen import * diff --git a/test/test_udp.py b/test/test_udp.py index b6b813b..9dda1b5 100644 --- a/test/test_udp.py +++ b/test/test_udp.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2015-2018 Florent Kermarrec +# License: BSD + import unittest from migen import *