From a3390bb40314d31e9ef8e94fc69919fcc4dc0d61 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 19 Dec 2017 10:29:29 +0100 Subject: [PATCH] build/xilinx/programmer: fix settings in run_vivado (update) --- litex/build/xilinx/programmer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/xilinx/programmer.py b/litex/build/xilinx/programmer.py index 51d92ef55..9232a12e2 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"))