From 9cf204598a6ba169a56bb5aefaeb891b30688323 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 29 Jul 2014 15:04:27 +0200 Subject: [PATCH] mibuild/xilinx_vivado: allow sharing Misc constraints with ISE: example: ISE: DIFF_TERM=True VIVADO: set property DIFF_TERM TRUE --- mibuild/xilinx_vivado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 2.30.2