From 1cac079efa6d45e3d873a0d01eab6156cd5e8f74 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 29 Oct 2018 02:04:44 -0700 Subject: [PATCH] litex/build: Always run Vivado. When using Yosys for synthesis, still need Vivado for place and route. --- litex/build/xilinx/vivado.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index 3b431e69..115fd8fa 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -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) -- 2.30.2