build/xilinx/ise: Fix XST flow

This commit is contained in:
Christian Klarhorst 2022-07-05 14:14:02 +02:00
parent 4fef89af53
commit 5796f30b18
1 changed files with 5 additions and 2 deletions

View File

@ -215,8 +215,11 @@ bitgen {bitgen_opt} {build_name}.ncd {build_name}.bit{fail_stmt}
e_output.write(e_file)
self.build_io_constraints()
command = shell + [build_script_file]
if sys.platform == "win32" or sys.platform == "cygwin":
shell = ["cmd", "/c"]
else:
shell = ["bash"]
command = shell + [script]
if which("ise") is None and os.getenv("LITEX_ENV_ISE", False) == False:
msg = "Unable to find or source ISE toolchain, please either:\n"