From f4b345ecd78bebb21f73353923bf35844c0f9acd Mon Sep 17 00:00:00 2001 From: Rangel Ivanov Date: Sun, 12 Apr 2020 11:46:44 +0300 Subject: [PATCH 1/2] build/lattice/trellis.py: Add 12k device nextpnr adds the --12k option which is the same like the --25k but with the correct idcode for the 12k devices Signed-off-by: Rangel Ivanov --- litex/build/lattice/trellis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 154e751dd..a9ae49be4 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -97,6 +97,7 @@ def nextpnr_ecp5_parse_device(device): return (family, size, speed_grade, package) nextpnr_ecp5_architectures = { + "lfe5u-12f" : "12k", "lfe5u-25f" : "25k", "lfe5u-45f" : "45k", "lfe5u-85f" : "85k", From c57e438df6e6f932df4228bf5df669897fd67ec7 Mon Sep 17 00:00:00 2001 From: Rangel Ivanov Date: Sun, 12 Apr 2020 11:51:08 +0300 Subject: [PATCH 2/2] boards/targets/ulx3s.py: Update --device option help message Signed-off-by: Rangel Ivanov --- litex/boards/targets/ulx3s.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/boards/targets/ulx3s.py b/litex/boards/targets/ulx3s.py index e42c92b02..a7668e3a9 100755 --- a/litex/boards/targets/ulx3s.py +++ b/litex/boards/targets/ulx3s.py @@ -86,7 +86,7 @@ def main(): parser.add_argument("--gateware-toolchain", dest="toolchain", default="trellis", help="gateware toolchain to use, trellis (default) or diamond") parser.add_argument("--device", dest="device", default="LFE5U-45F", - help="FPGA device, ULX3S can be populated with LFE5U-45F (default) or LFE5U-85F") + help="FPGA device, ULX3S can be populated with LFE5U-12F, LFE5U-25F, LFE5U-45F (default) or LFE5U-85F") parser.add_argument("--sys-clk-freq", default=50e6, help="system clock frequency (default=50MHz)") parser.add_argument("--sdram-module", default="MT48LC16M16",