From: Florent Kermarrec Date: Thu, 22 Nov 2018 16:37:03 +0000 (+0100) Subject: build/microsemi/libero_soc: add {} around port name. X-Git-Tag: 24jan2021_ls180~1473 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f003407776c1f79e6dd6384f626c1c6cb64d7203;p=litex.git build/microsemi/libero_soc: add {} around port name. --- diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index f1a5a1c5..fca2d6fa 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 "