diff options
author | gatecat <gatecat@ds0.me> | 2022-03-30 20:57:00 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-03-30 20:57:00 +0100 |
commit | 336124b879495ca4b5ac3aad23c069eafb5231dd (patch) | |
tree | d17be8f89ed6f574a68a59ca2271f29675ee8dc8 | |
parent | 5850cb633698a4c07ff9eb6612a2068f4c490965 (diff) | |
download | nextpnr-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>
-rw-r--r-- | ice40/chipdb.py | 2 |
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") |