Skip to content

Commit

Permalink
Merge pull request #680 from daveshah1/dave/radiant-portname-fix
Browse files Browse the repository at this point in the history
radiant: Use {} string for bus port names
  • Loading branch information
enjoy-digital authored Oct 21, 2020
2 parents 7bbde6d + 66eb38c commit e7b33a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/build/lattice/radiant.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e7b33a9

Please sign in to comment.