From: Florent Kermarrec Date: Sun, 8 Dec 2019 11:19:38 +0000 (+0100) Subject: build/xilinx/vivado: move build_script generation X-Git-Tag: 24jan2021_ls180~814 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0122f9863fe4716eeeefd59f6b98080b6bee45d;p=litex.git build/xilinx/vivado: move build_script generation --- diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index 5331d447..01e1aca5 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -298,13 +298,11 @@ class XilinxVivadoToolchain: # Generate design constraints (.xdc) tools.write_to_file(build_name + ".xdc", _build_xdc(named_sc, named_pc)) - # Generate build script - script = _build_script(build_name, toolchain_path, source) - # Run if run: if synth_mode == "yosys": common._run_yosys(platform.device, platform.sources, platform.verilog_include_paths, build_name) + script = _build_script(build_name, toolchain_path, source) _run_script(script) os.chdir(cwd)