Fix bad tile name matching again- was accidentally reverted in 874d12b.
diff --git a/util/common/nets/machxo2.py b/util/common/nets/machxo2.py
index 2b17ab0..d332428 100644
--- a/util/common/nets/machxo2.py
+++ b/util/common/nets/machxo2.py
@@ -107,7 +107,7 @@
return "R_" + netname
else:
assert False, "bad CENTER netname"
- elif tile.startswith("CIB_EBR") and global_up_down_re.match(wire):
+ elif "CIB_EBR" in tile and global_up_down_re.match(wire):
if prefix_pos[0] < tile_pos[0]:
return "U_" + netname
elif prefix_pos[0] > tile_pos[0]: