Skip to content

Commit

Permalink
build/xilinx/vivado: move build_script generation
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Dec 8, 2019
1 parent 18ff8f3 commit a0122f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions litex/build/xilinx/vivado.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,11 @@ def build(self, platform, fragment,
# 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)
Expand Down

0 comments on commit a0122f9

Please sign in to comment.