From 482486706ccf1ee2fb94348a317879a7a6bc1b6b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Apr 2015 21:40:58 +0200 Subject: [PATCH] mibuild/lattice: adapt diamond to last Migen changes --- mibuild/lattice/diamond.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mibuild/lattice/diamond.py b/mibuild/lattice/diamond.py index 2571f59d..a8a30556 100644 --- a/mibuild/lattice/diamond.py +++ b/mibuild/lattice/diamond.py @@ -87,7 +87,7 @@ class LatticeDiamondToolchain: named_sc, named_pc = platform.resolve_signals(v_output.ns) v_file = build_name + ".v" v_output.write(v_file) - sources = platform.sources + [(v_file, "verilog")] + sources = platform.sources | {(v_file, "verilog")} _build_files(platform.device, sources, platform.verilog_include_paths, build_name) tools.write_to_file(build_name + ".lpf", _build_lpf(named_sc, named_pc)) -- 2.30.2