Merge pull request #120 from mithro/master

litex/build: Always run Vivado.
This commit is contained in:
Tim Ansell 2018-10-29 02:08:20 -07:00 committed by GitHub
commit 9815920946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -243,10 +243,9 @@ 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)
elif synth_mode == "vivado":
_run_vivado(build_name, toolchain_path, source)
else: else:
raise OSError("Error!") raise OSError("Error!")
_run_vivado(build_name, toolchain_path, source)
os.chdir(cwd) os.chdir(cwd)