From: Florent Kermarrec Date: Tue, 24 Jun 2014 15:22:11 +0000 (+0200) Subject: mibuild/xilinx_vivado.py: add set property to misc constraint X-Git-Tag: 24jan2021_ls180~2099^2~349 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6dfabf7a9844437de6457d15ad8ae9b83b93c33;p=litex.git mibuild/xilinx_vivado.py: add set property to misc constraint --- diff --git a/mibuild/xilinx_vivado.py b/mibuild/xilinx_vivado.py index e7421741..7149da5e 100644 --- a/mibuild/xilinx_vivado.py +++ b/mibuild/xilinx_vivado.py @@ -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)]