mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild/xilinx_vivado.py: add set property to misc constraint
This commit is contained in:
parent
7ad1028f8b
commit
f6dfabf7a9
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ def _format_constraint(c):
|
|||
elif isinstance(c, IOStandard):
|
||||
return "set_property IOSTANDARD " + c.name
|
||||
elif isinstance(c, Drive):
|
||||
return "set property DRIVE " + + str(c.strength)
|
||||
return "set_property DRIVE " + str(c.strength)
|
||||
elif isinstance(c, Misc):
|
||||
return c.misc
|
||||
return "set_property " + c.misc
|
||||
|
||||
def _format_xdc(signame, pin, others, resname):
|
||||
fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)]
|
||||
|
|
Loading…
Reference in a new issue