mibuild/xilinx_vivado: allow sharing Misc constraints with ISE: example: ISE: DIFF_TERM=True VIVADO: set property DIFF_TERM TRUE

This commit is contained in:
Florent Kermarrec 2014-07-29 15:04:27 +02:00 committed by Sebastien Bourdeauducq
parent 84eb146e0a
commit 9cf204598a
1 changed files with 1 additions and 1 deletions

View File

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