mibuild/xilinx_ise: move overwrite option to default options
authorRobert Jordens <jordens@gmail.com>
Fri, 4 Apr 2014 04:19:29 +0000 (22:19 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 5 Apr 2014 10:15:15 +0000 (12:15 +0200)
mibuild/xilinx_ise.py

index 30dd4d11adacff3efdedfcfd15939e6a700a54e3..cc0893288c89cc29bd8fa69933da5f23b0378510 100644 (file)
@@ -148,9 +148,9 @@ xst -ifn {build_name}.xst"""
 
        build_script_contents += """
 ngdbuild {ngdbuild_opt} -uc {build_name}.ucf {build_name}.{ext} {build_name}.ngd
-map {map_opt} -w -o {build_name}_map.ncd {build_name}.ngd {build_name}.pcf
-par {par_opt} -w {build_name}_map.ncd {build_name}.ncd {build_name}.pcf
-bitgen {bitgen_opt} -w {build_name}.ncd {build_name}.bit
+map {map_opt} -o {build_name}_map.ncd {build_name}.ngd {build_name}.pcf
+par {par_opt} {build_name}_map.ncd {build_name}.ncd {build_name}.pcf
+bitgen {bitgen_opt} {build_name}.ncd {build_name}.bit
 """
        build_script_contents = build_script_contents.format(build_name=build_name,
                        ngdbuild_opt=ngdbuild_opt, bitgen_opt=bitgen_opt, ext=ext,
@@ -188,10 +188,10 @@ class XilinxISEPlatform(GenericPlatform):
 -opt_mode SPEED
 -reduce_control_sets auto
 -register_balancing yes"""
-       map_opt = "-ol high"
-       par_opt = "-ol high"
+       map_opt = "-ol high -w"
+       par_opt = "-ol high -w"
        ngdbuild_opt = ""
-       bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes"
+       bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w"
        ise_commands = ""
        def get_verilog(self, *args, special_overrides=dict(), **kwargs):
                so = {