From 336124b879495ca4b5ac3aad23c069eafb5231dd Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 30 Mar 2022 20:57:00 +0100 Subject: [PATCH] ice40: Fix wirenames containing / which is the list separator Signed-off-by: gatecat --- ice40/chipdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")