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:
parent
84eb146e0a
commit
9cf204598a
|
@ -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)]
|
||||||
|
|
Loading…
Reference in New Issue