From aeddb937296d30aee98fed2506fc9b79938c7095 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 24 Jun 2019 12:13:30 +0200 Subject: [PATCH] add copyright header to all files, udpate. --- litex_boards/community/platforms/de10lite.py | 3 +++ litex_boards/community/platforms/de1soc.py | 5 ++--- litex_boards/community/platforms/de2_115.py | 5 ++--- litex_boards/community/platforms/sp605.py | 1 + litex_boards/community/targets/ac701.py | 6 +++++- litex_boards/community/targets/de10lite.py | 3 +++ litex_boards/community/targets/de1soc.py | 10 +++------- litex_boards/community/targets/de2_115.py | 10 +++------- litex_boards/official/platforms/arty.py | 12 ++++++------ litex_boards/official/platforms/avalanche.py | 2 +- litex_boards/official/platforms/de0nano.py | 2 +- litex_boards/official/platforms/genesys2.py | 3 +++ litex_boards/official/platforms/kc705.py | 4 ++++ litex_boards/official/platforms/kcu105.py | 3 +++ litex_boards/official/platforms/machxo3.py | 2 +- litex_boards/official/platforms/nexys4ddr.py | 2 +- litex_boards/official/platforms/nexys_video.py | 2 +- litex_boards/official/platforms/versa_ecp3.py | 2 +- litex_boards/official/platforms/versa_ecp5.py | 3 ++- litex_boards/official/targets/arty.py | 5 ++++- litex_boards/official/targets/de0nano.py | 3 +++ litex_boards/official/targets/genesys2.py | 5 ++++- litex_boards/official/targets/kc705.py | 7 ++++++- litex_boards/official/targets/kcu105.py | 5 ++++- litex_boards/official/targets/minispartan6.py | 5 +++++ litex_boards/official/targets/nexys4ddr.py | 5 ++++- litex_boards/official/targets/nexys_video.py | 5 ++++- litex_boards/official/targets/versa_ecp5.py | 6 +++++- litex_boards/partner/platforms/fomu_evt.py | 4 ++++ litex_boards/partner/platforms/fomu_hacker.py | 3 +++ litex_boards/partner/platforms/fomu_pvt.py | 3 +++ litex_boards/partner/platforms/netv2.py | 2 ++ litex_boards/partner/platforms/tinyfpga_bx.py | 4 ++++ litex_boards/partner/platforms/ulx3s.py | 2 +- litex_boards/partner/targets/fomu.py | 3 +++ litex_boards/partner/targets/netv2.py | 5 ++++- litex_boards/partner/targets/ulx3s.py | 6 +++++- 37 files changed, 114 insertions(+), 44 deletions(-) diff --git a/litex_boards/community/platforms/de10lite.py b/litex_boards/community/platforms/de10lite.py index ace957b..639d200 100644 --- a/litex_boards/community/platforms/de10lite.py +++ b/litex_boards/community/platforms/de10lite.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 msloniewski +# License: BSD + from litex.build.generic_platform import * from litex.build.altera import AlteraPlatform from litex.build.altera.programmer import USBBlaster diff --git a/litex_boards/community/platforms/de1soc.py b/litex_boards/community/platforms/de1soc.py index 87db32e..308c421 100644 --- a/litex_boards/community/platforms/de1soc.py +++ b/litex_boards/community/platforms/de1soc.py @@ -1,6 +1,5 @@ -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2019 Antony Pavlov +# This file is Copyright (c) 2019 Antony Pavlov +# License: BSD from litex.build.generic_platform import * from litex.build.altera import AlteraPlatform diff --git a/litex_boards/community/platforms/de2_115.py b/litex_boards/community/platforms/de2_115.py index b04467d..499663e 100644 --- a/litex_boards/community/platforms/de2_115.py +++ b/litex_boards/community/platforms/de2_115.py @@ -1,6 +1,5 @@ -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2019 Antony Pavlov +# This file is Copyright (c) 2019 Antony Pavlov +# License: BSD from litex.build.generic_platform import * from litex.build.altera import AlteraPlatform diff --git a/litex_boards/community/platforms/sp605.py b/litex_boards/community/platforms/sp605.py index e8b26f4..cbf0a56 100644 --- a/litex_boards/community/platforms/sp605.py +++ b/litex_boards/community/platforms/sp605.py @@ -1,6 +1,7 @@ # This file is Copyright (c) 2019 Michael Betz # License: BSD + from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, iMPACT diff --git a/litex_boards/community/targets/ac701.py b/litex_boards/community/targets/ac701.py index a8c73a5..20d5811 100755 --- a/litex_boards/community/targets/ac701.py +++ b/litex_boards/community/targets/ac701.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2019 Vamsi K Vytla +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -17,7 +21,7 @@ from litedram.phy import s7ddrphy from liteeth.phy.a7_gtp import QPLLSettings, QPLL from liteeth.phy.a7_1000basex import A7_1000BASEX from liteeth.phy.s7rgmii import LiteEthPHYRGMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/community/targets/de10lite.py b/litex_boards/community/targets/de10lite.py index a3a2aa0..31e9371 100755 --- a/litex_boards/community/targets/de10lite.py +++ b/litex_boards/community/targets/de10lite.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2019 msloniewski +# License: BSD + import argparse from migen import * diff --git a/litex_boards/community/targets/de1soc.py b/litex_boards/community/targets/de1soc.py index db5c3d1..254b0c7 100755 --- a/litex_boards/community/targets/de1soc.py +++ b/litex_boards/community/targets/de1soc.py @@ -1,11 +1,7 @@ #!/usr/bin/env python3 -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (C) 2019 Antony Pavlov -# -# based on litex/boards/platforms/de0nano.py -# + +# This file is Copyright (c) 2019 Antony Pavlov +# License: BSD import argparse diff --git a/litex_boards/community/targets/de2_115.py b/litex_boards/community/targets/de2_115.py index 295a90a..a9c7d51 100755 --- a/litex_boards/community/targets/de2_115.py +++ b/litex_boards/community/targets/de2_115.py @@ -1,11 +1,7 @@ #!/usr/bin/env python3 -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (C) 2019 Antony Pavlov -# -# based on litex/boards/platforms/de0nano.py -# + +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD import argparse diff --git a/litex_boards/official/platforms/arty.py b/litex_boards/official/platforms/arty.py index 36d64a3..2e5af33 100644 --- a/litex_boards/official/platforms/arty.py +++ b/litex_boards/official/platforms/arty.py @@ -1,7 +1,5 @@ -# This file is Copyright (c) 2015 Yann Sionneau -# This file is Copyright (c) 2015 Florent Kermarrec -# This file is Copyright (c) 2018 William D. Jones -# This file is Copyright (c) 2018 Caleb Jamison +# This file is Copyright (c) 2015 Yann Sionneau +# This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * @@ -79,13 +77,15 @@ _io = [ IOStandard("LVCMOS33"), ), - ("spiflash4x", 0, # clock needs to be accessed through STARTUPE2 + ("spiflash4x", 0, Subsignal("cs_n", Pins("L13")), + Subsignal("clk", Pins("L16")), Subsignal("dq", Pins("K17", "K18", "L14", "M14")), IOStandard("LVCMOS33") ), - ("spiflash", 0, # clock needs to be accessed through STARTUPE2 + ("spiflash", 0, Subsignal("cs_n", Pins("L13")), + Subsignal("clk", Pins("L16")), Subsignal("mosi", Pins("K17")), Subsignal("miso", Pins("K18")), Subsignal("wp", Pins("L14")), diff --git a/litex_boards/official/platforms/avalanche.py b/litex_boards/official/platforms/avalanche.py index 2f4b13a..a28fb44 100644 --- a/litex_boards/official/platforms/avalanche.py +++ b/litex_boards/official/platforms/avalanche.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 Florent Kermarrec +# This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/de0nano.py b/litex_boards/official/platforms/de0nano.py index 2581eac..5328f61 100644 --- a/litex_boards/official/platforms/de0nano.py +++ b/litex_boards/official/platforms/de0nano.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2013 Florent Kermarrec +# This file is Copyright (c) 2014-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/genesys2.py b/litex_boards/official/platforms/genesys2.py index 1efdf1f..a86fc48 100644 --- a/litex_boards/official/platforms/genesys2.py +++ b/litex_boards/official/platforms/genesys2.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# License: BSD + from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer diff --git a/litex_boards/official/platforms/kc705.py b/litex_boards/official/platforms/kc705.py index 6584092..54ea3e6 100644 --- a/litex_boards/official/platforms/kc705.py +++ b/litex_boards/official/platforms/kc705.py @@ -1,3 +1,7 @@ +# 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 + from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer diff --git a/litex_boards/official/platforms/kcu105.py b/litex_boards/official/platforms/kcu105.py index eccc495..4cf6fb1 100644 --- a/litex_boards/official/platforms/kcu105.py +++ b/litex_boards/official/platforms/kcu105.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2017-2019 Florent Kermarrec +# License: BSD + from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer diff --git a/litex_boards/official/platforms/machxo3.py b/litex_boards/official/platforms/machxo3.py index e2e96fd..ec4d734 100644 --- a/litex_boards/official/platforms/machxo3.py +++ b/litex_boards/official/platforms/machxo3.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2016 Florent Kermarrec +# This file is Copyright (c) 2016-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/nexys4ddr.py b/litex_boards/official/platforms/nexys4ddr.py index e14e19d..3d0e759 100644 --- a/litex_boards/official/platforms/nexys4ddr.py +++ b/litex_boards/official/platforms/nexys4ddr.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 Florent Kermarrec +# This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/nexys_video.py b/litex_boards/official/platforms/nexys_video.py index 4a49423..fd7bb35 100644 --- a/litex_boards/official/platforms/nexys_video.py +++ b/litex_boards/official/platforms/nexys_video.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2015 Florent Kermarrec +# This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/versa_ecp3.py b/litex_boards/official/platforms/versa_ecp3.py index 2d7a0b0..6013da6 100644 --- a/litex_boards/official/platforms/versa_ecp3.py +++ b/litex_boards/official/platforms/versa_ecp3.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2013 Florent Kermarrec +# This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/platforms/versa_ecp5.py b/litex_boards/official/platforms/versa_ecp5.py index 626eabe..b91110b 100644 --- a/litex_boards/official/platforms/versa_ecp5.py +++ b/litex_boards/official/platforms/versa_ecp5.py @@ -1,4 +1,5 @@ -# This file is Copyright (c) 2017 Serge 'q3k' Bazanski +# This file is Copyright (c) 2017 Sergiusz Bazanski +# This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/official/targets/arty.py b/litex_boards/official/targets/arty.py index d28e150..6157a67 100755 --- a/litex_boards/official/targets/arty.py +++ b/litex_boards/official/targets/arty.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import MT41K128M16 from litedram.phy import s7ddrphy from liteeth.phy.mii import LiteEthPHYMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/de0nano.py b/litex_boards/official/targets/de0nano.py index a80480f..5b635b0 100755 --- a/litex_boards/official/targets/de0nano.py +++ b/litex_boards/official/targets/de0nano.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * diff --git a/litex_boards/official/targets/genesys2.py b/litex_boards/official/targets/genesys2.py index ba73493..00e7405 100755 --- a/litex_boards/official/targets/genesys2.py +++ b/litex_boards/official/targets/genesys2.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import MT41J256M16 from litedram.phy import s7ddrphy from liteeth.phy.s7rgmii import LiteEthPHYRGMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/kc705.py b/litex_boards/official/targets/kc705.py index 40ff577..7be4933 100755 --- a/litex_boards/official/targets/kc705.py +++ b/litex_boards/official/targets/kc705.py @@ -1,5 +1,10 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq +# This file is Copyright (c) 2014-2019 Florent Kermarrec +# This file is Copyright (c) 2014-2015 Yann Sionneau +# License: BSD + import argparse from migen import * @@ -15,7 +20,7 @@ from litedram.modules import MT8JTF12864 from litedram.phy import s7ddrphy from liteeth.phy import LiteEthPHY -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/kcu105.py b/litex_boards/official/targets/kcu105.py index a537d6c..885e1b1 100755 --- a/litex_boards/official/targets/kcu105.py +++ b/litex_boards/official/targets/kcu105.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import EDY4016A from litedram.phy import usddrphy from liteeth.phy.ku_1000basex import KU_1000BASEX -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/minispartan6.py b/litex_boards/official/targets/minispartan6.py index 9a1f433..02d8520 100755 --- a/litex_boards/official/targets/minispartan6.py +++ b/litex_boards/official/targets/minispartan6.py @@ -1,5 +1,10 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq +# This file is Copyright (c) 2014-2019 Florent Kermarrec +# This file is Copyright (c) 2014 Yann Sionneau +# License: BSD + import argparse from fractions import Fraction diff --git a/litex_boards/official/targets/nexys4ddr.py b/litex_boards/official/targets/nexys4ddr.py index 5869d74..d18d47c 100755 --- a/litex_boards/official/targets/nexys4ddr.py +++ b/litex_boards/official/targets/nexys4ddr.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import MT47H64M16 from litedram.phy import s7ddrphy from liteeth.phy.rmii import LiteEthPHYRMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/nexys_video.py b/litex_boards/official/targets/nexys_video.py index 526db92..a7b19ec 100755 --- a/litex_boards/official/targets/nexys_video.py +++ b/litex_boards/official/targets/nexys_video.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2015-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import MT41K256M16 from litedram.phy import s7ddrphy from liteeth.phy.s7rgmii import LiteEthPHYRGMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/official/targets/versa_ecp5.py b/litex_boards/official/targets/versa_ecp5.py index 42217c9..70dca8e 100755 --- a/litex_boards/official/targets/versa_ecp5.py +++ b/litex_boards/official/targets/versa_ecp5.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# This file is Copyright (c) 2018-2019 David Shah +# License: BSD + import argparse from migen import * @@ -16,7 +20,7 @@ from litedram.modules import MT41K64M16 from litedram.phy import ECP5DDRPHY from liteeth.phy.ecp5rgmii import LiteEthPHYRGMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/partner/platforms/fomu_evt.py b/litex_boards/partner/platforms/fomu_evt.py index 9f3aab4..121f387 100644 --- a/litex_boards/partner/platforms/fomu_evt.py +++ b/litex_boards/partner/platforms/fomu_evt.py @@ -1,3 +1,7 @@ +# This file is Copyright (c) 2019 Tom Keddie +# This file is Copyright (c) 2019 Sean Cross +# License: BSD + # fomu evt board from from crowd funding # design files at https://github.com/im-tomu/fomu-hardware/tree/evt/hardware/pcb # diff --git a/litex_boards/partner/platforms/fomu_hacker.py b/litex_boards/partner/platforms/fomu_hacker.py index 2f64152..214cfa8 100644 --- a/litex_boards/partner/platforms/fomu_hacker.py +++ b/litex_boards/partner/platforms/fomu_hacker.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 Tom Keddie +# License: BSD + # fomu hacker board # schematic at https://github.com/im-tomu/fomu-hardware/tree/master/hacker/releases/v0.0-19-g154fecc # diff --git a/litex_boards/partner/platforms/fomu_pvt.py b/litex_boards/partner/platforms/fomu_pvt.py index 4c6c2b5..4722470 100644 --- a/litex_boards/partner/platforms/fomu_pvt.py +++ b/litex_boards/partner/platforms/fomu_pvt.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 Tom Keddie +# License: BSD + # fomu pvt board from crowd funding # design files at https://github.com/im-tomu/fomu-hardware/tree/pvt/hardware/pcb # diff --git a/litex_boards/partner/platforms/netv2.py b/litex_boards/partner/platforms/netv2.py index 7098664..f2b52c4 100644 --- a/litex_boards/partner/platforms/netv2.py +++ b/litex_boards/partner/platforms/netv2.py @@ -1,3 +1,5 @@ +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer diff --git a/litex_boards/partner/platforms/tinyfpga_bx.py b/litex_boards/partner/platforms/tinyfpga_bx.py index e459188..91ae840 100644 --- a/litex_boards/partner/platforms/tinyfpga_bx.py +++ b/litex_boards/partner/platforms/tinyfpga_bx.py @@ -1,3 +1,7 @@ +# This file is Copyright (c) 2018 William D. Jones +# This file is Copyright (c) 2019 Florent Kermarrec +# License: BSD + from litex.build.generic_platform import * from litex.build.lattice import LatticePlatform from litex.build.lattice.programmer import TinyProgProgrammer diff --git a/litex_boards/partner/platforms/ulx3s.py b/litex_boards/partner/platforms/ulx3s.py index 2a7f6d8..1d9e964 100644 --- a/litex_boards/partner/platforms/ulx3s.py +++ b/litex_boards/partner/platforms/ulx3s.py @@ -1,4 +1,4 @@ -# This file is Copyright (c) 2018 Florent Kermarrec +# This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD from litex.build.generic_platform import * diff --git a/litex_boards/partner/targets/fomu.py b/litex_boards/partner/targets/fomu.py index f8f4d56..4b85787 100644 --- a/litex_boards/partner/targets/fomu.py +++ b/litex_boards/partner/targets/fomu.py @@ -1,3 +1,6 @@ +# This file is Copyright (c) 2019 Sean Cross +# License: BSD + from litex_boards.partner.platforms import netv2 from migen import Module, Signal, Instance, ClockDomain, If diff --git a/litex_boards/partner/targets/netv2.py b/litex_boards/partner/targets/netv2.py index 63b2069..7332bd9 100755 --- a/litex_boards/partner/targets/netv2.py +++ b/litex_boards/partner/targets/netv2.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# License: BSD + import argparse from migen import * @@ -15,7 +18,7 @@ from litedram.modules import MT41J128M16 from litedram.phy import s7ddrphy from liteeth.phy.rmii import LiteEthPHYRMII -from liteeth.core.mac import LiteEthMAC +from liteeth.mac import LiteEthMAC # CRG ---------------------------------------------------------------------------------------------- diff --git a/litex_boards/partner/targets/ulx3s.py b/litex_boards/partner/targets/ulx3s.py index 63d94f9..b126e9a 100755 --- a/litex_boards/partner/targets/ulx3s.py +++ b/litex_boards/partner/targets/ulx3s.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +# This file is Copyright (c) 2018-2019 Florent Kermarrec +# This file is Copyright (c) 2018 David Shah +# License: BSD + import argparse from migen import * @@ -59,7 +63,7 @@ class BaseSoC(SoCSDRAM): self.submodules.crg = _CRG(platform, sys_clk_freq) if not self.integrated_main_ram_size: - self.submodules.sdrphy = GENSDRPHY(platform.request("sdram")) + self.submodules.sdrphy = GENSDRPHY(platform.request("sdram"), cl=3) sdram_module = MT48LC16M16(sys_clk_freq, "1:1") self.register_sdram(self.sdrphy, sdram_module.geom_settings,