This commit is contained in:
Florent Kermarrec 2018-10-29 11:48:10 +01:00
commit a8f819fec2
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)