--- /dev/null
+LiteX ecosystem would not exist without the collaborative work of contributors! Here is below the
+list of all the LiteX 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) 2011-2012 Alain Péteut <alain.peteut@yahoo.com>
+Copyright (c) 2019 Ambroz Bizjak <ambrop7@gmail.com>
+Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+Copyright (c) 2012-2013 Brandon Hamilton <brandon.hamilton@gmail.com>
+Copyright (c) 2017-2019 bunnie <bunnie@kosagi.com>
+Copyright (c) 2019 Caleb Jamison <cbjamo@gmail.com>
+Copyright (c) 2019 chmousset <ch.mousset@gmail.com>
+Copyright (c) 2018 Chris Ballance <chris.ballance@physics.ox.ac.uk>
+Copyright (c) 2013 David Carne <davidcarne@gmail.com>
+Copyright (c) 2018-2019 David Shah <dave@ds0.me>
+Copyright (c) 2018 Deano Calver <me@deanoc.com>
+Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+Copyright (c) 2018 Ewen McNeill <ewen@naos.co.nz>
+Copyright (c) 2014 Fabien Marteau <fabien.marteau@armadeus.com>
+Copyright (c) 2017-2018 Felix Held <felix-github@felixheld.de>
+Copyright (c) 2012-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+Copyright (c) 2017 Greg Darke <greg@tsukasa.net.au>
+Copyright (c) 2015-2014 Guy Hutchison <ghutchis@gmail.com>
+Copyright (c) 2019 Ilia Sergachev <ilia.sergachev@protonmail.ch>
+Copyright (c) 2014 Jannis Harder <jix@jixco.de>
+Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.com>
+Copyright (c) 2019 Joanna Brozek <jbrozek@antmicro.com>
+Copyright (c) 2015 Joe Britton <joe.britton@gmail.com>
+Copyright (c) 2017 Joel Addison <joel@addison.net.au>
+Copyright (c) 2019 Kees Jongenburger <kees.jongenburger@gmail.com>
+Copyright (c) 2013 Kenneth Ryerson <kryerson@vermeer.com>
+Copyright (c) 2019 Kurt Kiefer <kekiefer@gmail.com>
+Copyright (c) 2019 Larry Doolittle <ldoolitt@recycle.lbl.gov>
+Copyright (c) 2012-2013 Lars-Peter Clausen <lars@metafoo.de>
+Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+Copyright (c) 2017 Matt Kelly <Matthew.Joseph.Kelly@gmail.com>
+Copyright (c) 2019 Michael Betz <michibetz@gmail.com>
+Copyright (c) 2012 Michael Walle <michael@walle.cc>
+Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com>
+Copyright (c) 2013 Nina Engelhardt <nakengelhardt@gmail.com>
+Copyright (c) 2015 numato <sales@numato.com>
+Copyright (c) 2015 Olof Kindgren <olof.kindgren@gmail.com>
+Copyright (c) 2018 Paul Schulz <paul@mawsonlakes.org>
+Copyright (c) 2018 Peter Gielda <pgielda@antmicro.com>
+Copyright (c) 2018 phlipped <phlipped@gmail.com>
+Copyright (c) 2017 Pierre-Olivier Vauboin <po@lambdaconcept>
+Copyright (c) 2015 psmears <patrick@smears.org>
+Copyright (c) 2013-2016 Robert Jordens <jordens@gmail.com>
+Copyright (c) 2015 Rohit Kumar Singh <rohit91.2008@gmail.com>
+Copyright (c) 2015 Ryan Verner <ryan.verner@gmail.com>
+Copyright (c) 2018-2019 Sean Cross <sean@xobs.io>
+Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+Copyright (c) 2017-2018 Sergiusz Bazanski <q3k@q3k.org>
+Copyright (c) 2018 Stafford Horne <shorne@gmail.com>
+Copyright (c) 2017-2018 Tim 'mithro' Ansell <me@mith.ro>
+Copyright (c) 2019 Tom Keddie <git@bronwenandtom.com>
+Copyright (c) 2019 Vamsi K Vytla <vamsi.vytla@gmail.com>
+Copyright (c) 2019 vytautasb <v.buitvydas@limemicro.com>
+Copyright (c) 2013 Werner Almesberger <werner@almesberger.net>
+Copyright (c) 2015-2016 whitequark <whitequark@whitequark.org>
+Copyright (c) 2015-2019 William D. Jones <thor0505@comcast.net>
+Copyright (c) 2013-2014 Yann Sionneau <yann.sionneau@gmail.com>
+Copyright (c) 2015 Yves Delley <hack@delley.net>
+Copyright (c) 2015 Zach Smith <IAmSparticle@gmail.com>
-# This file is Copyright (c) 2015 Yann Sionneau <yann@sionneau.net>
-# This file is Copyright (c) 2015 Florent Kermarrec <florent@enjoy-digital.fr>
-# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
-# This file is Copyright (c) 2018 Caleb Jamison <cbjamo@gmail.com>
+# This file is Copyright (c) 2015 Yann Sionneau <yann.sionneau@gmail.com>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
-# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
-# This file is Copyright (c) 2013 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
+# This file is Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com>
+# License: BSD
+
from litex.build.generic_platform import *
from litex.build.altera import AlteraPlatform
from litex.build.altera.programmer import USBBlaster
-# SPDX-License-Identifier: BSD-2-Clause
-#
-# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+# This file is Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+# License: BSD
from litex.build.generic_platform import *
from litex.build.altera import AlteraPlatform
-# SPDX-License-Identifier: BSD-2-Clause
-#
-# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+# This file is Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+# License: BSD
from litex.build.generic_platform import *
from litex.build.altera import AlteraPlatform
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from litex.build.generic_platform import *
from litex.build.xilinx import XilinxPlatform, VivadoProgrammer
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Yann Sionneau <ys@m-labs.hk>
+
from litex.build.generic_platform import *
from litex.build.xilinx import XilinxPlatform, VivadoProgrammer
+# This file is Copyright (c) 2018 Felix Held <felix-github@felixheld.de>
+# This file is Copyright (c) 2017-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from litex.build.generic_platform import *
from litex.build.xilinx import XilinxPlatform, VivadoProgrammer
-# This file is Copyright (c) 2016 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
from litex.build.generic_platform import *
from litex.build.xilinx import XilinxPlatform, VivadoProgrammer
-# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
-# This file is Copyright (c) 2015 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
# This file is Copyright (c) 2019 Michael Betz <michibetz@gmail.com>
# License: BSD
+
from litex.build.generic_platform import *
from litex.build.xilinx import XilinxPlatform, iMPACT
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from litex.build.generic_platform import *
from litex.build.lattice import LatticePlatform
from litex.build.lattice.programmer import TinyProgProgrammer
-# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
-# This file is Copyright (c) 2013 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
-# This file is Copyright (c) 2017 Serge 'q3k' Bazanski <serge@bazanski.pl>
+# This file is Copyright (c) 2017 Sergiusz Bazanski <q3k@q3k.org>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from litex.build.generic_platform import *
+# This file is Copyright (c) 2019 Vamsi K Vytla <vamsi.vytla@gmail.com>
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
+# License: BSD
+
#!/usr/bin/env python3
-#
-# SPDX-License-Identifier: BSD-2-Clause
-#
-# Copyright (C) 2019 Antony Pavlov <antonynpavlov@gmail.com>
-#
-# based on litex/boards/platforms/de0nano.py
-#
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
-#
-# SPDX-License-Identifier: BSD-2-Clause
-#
-# Copyright (C) 2019 Antony Pavlov <antonynpavlov@gmail.com>
-#
-# based on litex/boards/platforms/de0nano.py
-#
import argparse
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014-2015 Yann Sionneau <ys@m-labs.hk>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014 Yann Sionneau <ys@m-labs.hk>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 David Shah <dave@ds0.me>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 David Shah <dave@ds0.me>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 vytautasb <v.buitvydas@limemicro.com>
+# License: BSD
+
from migen.fhdl.module import Module
from migen.fhdl.specials import Instance
from migen.genlib.io import DifferentialInput, DifferentialOutput
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com>
+# License: BSD
+
+
from litex.build.generic_platform import GenericPlatform
from litex.build.altera import common, quartus
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import subprocess
from litex.build.generic_programmer import GenericProgrammer
-# This file is Copyright (c) 2013-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com>
+# This file is Copyright (c) 2019 vytautasb <v.buitvydas@limemicro.com>
# License: BSD
import os
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Yann Sionneau <ys@m-labs.hk>
+# License: BSD
+
import os
from migen.fhdl.structure import Signal
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
+
import os, sys
from litex.build import tools
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2019 David Shah <dave@ds0.me>
+# License: BSD
+
from migen.fhdl.module import Module
from migen.fhdl.specials import Instance, Tristate
from migen.fhdl.bitcontainer import value_bits_sign
-# This file is Copyright (c) 2015 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017-2018 Sergiusz Bazanski <q3k@q3k.org>
+# This file is Copyright (c) 2017 William D. Jones <thor0505@comcast.net>
# License: BSD
import os
-# This file is Copyright (c) 2016-2017 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2017-2018 William D. Jones <thor0505@comcast.net>
# License: BSD
+
import os
import sys
import subprocess
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
from litex.build.generic_platform import GenericPlatform
from litex.build.lattice import common, diamond, icestorm, trellis
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017-2018 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
import os
import subprocess
# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 David Shah <dave@ds0.me>
# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
# License: BSD
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from litex.build.generic_platform import GenericPlatform
from litex.build.microsemi import common, libero_soc
+# This file is Copyright (c) 2015 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
import subprocess
from litex.build.generic_programmer import GenericProgrammer
+# This file is Copyright (c) 2017 Pierre-Olivier Vauboin <po@lambdaconcept>
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import json
class SimConfig():
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 Pierre-Olivier Vauboin <po@lambdaconcept>
+# License: BSD
+
from migen.fhdl.structure import Signal
from migen.genlib.record import Record
-# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
-# 2017 Pierre-Olivier Vauboin <po@lambdaconcept.com>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 Pierre-Olivier Vauboin <po@lambdaconcept>
# License: BSD
import os
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2016-2017 Tim 'mithro' Ansell <mithro@mithis.com>
+# License: BSD
+
import os
import struct
from distutils.version import StrictVersion
+# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016-2018 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2015 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
import os
import sys
import subprocess
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2014-2015 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2017 bunnie <bunnie@kosagi.com>
+# This file is Copyright (c) 2018-2017 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2019 Larry Doolittle <ldoolitt@recycle.lbl.gov>
+
+# License: BSD
+
+
import os
import subprocess
import sys
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import os
from litex.build.generic_platform import GenericPlatform
+# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Robert Jordens <jordens@gmail.com>
+
+# License: BSD
+
import os
import sys
import subprocess
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2013-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2013-2017 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2016-2018 whitequark <whitequark@whitequark.org>
+# This file is Copyright (c) 2017 Adam Greig <adam@adamgreig.com>
+# This file is Copyright (c) 2016 Ben Reynwar <ben@reynwar.net>
+# This file is Copyright (c) 2018 David Craven <david@craven.ch>
+# This file is Copyright (c) 2015 Guy Hutchison <ghutchis@gmail.com>
+# This file is Copyright (c) 2013 Nina Engelhardt <nina.engelhardt@omnium-gatherum.de>
+# This file is Copyright (c) 2018 Robin Ole Heinemann <robin.ole.heinemann@t-online.de>
+
+# License: BSD
+
from functools import partial
from operator import itemgetter
import collections
+# This file is Copyright (c) 2015-2016 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2016-2018 whitequark <whitequark@whitequark.org>
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 N. Engelhardt <nakengelhardt@gmail.com>
+# This file is Copyright (c) 2018 Robin Ole Heinemann <robin.ole.heinemann@t-online.de>
+
+# License: BSD
+
import operator
import collections
import inspect
+# This file is Copyright (c) 2015-2016 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2018 whitequark <whitequark@whitequark.org>
+# This file is Copyright (c) 2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
+
from itertools import count
import tempfile
import os
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 Michael Betz <michibetz@gmail.com>
+# License: BSD
+
"""Clock Abstraction Modules"""
from migen import *
+# This file is Copyright (c) 2016-2017 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
"""
IBM's 8b/10b Encoding
+# This file is Copyright (c) 2017-2018 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
+
from litex.soc.cores.cpu.lm32 import LM32
from litex.soc.cores.cpu.mor1kx import MOR1KX
from litex.soc.cores.cpu.picorv32 import PicoRV32
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017-2019 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+# License: BSD
+
import os
from migen import *
+# This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import os
from migen import *
+# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2017 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+# License: BSD
+
#!/usr/bin/env python3
+
import os
from migen import *
+# This file is Copyright (c) 2016-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 Sergiusz Bazanski <q3k@q3k.org>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+# This file is Copyright (c) 2019 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
#!/usr/bin/env python3
+
import os
from migen import *
+# This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018-2019 Sean Cross <sean@xobs.io>
+# This file is Copyright (c) 2019 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2019 David Shah <dave@ds0.me>
+# This file is Copyright (c) 2019 Joanna Brozek <jbrozek@antmicro.com>
+# This file is Copyright (c) 2019 Kurt Kiefer <kekiefer@gmail.com>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+
+# License: BSD
+
import os
from migen import *
-# Copyright 2014-2015 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2014-2015 Robert Jordens <jordens@gmail.com>
+# License: BSD
from migen import *
+# This file is Copyright (c) 2017-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
from migen.genlib.cdc import MultiReg, GrayCounter
from migen.genlib.cdc import GrayDecoder
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
from migen import *
from migen.genlib.cdc import MultiReg
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
from migen import *
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
from migen import *
from migen.genlib.fsm import FSM, NextState
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
from operator import xor, add
from functools import reduce
+# This file is Copyright (c) 2017-2018 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2015-2017 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015-2017 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2016 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
from itertools import product
from migen import *
+# This file is Copyright (c) 2014 Yann Sionneau <ys@m-labs.hk>
+# This file is Copyright (c) 2014-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2013-2014 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2015-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+
+# License: BSD
+
+
from migen import *
from migen.genlib.misc import timeline
+# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# License: BSD
+
+
from migen import *
from litex.soc.interconnect.csr import *
+# This file is Copyright (c) 2014 Yann Sionneau <ys@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2018 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
from migen import *
from migen.genlib.record import Record
from migen.genlib.cdc import MultiReg
+# This file is Copyright (c) 2019 William D. Jones <thor0505@comcast.net>
+# This file is Copyright (c) 2019 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
+
from migen import *
from litex.soc.interconnect import wishbone
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+# This file is Copyright (c) 2018 Peter Gielda <pgielda@antmicro.com>
+# This file is Copyright (c) 2018 Sergiusz Bazanski <q3k@q3k.org>
+# This file is Copyright (c) 2016-2017 Tim 'mithro' Ansell <mithro@mithis.com>
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
+
import os
import subprocess
import struct
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+# This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+# This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
+# This file is Copyright (c) 2019 Mateusz Holenko <mholenko@antmicro.com>
+# This file is Copyright (c) 2013 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2018 Sean Cross <sean@xobs.io>
+# This file is Copyright (c) 2018 Sergiusz Bazanski <q3k@q3k.org>
+# This file is Copyright (c) 2018-2016 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2015 whitequark <whitequark@whitequark.org>
+# This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+# License: BSD
+
import os
from shutil import which
+# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+# This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+# This file is Copyright (c) 2019 Ilia Sergachev <ilia.sergachev@protonmail.ch>
+# This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
+# This file is Copyright (c) 2015 Robert Jordens <jordens@gmail.com>
+# This file is Copyright (c) 2018 Sean Cross <sean@xobs.io>
+# This file is Copyright (c) 2018 Stafford Horne <shorne@gmail.com>
+# This file is Copyright (c) 2018-2017 Tim 'mithro' Ansell <me@mith.ro>
+# This file is Copyright (c) 2015 whitequark <whitequark@whitequark.org>
+# This file is Copyright (c) 2014 Yann Sionneau <ys@m-labs.hk>
+# License: BSD
+
#!/usr/bin/env python3
+
import os
import struct
import inspect
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from math import log2
from migen import *
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import os
from migen import *
+# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
"""Avalon support for LiteX"""
from migen import *
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
"""AXI4 Full/Lite support for LiteX"""
from migen import *
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016-2019 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
+
"""
Configuration and Status Registers
**********************************
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016-2019 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
"""
CSR-2 bus
=========
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2016-2019 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
"""
The event manager provides a systematic way to generate standard interrupt
controllers.
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
import math
from migen import *
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
from migen.genlib.roundrobin import *
from migen.genlib.record import *
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import random
import math
from copy import deepcopy
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2018 Tim 'mithro' Ansell <me@mith.ro>
+# License: BSD
+
from functools import reduce
from operator import or_
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
from migen.genlib.misc import timeline
+# This file is Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
from migen import *
from migen.genlib.misc import chooser, WaitTimer
+// This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2018 Ewen McNeill <ewen@naos.co.nz>
+// This file is Copyright (c) 2018 Felix Held <felix-github@felixheld.de>
+// This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+// This file is Copyright (c) 2017 Tim 'mithro' Ansell <mithro@mithis.com>
+// This file is Copyright (c) 2018 William D. Jones <thor0505@comcast.net>
+// License: BSD
+
#include <stdio.h>
#include <console.h>
#include <uart.h>
+// This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+// License: BSD
+
+
#include <generated/csr.h>
#include <irq.h>
#include <uart.h>
+// This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2015 Yann Sionneau <ys@m-labs.hk>
+// This file is Copyright (c) 2015 whitequark <whitequark@whitequark.org>
+// This file is Copyright (c) 2019 Ambroz Bizjak <ambrop7@gmail.com>
+// This file is Copyright (c) 2019 Caleb Jamison <cbjamo@gmail.com>
+// This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+// This file is Copyright (c) 2018 Felix Held <felix-github@felixheld.de>
+// This file is Copyright (c) 2014 Florent Kermarec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+// This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
+// This file is Copyright (c) 2018 Sergiusz Bazanski <q3k@q3k.org>
+// This file is Copyright (c) 2016 Tim 'mithro' Ansell <mithro@mithis.com>
+
+// License: BSD
+
#include <stdio.h>
#include <stdlib.h>
#include <console.h>
+// This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2013-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2018 Chris Ballance <chris.ballance@physics.ox.ac.uk>
+// This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+// This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
+// This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
+// This file is Copyright (c) 2018 Sergiusz Bazanski <q3k@q3k.org>
+// This file is Copyright (c) 2018 Tim 'mithro' Ansell <me@mith.ro>
+// License: BSD
+
#include <generated/csr.h>
#include <stdio.h>
+// This file is Copyright (c) 2012-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+// License: BSD
+
#ifndef __SFL_H
#define __SFL_H
+// This file is Copyright (c) 2013 Werner Almesberger <werner@almesberger.net>
+// This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2018 Jean-François Nguyen <jf@lse.epita.fr>
+// This file is Copyright (c) 2013 Robert Jordens <jordens@gmail.com>
+// License: BSD
+
#include <generated/csr.h>
#include <generated/mem.h>
+// This file is Copyright (c) 2013 Werner Almesberger <werner@almesberger.net>
+// This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+// This file is Copyright (c) 2014-2015 Florent Kermarec <florent@enjoy-digital.fr>
+// This file is Copyright (c) 2017 Greg Darke <greg@tsukasa.net.au>
+// This file is Copyright (c) 2018 Ewen McNeill <ewen@naos.co.nz>
+
+// License: BSD
+
#include <stdint.h>
#include <string.h>
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2018 Dolu1990 <charles.papon.90@gmail.com>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016 Tim 'mithro' Ansell <mithro@mithis.com>
+# License: BSD
+
import socket
from litex.tools.remote.etherbone import EtherbonePacket, EtherboneRecord
+# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
#!/usr/bin/env python3
+
import os
import sys
import json
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2019 Sean Cross <sean@xobs.io>
+# This file is Copyright (c) 2018 Felix Held <felix-github@felixheld.de>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 Pierre-Olivier Vauboin <po@lambdaconcept>
+# License: BSD
+
#!/usr/bin/env python3
import argparse
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2015 Sebastien Bourdeauducq <sb@m-labs.hk>
+# This file is Copyright (c) 2016 whitequark <whitequark@whitequark.org>
+
+# License: BSD
+
#!/usr/bin/env python3
import sys
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import mmap
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# License: BSD
+
import serial
import struct
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016 Tim 'mithro' Ansell <mithro@mithis.com>
+# License: BSD
+
import socket
from litex.tools.remote.etherbone import EtherbonePacket, EtherboneRecord
+# This file is Copyright (c) 2019 Sean Cross <sean@xobs.io>
+# License: BSD
+
import usb.core
import time
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2016 Tim 'mithro' Ansell <mithro@mithis.com>
+# License: BSD
+
import csv
+# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr>
+# This file is Copyright (c) 2017 Tim Ansell <mithro@mithis.com>
+# License: BSD
+
import math
import struct