aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-03-31 06:45:54 +0100
committerGitHub <noreply@github.com>2022-03-31 06:45:54 +0100
commit219310b20387a0dd781d4c1b587d04be99148a34 (patch)
tree79ca4c2f9a3c2ae79d2614eca3fa337d2d43df61
parente96ec9a102c6593a07d1f60ef9a8cdebc802d981 (diff)
parent336124b879495ca4b5ac3aad23c069eafb5231dd (diff)
downloadnextpnr-219310b20387a0dd781d4c1b587d04be99148a34.tar.gz
nextpnr-219310b20387a0dd781d4c1b587d04be99148a34.tar.bz2
nextpnr-219310b20387a0dd781d4c1b587d04be99148a34.zip
Merge pull request #969 from YosysHQ/gatecat/ice40-wirename-fix
ice40: Fix wirenames containing / which is the list separator
-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")