build/microsemi/libero_soc: add {} around port name.

This commit is contained in:
Florent Kermarrec 2018-11-22 17:37:03 +01:00
parent beeca856e5
commit f003407776
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def _format_constraint(c):
def _format_pdc(signame, pin, others): def _format_pdc(signame, pin, others):
fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)] fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)]
r = "set_io " r = "set_io "
r += "-port_name {} ".format(signame) r += "-port_name {{{}}} ".format(signame)
for c in ([Pins(pin)] + others): for c in ([Pins(pin)] + others):
r += _format_constraint(c) r += _format_constraint(c)
r += "-fixed true " r += "-fixed true "