From: Florent Kermarrec Date: Tue, 19 Dec 2017 09:29:29 +0000 (+0100) Subject: build/xilinx/programmer: fix settings in run_vivado (update) X-Git-Tag: 24jan2021_ls180~1786 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3390bb40314d31e9ef8e94fc69919fcc4dc0d61;p=litex.git build/xilinx/programmer: fix settings in run_vivado (update) --- diff --git a/litex/build/xilinx/programmer.py b/litex/build/xilinx/programmer.py index 51d92ef5..9232a12e 100644 --- a/litex/build/xilinx/programmer.py +++ b/litex/build/xilinx/programmer.py @@ -76,7 +76,7 @@ def _run_vivado(path, ver, cmds): if sys.platform == "win32" or sys.platform == "cygwin": vivado_cmd = "vivado -mode tcl" else: - settings = common.settings(path, ver) + settings = common.settings(path, "", ver, first="name") vivado_cmd = "bash -c \"source " + settings + "&& vivado -mode tcl\"" with subprocess.Popen(vivado_cmd, stdin=subprocess.PIPE, shell=True) as process: process.stdin.write(cmds.encode("ASCII"))