litex/build: Always run Vivado.

When using Yosys for synthesis, still need Vivado for place and route.
This commit is contained in:
Tim 'mithro' Ansell 2018-10-29 02:04:44 -07:00
parent 49dab3b448
commit 1cac079efa
1 changed files with 1 additions and 2 deletions

View File

@ -243,10 +243,9 @@ class XilinxVivadoToolchain:
if run:
if synth_mode == "yosys":
common._run_yosys(platform.device, sources, platform.verilog_include_paths, build_name)
elif synth_mode == "vivado":
_run_vivado(build_name, toolchain_path, source)
else:
raise OSError("Error!")
_run_vivado(build_name, toolchain_path, source)
os.chdir(cwd)