mibuild/xilinx_vivado: allow sharing Misc constraints with ISE: example: ISE: DIFF_TE...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 29 Jul 2014 13:04:27 +0000 (15:04 +0200)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 30 Jul 2014 02:10:41 +0000 (10:10 +0800)
mibuild/xilinx_vivado.py

index c229ba17b799eb420c86e51eb6c884e8a571298f..cba54ac0cc62c4c4026936e380a434b6927c4501 100644 (file)
@@ -17,7 +17,7 @@ def _format_constraint(c):
        elif isinstance(c, Drive):
                return "set_property DRIVE " + str(c.strength)
        elif isinstance(c, Misc):
-               return "set_property " + c.misc
+               return "set_property " + c.misc.replace("=", " ")
 
 def _format_xdc(signame, pin, others, resname):
        fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)]