radiant: Escape bus port names

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-10-21 14:05:33 +01:00
parent 5a6b8f452d
commit 66eb38cf84
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def _build_pdc(named_sc, named_pc, clocks, vns, build_name):
for sig, pins, others, resname in named_sc:
if len(pins) > 1:
for i, p in enumerate(pins):
pdc.append(_format_ldc(sig + "[" + str(i) + "]", p, others, resname))
pdc.append(_format_ldc("{" + sig + "[" + str(i) + "]}", p, others, resname))
else:
pdc.append(_format_ldc(sig, pins[0], others, resname))
if named_pc: