mibuild/lattice: adapt diamond to last Migen changes

This commit is contained in:
Florent Kermarrec 2015-04-13 21:40:58 +02:00
parent d83e170872
commit 482486706c
1 changed files with 1 additions and 1 deletions

View File

@ -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))