From: Florent Kermarrec Date: Mon, 13 Apr 2015 19:40:58 +0000 (+0200) Subject: mibuild/lattice: adapt diamond to last Migen changes X-Git-Tag: 24jan2021_ls180~2099^2~105 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=482486706ccf1ee2fb94348a317879a7a6bc1b6b;p=litex.git mibuild/lattice: adapt diamond to last Migen changes --- 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))