diff --git a/bench/arty.py b/bench/arty.py index 6c9af0c..ce80026 100755 --- a/bench/arty.py +++ b/bench/arty.py @@ -1,7 +1,10 @@ #!/usr/bin/env python3 -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import argparse diff --git a/bench/genesys2.py b/bench/genesys2.py index fb48c2a..2431646 100755 --- a/bench/genesys2.py +++ b/bench/genesys2.py @@ -1,7 +1,10 @@ #!/usr/bin/env python3 -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import argparse diff --git a/examples/arty.yml b/examples/arty.yml index 6e257da..7ec3670 100644 --- a/examples/arty.yml +++ b/examples/arty.yml @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ diff --git a/examples/genesys2.yml b/examples/genesys2.yml index 04261b7..c1c0108 100644 --- a/examples/genesys2.yml +++ b/examples/genesys2.yml @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ diff --git a/examples/kcu105.yml b/examples/kcu105.yml index fa1352d..8b7a2d3 100644 --- a/examples/kcu105.yml +++ b/examples/kcu105.yml @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ diff --git a/examples/nexys4ddr.yml b/examples/nexys4ddr.yml index c521136..26cc87c 100644 --- a/examples/nexys4ddr.yml +++ b/examples/nexys4ddr.yml @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ diff --git a/examples/versa_ecp5.yml b/examples/versa_ecp5.yml index 2579bf8..a34a602 100644 --- a/examples/versa_ecp5.yml +++ b/examples/versa_ecp5.yml @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Stefan Schrijvers -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Stefan Schrijvers +# SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ diff --git a/litedram/common.py b/litedram/common.py index 346b2d3..6c16a10 100644 --- a/litedram/common.py +++ b/litedram/common.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# This file is Copyright (c) 2018 bunnie -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# Copyright (c) 2018 bunnie +# SPDX-License-Identifier: BSD-2-Clause import math from functools import reduce diff --git a/litedram/core/__init__.py b/litedram/core/__init__.py index 86aaac6..4e624de 100644 --- a/litedram/core/__init__.py +++ b/litedram/core/__init__.py @@ -1,3 +1,9 @@ +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause + from migen import * from litex.soc.interconnect.csr import AutoCSR diff --git a/litedram/core/bandwidth.py b/litedram/core/bandwidth.py index 522ee6a..986ba75 100644 --- a/litedram/core/bandwidth.py +++ b/litedram/core/bandwidth.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM Bandwidth.""" diff --git a/litedram/core/bankmachine.py b/litedram/core/bankmachine.py index e98e1ca..55512bc 100644 --- a/litedram/core/bankmachine.py +++ b/litedram/core/bankmachine.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM BankMachine (Rows/Columns management).""" diff --git a/litedram/core/controller.py b/litedram/core/controller.py index 2f043f5..2b2fa3b 100644 --- a/litedram/core/controller.py +++ b/litedram/core/controller.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM Controller.""" diff --git a/litedram/core/crossbar.py b/litedram/core/crossbar.py index 582e003..624d125 100644 --- a/litedram/core/crossbar.py +++ b/litedram/core/crossbar.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM Crossbar.""" diff --git a/litedram/core/multiplexer.py b/litedram/core/multiplexer.py index acc7b5c..58f897a 100644 --- a/litedram/core/multiplexer.py +++ b/litedram/core/multiplexer.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM Multiplexer.""" diff --git a/litedram/core/refresher.py b/litedram/core/refresher.py index c04b372..6adb14b 100644 --- a/litedram/core/refresher.py +++ b/litedram/core/refresher.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2015 Sebastien Bourdeauducq +# SPDX-License-Identifier: BSD-2-Clause """LiteDRAM Refresher.""" diff --git a/litedram/dfii.py b/litedram/dfii.py index c32dd19..3aa50e7 100644 --- a/litedram/dfii.py +++ b/litedram/dfii.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause from migen import * diff --git a/litedram/frontend/adapter.py b/litedram/frontend/adapter.py index da3a7dc..9bab787 100644 --- a/litedram/frontend/adapter.py +++ b/litedram/frontend/adapter.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2016-2020 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2020 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause from migen import * diff --git a/litedram/frontend/axi.py b/litedram/frontend/axi.py index d310f65..9b80778 100644 --- a/litedram/frontend/axi.py +++ b/litedram/frontend/axi.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause """ AXI frontend for LiteDRAM diff --git a/litedram/frontend/bist.py b/litedram/frontend/bist.py index c9c7c29..98d2014 100644 --- a/litedram/frontend/bist.py +++ b/litedram/frontend/bist.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2016 Tim 'mithro' Ansell -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2016 Tim 'mithro' Ansell +# SPDX-License-Identifier: BSD-2-Clause """Built In Self Test (BIST) modules for testing LiteDRAM functionality.""" diff --git a/litedram/frontend/dma.py b/litedram/frontend/dma.py index 0919bd1..c4649c5 100644 --- a/litedram/frontend/dma.py +++ b/litedram/frontend/dma.py @@ -1,8 +1,11 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# This file is Copyright (c) 2016 Tim 'mithro' Ansell -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# Copyright (c) 2016 Tim 'mithro' Ansell +# SPDX-License-Identifier: BSD-2-Clause """Direct Memory Access (DMA) reader and writer modules.""" diff --git a/litedram/frontend/ecc.py b/litedram/frontend/ecc.py index 71a2019..1c704a7 100644 --- a/litedram/frontend/ecc.py +++ b/litedram/frontend/ecc.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause """ ECC frontend for LiteDRAM diff --git a/litedram/frontend/fifo.py b/litedram/frontend/fifo.py index da6334d..d1cf533 100644 --- a/litedram/frontend/fifo.py +++ b/litedram/frontend/fifo.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2018-2020 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2020 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause from migen import * diff --git a/litedram/frontend/wishbone.py b/litedram/frontend/wishbone.py index 61332ae..8be1646 100644 --- a/litedram/frontend/wishbone.py +++ b/litedram/frontend/wishbone.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2016-2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause """Wishbone frontend for LiteDRAM""" diff --git a/litedram/gen.py b/litedram/gen.py index 2a3c979..edc1f25 100755 --- a/litedram/gen.py +++ b/litedram/gen.py @@ -1,8 +1,11 @@ #!/usr/bin/env python3 -# This file is Copyright (c) 2018-2020 Florent Kermarrec -# This file is Copyright (c) 2020 Stefan Schrijvers -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2020 Florent Kermarrec +# Copyright (c) 2020 Stefan Schrijvers +# SPDX-License-Identifier: BSD-2-Clause """ LiteDRAM standalone core generator diff --git a/litedram/init.py b/litedram/init.py index 483807c..d93d5c8 100644 --- a/litedram/init.py +++ b/litedram/init.py @@ -1,10 +1,13 @@ -# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq -# This file is Copyright (c) 2013-2020 Florent Kermarrec -# This file is Copyright (c) 2017 whitequark -# This file is Copyright (c) 2014 Yann Sionneau -# This file is Copyright (c) 2018 bunnie -# This file is Copyright (c) 2019 Gabriel L. Somlo -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2013-2014 Sebastien Bourdeauducq +# Copyright (c) 2013-2020 Florent Kermarrec +# Copyright (c) 2017 whitequark +# Copyright (c) 2014 Yann Sionneau +# Copyright (c) 2018 bunnie +# Copyright (c) 2019 Gabriel L. Somlo +# SPDX-License-Identifier: BSD-2-Clause from migen import log2_int diff --git a/litedram/modules.py b/litedram/modules.py index c63cf35..d77a2af 100644 --- a/litedram/modules.py +++ b/litedram/modules.py @@ -1,16 +1,19 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq -# This file is Copyright (c) 2015-2019 Florent Kermarrec -# This file is Copyright (c) 2018 John Sully -# This file is Copyright (c) 2019 Ambroz Bizjak -# This file is Copyright (c) 2019 Antony Pavlov -# This file is Copyright (c) 2018 bunnie -# This file is Copyright (c) 2018 David Shah -# This file is Copyright (c) 2019 Steve Haynal - VSD Engineering -# This file is Copyright (c) 2018 Tim 'mithro' Ansell -# This file is Copyright (c) 2018 Daniel Kucera -# This file is Copyright (c) 2018 Mikołaj Sowiński -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# Copyright (c) 2015-2019 Florent Kermarrec +# Copyright (c) 2018 John Sully +# Copyright (c) 2019 Ambroz Bizjak +# Copyright (c) 2019 Antony Pavlov +# Copyright (c) 2018 bunnie +# Copyright (c) 2018 David Shah +# Copyright (c) 2019 Steve Haynal - VSD Engineering +# Copyright (c) 2018 Tim 'mithro' Ansell +# Copyright (c) 2018 Daniel Kucera +# Copyright (c) 2018 Mikołaj Sowiński +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause from math import ceil from collections import namedtuple diff --git a/litedram/phy/dfi.py b/litedram/phy/dfi.py index 2948556..8bf9063 100644 --- a/litedram/phy/dfi.py +++ b/litedram/phy/dfi.py @@ -1,4 +1,8 @@ -# This file is Copyright (c) 2015 Sebastien Bourdeauducq +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015 Sebastien Bourdeauducq +# SPDX-License-Identifier: BSD-2-Clause from migen import * from migen.genlib.record import * diff --git a/litedram/phy/ecp5ddrphy.py b/litedram/phy/ecp5ddrphy.py index 53618db..304b774 100644 --- a/litedram/phy/ecp5ddrphy.py +++ b/litedram/phy/ecp5ddrphy.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2019 David Shah -# This file is Copyright (c) 2019-2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2019 David Shah +# Copyright (c) 2019-2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause # 1:2 frequency-ratio DDR3 PHY for Lattice's ECP5 # DDR3: 800 MT/s diff --git a/litedram/phy/gensdrphy.py b/litedram/phy/gensdrphy.py index f95e3b2..70243b6 100644 --- a/litedram/phy/gensdrphy.py +++ b/litedram/phy/gensdrphy.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2012-2020 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2012-2020 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause # 1:1 frequency-ratio Generic SDR PHY diff --git a/litedram/phy/model.py b/litedram/phy/model.py index fae3c96..e6fd008 100644 --- a/litedram/phy/model.py +++ b/litedram/phy/model.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2015-2020 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015-2020 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause # SDRAM simulation PHY at DFI level tested with SDR/DDR/DDR2/LPDDR/DDR3 # TODO: diff --git a/litedram/phy/s6ddrphy.py b/litedram/phy/s6ddrphy.py index 0f91e90..011fdd6 100644 --- a/litedram/phy/s6ddrphy.py +++ b/litedram/phy/s6ddrphy.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2012 Sebastien Bourdeauducq -# This file is Copyright (c) 2012-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2012 Sebastien Bourdeauducq +# Copyright (c) 2012-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause # 1:2 and 1:4 frequency-ratio DDR / LPDDR / DDR2 / DDR3 PHYs for Spartan-6 # diff --git a/litedram/phy/s7ddrphy.py b/litedram/phy/s7ddrphy.py index 33d97b7..a31a68f 100644 --- a/litedram/phy/s7ddrphy.py +++ b/litedram/phy/s7ddrphy.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 LiteDRAM. +# +# Copyright (c) 2015-2020 Florent Kermarrec +# Copyright (c) 2015 Sebastien Bourdeauducq +# SPDX-License-Identifier: BSD-2-Clause # 1:4, 1:2 frequency-ratio DDR2/DDR3 PHY for Xilinx's Series7 # DDR2: 400, 533, 667, 800 and 1066 MT/s diff --git a/litedram/phy/usddrphy.py b/litedram/phy/usddrphy.py index 27b0d79..898768d 100644 --- a/litedram/phy/usddrphy.py +++ b/litedram/phy/usddrphy.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2015-2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2015-2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause # 1:4 frequency-ratio DDR3/DDR4 PHY for Kintex/Virtex Ultrascale (Plus) # DDR3: 800, 1066, 1333 and 1600 MT/s diff --git a/test/benchmark.py b/test/benchmark.py index 2a71126..0f274d2 100755 --- a/test/benchmark.py +++ b/test/benchmark.py @@ -1,7 +1,10 @@ #!/usr/bin/env python3 -# This file is Copyright (c) 2020 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import csv import logging diff --git a/test/common.py b/test/common.py index d46c2d8..b058e4c 100644 --- a/test/common.py +++ b/test/common.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2016-2019 Florent Kermarrec -# This file is Copyright (c) 2016 Tim 'mithro' Ansell -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2019 Florent Kermarrec +# Copyright (c) 2016 Tim 'mithro' Ansell +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import os import random diff --git a/test/gen_access_pattern.py b/test/gen_access_pattern.py index ba52145..21464a7 100755 --- a/test/gen_access_pattern.py +++ b/test/gen_access_pattern.py @@ -1,5 +1,11 @@ #!/usr/bin/env python3 +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause + import random import argparse diff --git a/test/gen_config.py b/test/gen_config.py index b778c1f..b648f64 100755 --- a/test/gen_config.py +++ b/test/gen_config.py @@ -1,5 +1,11 @@ #!/usr/bin/env python3 +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause + import sys import json import pprint diff --git a/test/run_benchmarks.py b/test/run_benchmarks.py index 8ae80bf..0a7c38b 100755 --- a/test/run_benchmarks.py +++ b/test/run_benchmarks.py @@ -1,7 +1,10 @@ #!/usr/bin/env python3 -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause # Limitations/TODO # - add configurable sdram_clk_freq - using hardcoded value now diff --git a/test/test_adaptation.py b/test/test_adaptation.py index 7c2722b..87177fa 100644 --- a/test/test_adaptation.py +++ b/test/test_adaptation.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017-2019 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2017-2019 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_adapter.py b/test/test_adapter.py index 7c2722b..87177fa 100644 --- a/test/test_adapter.py +++ b/test/test_adapter.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2017-2019 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2017-2019 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_axi.py b/test/test_axi.py index df9eb1d..1e7302d 100644 --- a/test/test_axi.py +++ b/test/test_axi.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_bandwidth.py b/test/test_bandwidth.py index adca81f..7db0ddc 100644 --- a/test/test_bandwidth.py +++ b/test/test_bandwidth.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import random import unittest diff --git a/test/test_bankmachine.py b/test/test_bankmachine.py index f676d0d..21cf895 100644 --- a/test/test_bankmachine.py +++ b/test/test_bankmachine.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import math import unittest diff --git a/test/test_bist.py b/test/test_bist.py index 3be4cd7..368119a 100644 --- a/test/test_bist.py +++ b/test/test_bist.py @@ -1,7 +1,10 @@ -# This file is Copyright (c) 2016-2018 Florent Kermarrec -# This file is Copyright (c) 2016 Tim 'mithro' Ansell -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2016-2018 Florent Kermarrec +# Copyright (c) 2016 Tim 'mithro' Ansell +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_command_chooser.py b/test/test_command_chooser.py index b34323d..391e1f9 100644 --- a/test/test_command_chooser.py +++ b/test/test_command_chooser.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_crossbar.py b/test/test_crossbar.py index d76d9e7..b9b2e5b 100644 --- a/test/test_crossbar.py +++ b/test/test_crossbar.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import random import unittest diff --git a/test/test_dma.py b/test/test_dma.py index 138a13a..29604d7 100644 --- a/test/test_dma.py +++ b/test/test_dma.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_ecc.py b/test/test_ecc.py index 2da84da..7e45bf8 100644 --- a/test/test_ecc.py +++ b/test/test_ecc.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_examples.py b/test/test_examples.py index 54cba0f..fe70304 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import os diff --git a/test/test_fifo.py b/test/test_fifo.py index 1cb04ac..15aeec1 100644 --- a/test/test_fifo.py +++ b/test/test_fifo.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2019 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_init.py b/test/test_init.py index c956871..8c9e45d 100644 --- a/test/test_init.py +++ b/test/test_init.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import os import filecmp diff --git a/test/test_modules.py b/test/test_modules.py index 3abcb0c..bdae3a2 100644 --- a/test/test_modules.py +++ b/test/test_modules.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import os import csv diff --git a/test/test_multiplexer.py b/test/test_multiplexer.py index 41816af..9ef1fc6 100644 --- a/test/test_multiplexer.py +++ b/test/test_multiplexer.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import copy import random diff --git a/test/test_refresh.py b/test/test_refresh.py index 0046ae8..d47c86c 100644 --- a/test/test_refresh.py +++ b/test/test_refresh.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_steerer.py b/test/test_steerer.py index a37fdf5..ed8ff1e 100644 --- a/test/test_steerer.py +++ b/test/test_steerer.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest diff --git a/test/test_timing.py b/test/test_timing.py index 1fbc212..387ac27 100644 --- a/test/test_timing.py +++ b/test/test_timing.py @@ -1,5 +1,8 @@ -# This file is Copyright (c) 2019 Florent Kermarrec -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2019 Florent Kermarrec +# SPDX-License-Identifier: BSD-2-Clause import unittest import random diff --git a/test/test_wishbone.py b/test/test_wishbone.py index 9a934ac..8018008 100644 --- a/test/test_wishbone.py +++ b/test/test_wishbone.py @@ -1,6 +1,9 @@ -# This file is Copyright (c) 2018-2019 Florent Kermarrec -# This file is Copyright (c) 2020 Antmicro -# License: BSD +# +# This file is part of LiteDRAM. +# +# Copyright (c) 2018-2019 Florent Kermarrec +# Copyright (c) 2020 Antmicro +# SPDX-License-Identifier: BSD-2-Clause import unittest