From: Sebastien Bourdeauducq Date: Thu, 4 Jul 2013 21:49:12 +0000 (+0200) Subject: xilinx_ise: run tools like Project Navigator does to avoid weird bitgen behavior X-Git-Tag: 24jan2021_ls180~2099^2~443^2~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b18cffb5e8f37a0acb516da340817225d46a8bf8;p=litex.git xilinx_ise: run tools like Project Navigator does to avoid weird bitgen behavior --- diff --git a/mibuild/xilinx_ise.py b/mibuild/xilinx_ise.py index 69306f5a..ad26c752 100644 --- a/mibuild/xilinx_ise.py +++ b/mibuild/xilinx_ise.py @@ -108,10 +108,10 @@ def _run_ise(build_name, ise_path, source): build_script_contents += """ xst -ifn {build_name}.xst -ngdbuild -uc {build_name}.ucf {build_name}.ngc -map -ol high -w {build_name}.ngd -par -ol high -w {build_name}.ncd {build_name}-routed.ncd -bitgen -g LCK_cycle:6 -g Binary:Yes -w {build_name}-routed.ncd {build_name}.bit +ngdbuild -uc {build_name}.ucf {build_name}.ngc {build_name}.ngd +map -ol high -w -o {build_name}_map.ncd {build_name}.ngd {build_name}.pcf +par -ol high -w {build_name}_map.ncd {build_name}.ncd {build_name}.pcf +bitgen -g LCK_cycle:6 -g Binary:Yes -w {build_name}.ncd {build_name}.bit """.format(build_name=build_name) build_script_file = "build_" + build_name + ".sh" tools.write_to_file(build_script_file, build_script_contents)