build/generic_toolchain, build/lattice/icestorm: tool_options is now a dict {key, value} (with value can be a dict) => edaflow compat

This commit is contained in:
Gwenhael Goavec-Merou 2022-10-29 09:12:51 +02:00
parent ab6bb331fd
commit 79cc3698b8
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ class GenericToolchain:
edam = {
'name' : self._build_name,
'files' : files,
'tool_options' : {tool: tool_options},
**tool_options,
'toplevel' : self._build_name,
}

View file

@ -102,7 +102,7 @@ class LatticeIceStormToolchain(YosysNextPNRToolchain):
"yosys_synth_options": self._synth_opts.split(' '),
"nextpnr_options": self._pnr_opts.split(' '),
}
return ("icestorm", tool_options)
return ("icestorm", {"tool_options": {"icestorm": tool_options}})
def icestorm_args(parser):