From: Florent Kermarrec Date: Tue, 29 Jul 2014 13:04:27 +0000 (+0200) Subject: mibuild/xilinx_vivado: allow sharing Misc constraints with ISE: example: ISE: DIFF_TE... X-Git-Tag: 24jan2021_ls180~2099^2~338 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cf204598a6ba169a56bb5aefaeb891b30688323;p=litex.git mibuild/xilinx_vivado: allow sharing Misc constraints with ISE: example: ISE: DIFF_TERM=True VIVADO: set property DIFF_TERM TRUE --- diff --git a/mibuild/xilinx_vivado.py b/mibuild/xilinx_vivado.py index c229ba17..cba54ac0 100644 --- a/mibuild/xilinx_vivado.py +++ b/mibuild/xilinx_vivado.py @@ -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)]