Merge pull request #680 from daveshah1/dave/radiant-portname-fix

radiant: Use {} string for bus port names
This commit is contained in:
enjoy-digital 2020-10-21 21:23:05 +02:00 committed by GitHub
commit e7b33a9ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: for sig, pins, others, resname in named_sc:
if len(pins) > 1: if len(pins) > 1:
for i, p in enumerate(pins): 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: else:
pdc.append(_format_ldc(sig, pins[0], others, resname)) pdc.append(_format_ldc(sig, pins[0], others, resname))
if named_pc: if named_pc: