From f003407776c1f79e6dd6384f626c1c6cb64d7203 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 22 Nov 2018 17:37:03 +0100 Subject: [PATCH] build/microsemi/libero_soc: add {} around port name. --- litex/build/microsemi/libero_soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index f1a5a1c52..fca2d6fa1 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -24,7 +24,7 @@ def _format_constraint(c): def _format_pdc(signame, pin, others): fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)] r = "set_io " - r += "-port_name {} ".format(signame) + r += "-port_name {{{}}} ".format(signame) for c in ([Pins(pin)] + others): r += _format_constraint(c) r += "-fixed true "