aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-03-30 20:57:00 +0100
committergatecat <gatecat@ds0.me>2022-03-30 20:57:00 +0100
commit336124b879495ca4b5ac3aad23c069eafb5231dd (patch)
treed17be8f89ed6f574a68a59ca2271f29675ee8dc8 /ice40
parent5850cb633698a4c07ff9eb6612a2068f4c490965 (diff)
downloadnextpnr-336124b879495ca4b5ac3aad23c069eafb5231dd.tar.gz
nextpnr-336124b879495ca4b5ac3aad23c069eafb5231dd.tar.bz2
nextpnr-336124b879495ca4b5ac3aad23c069eafb5231dd.zip
ice40: Fix wirenames containing / which is the list separator
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/chipdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py
index cc3397eb..accafbcf 100644
--- a/ice40/chipdb.py
+++ b/ice40/chipdb.py
@@ -1312,7 +1312,7 @@ for t in range(num_tile_types):
bba.l("wire_data_%s" % dev_name, "WireInfoPOD")
for wire, info in enumerate(wireinfo):
- bba.s(info["name"], "name")
+ bba.s(info["name"].replace('/', ':'), "name") # / is used as an IdStringList separator; can't also be within name
bba.u8(info["name_x"], "name_x")
bba.u8(info["name_y"], "name_y")
bba.u16(0, "padding")