Update vivado.py

Fix regression which caused Vivado to not be run at all.
This commit is contained in:
William D. Jones 2018-10-29 23:43:32 -04:00 committed by GitHub
parent 98fa899692
commit f3111e1142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -243,11 +243,8 @@ class XilinxVivadoToolchain:
if run: if run:
if synth_mode == "yosys": if synth_mode == "yosys":
common._run_yosys(platform.device, sources, platform.verilog_include_paths, build_name) common._run_yosys(platform.device, sources, platform.verilog_include_paths, build_name)
else:
raise OSError("Error!")
_run_vivado(build_name, toolchain_path, source) _run_vivado(build_name, toolchain_path, source)
os.chdir(cwd) os.chdir(cwd)
return v_output.ns return v_output.ns