From 66eb38cf8490062c6fbd13a9830d33af2f60d133 Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 21 Oct 2020 14:05:33 +0100 Subject: [PATCH] radiant: Escape bus port names Signed-off-by: David Shah --- litex/build/lattice/radiant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/radiant.py b/litex/build/lattice/radiant.py index 61509cc06..32ffdd311 100644 --- a/litex/build/lattice/radiant.py +++ b/litex/build/lattice/radiant.py @@ -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: