From: Florent Kermarrec Date: Tue, 24 Sep 2019 12:40:48 +0000 (+0200) Subject: build/xilinx/programmer: fix vivado_cmd X-Git-Tag: 24jan2021_ls180~988 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47dc3324980ca1d3e3ea531ff0059f161c0e8fd0;p=litex.git build/xilinx/programmer: fix vivado_cmd --- diff --git a/litex/build/xilinx/programmer.py b/litex/build/xilinx/programmer.py index c4784f0b..c3ed64ad 100644 --- a/litex/build/xilinx/programmer.py +++ b/litex/build/xilinx/programmer.py @@ -117,10 +117,10 @@ quit def _run_vivado(path, ver, cmds): - vivado_cmd = "echo 0" if sys.platform == "win32" or sys.platform == "cygwin": vivado_cmd = "vivado -mode tcl" else: + vivado_cmd = "" if not find_executable("vivado"): # For backwards compatibility with ISE paths, also # look for a version in a subdirectory named "Vivado"