Update vivado.py
Fix regression which caused Vivado to not be run at all.
This commit is contained in:
parent
98fa899692
commit
f3111e1142
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue