From 70610b23325cfb4cd7aba560e882790f5d94bcdc Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 23 Aug 2020 15:14:45 +0200 Subject: [PATCH] build: add SPDX License identifier and specify file is part of LiteX. --- litex/build/altera/common.py | 9 ++++++--- litex/build/altera/platform.py | 9 ++++++--- litex/build/altera/programmer.py | 7 +++++-- litex/build/altera/quartus.py | 11 +++++++---- litex/build/dfu.py | 7 +++++-- litex/build/generic_platform.py | 11 +++++++---- litex/build/generic_programmer.py | 9 ++++++--- litex/build/io.py | 9 ++++++--- litex/build/lattice/common.py | 11 +++++++---- litex/build/lattice/diamond.py | 11 +++++++---- litex/build/lattice/icestorm.py | 9 ++++++--- litex/build/lattice/platform.py | 9 ++++++--- litex/build/lattice/programmer.py | 9 ++++++--- litex/build/lattice/trellis.py | 11 +++++++---- litex/build/microsemi/common.py | 7 +++++-- litex/build/microsemi/libero_soc.py | 7 +++++-- litex/build/microsemi/platform.py | 7 +++++-- litex/build/openfpgaloader.py | 7 +++++-- litex/build/openocd.py | 11 +++++++---- litex/build/sim/config.py | 9 ++++++--- litex/build/sim/platform.py | 9 ++++++--- litex/build/sim/verilator.py | 9 ++++++--- litex/build/tools.py | 13 ++++++++----- litex/build/xilinx/common.py | 13 ++++++++----- litex/build/xilinx/ise.py | 20 +++++++++++--------- litex/build/xilinx/platform.py | 9 ++++++--- litex/build/xilinx/programmer.py | 12 +++++++----- litex/build/xilinx/symbiflow.py | 9 ++++++--- litex/build/xilinx/vivado.py | 7 +++++-- 29 files changed, 183 insertions(+), 98 deletions(-) diff --git a/litex/build/altera/common.py b/litex/build/altera/common.py index e9adf2a32..942f93a59 100644 --- a/litex/build/altera/common.py +++ b/litex/build/altera/common.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2019 vytautasb -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2019 vytautasb +# SPDX-License-Identifier: BSD-2-Clause from migen import * from migen.fhdl.module import Module diff --git a/litex/build/altera/platform.py b/litex/build/altera/platform.py index 2f03fc720..1d8898655 100644 --- a/litex/build/altera/platform.py +++ b/litex/build/altera/platform.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2019 msloniewski -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2019 msloniewski +# SPDX-License-Identifier: BSD-2-Clause import os diff --git a/litex/build/altera/programmer.py b/litex/build/altera/programmer.py index c389635b6..84cf6882c 100644 --- a/litex/build/altera/programmer.py +++ b/litex/build/altera/programmer.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2015-2018 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2018 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import subprocess diff --git a/litex/build/altera/quartus.py b/litex/build/altera/quartus.py index a6c42a074..b1aff126b 100644 --- a/litex/build/altera/quartus.py +++ b/litex/build/altera/quartus.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2014-2019 Florent Kermarrec -# This file is Copyright (c) 2019 msloniewski -# This file is Copyright (c) 2019 vytautasb -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2014-2019 Florent Kermarrec +# Copyright (c) 2019 msloniewski +# Copyright (c) 2019 vytautasb +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess diff --git a/litex/build/dfu.py b/litex/build/dfu.py index 9890e1b81..67f278c3f 100644 --- a/litex/build/dfu.py +++ b/litex/build/dfu.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import subprocess diff --git a/litex/build/generic_platform.py b/litex/build/generic_platform.py index 235eee7e2..00cd6a040 100644 --- a/litex/build/generic_platform.py +++ b/litex/build/generic_platform.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq -# This file is Copyright (c) 2014-2019 Florent Kermarrec -# This file is Copyright (c) 2015 Yann Sionneau -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2013-2014 Sebastien Bourdeauducq +# Copyright (c) 2014-2019 Florent Kermarrec +# Copyright (c) 2015 Yann Sionneau +# SPDX-License-Identifier: BSD-2-Clause import os diff --git a/litex/build/generic_programmer.py b/litex/build/generic_programmer.py index cb0597d1d..50ae7f3a5 100644 --- a/litex/build/generic_programmer.py +++ b/litex/build/generic_programmer.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os diff --git a/litex/build/io.py b/litex/build/io.py index e0315ba8a..dde6b6f2a 100644 --- a/litex/build/io.py +++ b/litex/build/io.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2020 Florent Kermarrec -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2020 Florent Kermarrec +# Copyright (c) 2015 Sebastien Bourdeauducq +# SPDX-License-Identifier: BSD-2-Clause from migen import * from migen.fhdl.specials import Special, Tristate diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index fbb446db8..14cc68276 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015-2020 Florent Kermarrec -# This file is Copyright (c) 2017 William D. Jones -# This file is Copyright (c) 2019 David Shah -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2020 Florent Kermarrec +# Copyright (c) 2017 William D. Jones +# Copyright (c) 2019 David Shah +# SPDX-License-Identifier: BSD-2-Clause from migen.fhdl.module import Module from migen.fhdl.specials import Instance, Tristate diff --git a/litex/build/lattice/diamond.py b/litex/build/lattice/diamond.py index b8ac17a1f..9868d1117 100644 --- a/litex/build/lattice/diamond.py +++ b/litex/build/lattice/diamond.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2017-2018 Sergiusz Bazanski -# This file is Copyright (c) 2017 William D. Jones -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2017-2018 Sergiusz Bazanski +# Copyright (c) 2017 William D. Jones +# SPDX-License-Identifier: BSD-2-Clause import os import re diff --git a/litex/build/lattice/icestorm.py b/litex/build/lattice/icestorm.py index 059363c04..15724a96f 100644 --- a/litex/build/lattice/icestorm.py +++ b/litex/build/lattice/icestorm.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017-2018 William D. Jones -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2017-2018 William D. Jones +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os diff --git a/litex/build/lattice/platform.py b/litex/build/lattice/platform.py index 7380b45e0..1dc1a8a2c 100644 --- a/litex/build/lattice/platform.py +++ b/litex/build/lattice/platform.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2017 William D. Jones -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2017 William D. Jones +# SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import GenericPlatform from litex.build.lattice import common, diamond, icestorm, trellis diff --git a/litex/build/lattice/programmer.py b/litex/build/lattice/programmer.py index 96204e189..999901850 100644 --- a/litex/build/lattice/programmer.py +++ b/litex/build/lattice/programmer.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2017-2018 William D. Jones -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2017-2018 William D. Jones +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 352d3d97f..5672d7481 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# This file is Copyright (c) 2018-2019 David Shah -# This file is Copyright (c) 2018 William D. Jones -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# Copyright (c) 2018-2019 David Shah +# Copyright (c) 2018 William D. Jones +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess diff --git a/litex/build/microsemi/common.py b/litex/build/microsemi/common.py index 7e7a309ea..f3c9d85c1 100644 --- a/litex/build/microsemi/common.py +++ b/litex/build/microsemi/common.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause from migen import * from migen.genlib.resetsync import AsyncResetSynchronizer diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index 5b39861e3..8ecee06e6 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import sys diff --git a/litex/build/microsemi/platform.py b/litex/build/microsemi/platform.py index c8f13bd89..18c739010 100644 --- a/litex/build/microsemi/platform.py +++ b/litex/build/microsemi/platform.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import GenericPlatform from litex.build.microsemi import common, libero_soc diff --git a/litex/build/openfpgaloader.py b/litex/build/openfpgaloader.py index 0aeacb766..8189be13f 100644 --- a/litex/build/openfpgaloader.py +++ b/litex/build/openfpgaloader.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import subprocess diff --git a/litex/build/openocd.py b/litex/build/openocd.py index 392f16a6b..4f2b9d48c 100644 --- a/litex/build/openocd.py +++ b/litex/build/openocd.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015-2017 Robert Jordens -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2017 Robert Jordens +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import subprocess diff --git a/litex/build/sim/config.py b/litex/build/sim/config.py index 154cf680b..6d62dbb8e 100644 --- a/litex/build/sim/config.py +++ b/litex/build/sim/config.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017 Pierre-Olivier Vauboin -# This file is Copyright (c) 2018 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2017 Pierre-Olivier Vauboin +# Copyright (c) 2018 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import json import math diff --git a/litex/build/sim/platform.py b/litex/build/sim/platform.py index 83de4a27f..d7df3c36f 100644 --- a/litex/build/sim/platform.py +++ b/litex/build/sim/platform.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2018 Florent Kermarrec -# This file is Copyright (c) 2017 Pierre-Olivier Vauboin -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2018 Florent Kermarrec +# Copyright (c) 2017 Pierre-Olivier Vauboin +# SPDX-License-Identifier: BSD-2-Clause from migen.fhdl.structure import Signal from migen.genlib.record import Record diff --git a/litex/build/sim/verilator.py b/litex/build/sim/verilator.py index 2f5e8fca4..9705a1576 100644 --- a/litex/build/sim/verilator.py +++ b/litex/build/sim/verilator.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2017 Pierre-Olivier Vauboin -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2017 Pierre-Olivier Vauboin +# SPDX-License-Identifier: BSD-2-Clause import os import sys diff --git a/litex/build/tools.py b/litex/build/tools.py index 16dd8af9a..7266dc012 100644 --- a/litex/build/tools.py +++ b/litex/build/tools.py @@ -1,8 +1,11 @@ -# This file is Copyright (c) 2013-2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2014-2019 Florent Kermarrec -# This file is Copyright (c) 2014 Robert Jordens -# This file is Copyright (c) 2016-2017 Tim 'mithro' Ansell -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2013-2015 Sebastien Bourdeauducq +# Copyright (c) 2014-2019 Florent Kermarrec +# Copyright (c) 2014 Robert Jordens +# Copyright (c) 2016-2017 Tim 'mithro' Ansell +# SPDX-License-Identifier: BSD-2-Clause import os import struct diff --git a/litex/build/xilinx/common.py b/litex/build/xilinx/common.py index 40fbda32c..c4ee2e402 100644 --- a/litex/build/xilinx/common.py +++ b/litex/build/xilinx/common.py @@ -1,8 +1,11 @@ -# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2014-2020 Florent Kermarrec -# This file is Copyright (c) 2016-2018 Robert Jordens -# This file is Copyright (c) 2015 William D. Jones -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2014-2015 Sebastien Bourdeauducq +# Copyright (c) 2014-2020 Florent Kermarrec +# Copyright (c) 2016-2018 Robert Jordens +# Copyright (c) 2015 William D. Jones +# SPDX-License-Identifier: BSD-2-Clause import os import sys diff --git a/litex/build/xilinx/ise.py b/litex/build/xilinx/ise.py index 34b82ae30..34fab5f1e 100644 --- a/litex/build/xilinx/ise.py +++ b/litex/build/xilinx/ise.py @@ -1,12 +1,14 @@ -# This file is Copyright (c) 2014-2019 Florent Kermarrec -# This file is Copyright (c) 2014-2015 Robert Jordens -# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2017 bunnie -# This file is Copyright (c) 2018-2017 Tim 'mithro' Ansell -# This file is Copyright (c) 2018 William D. Jones -# This file is Copyright (c) 2019 Larry Doolittle - -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2014-2019 Florent Kermarrec +# Copyright (c) 2014-2015 Robert Jordens +# Copyright (c) 2014-2015 Sebastien Bourdeauducq +# Copyright (c) 2017 bunnie +# Copyright (c) 2018-2017 Tim 'mithro' Ansell +# Copyright (c) 2018 William D. Jones +# Copyright (c) 2019 Larry Doolittle +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess diff --git a/litex/build/xilinx/platform.py b/litex/build/xilinx/platform.py index 57d9ef50b..82df7d4bf 100644 --- a/litex/build/xilinx/platform.py +++ b/litex/build/xilinx/platform.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2015-2018 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2015-2018 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os diff --git a/litex/build/xilinx/programmer.py b/litex/build/xilinx/programmer.py index eddbda5a8..32d032dc1 100644 --- a/litex/build/xilinx/programmer.py +++ b/litex/build/xilinx/programmer.py @@ -1,8 +1,10 @@ -# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2014-2019 Florent Kermarrec -# This file is Copyright (c) 2015 Robert Jordens - -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2014-2015 Sebastien Bourdeauducq +# Copyright (c) 2014-2019 Florent Kermarrec +# Copyright (c) 2015 Robert Jordens +# SPDX-License-Identifier: BSD-2-Clause import os import sys diff --git a/litex/build/xilinx/symbiflow.py b/litex/build/xilinx/symbiflow.py index 89067e23e..c0beb340d 100644 --- a/litex/build/xilinx/symbiflow.py +++ b/litex/build/xilinx/symbiflow.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2020 Antmicro -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2020 Antmicro +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index 90b5330ee..071879d3b 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2014-2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteX. +# +# Copyright (c) 2014-2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import subprocess