ecp5: Fix bottom clock tile renaming for tilegroups
Signed-off-by: D. Shah <dave@ds0.me>
This commit is contained in:
parent
9b9628047c
commit
dc46d84c35
@ -471,6 +471,14 @@ void fix_tile_names(Context *ctx, ChipConfig &cc)
|
|||||||
cc.tiles[xform.second].cunknowns.push_back(cunknown);
|
cc.tiles[xform.second].cunknowns.push_back(cunknown);
|
||||||
cc.tiles.erase(xform.first);
|
cc.tiles.erase(xform.first);
|
||||||
}
|
}
|
||||||
|
for (auto &tg : cc.tilegroups) {
|
||||||
|
for (auto &t : tg.tiles) {
|
||||||
|
if (boost::ends_with(t, "BMID_0H"))
|
||||||
|
t.back() = 'V';
|
||||||
|
else if (boost::ends_with(t, "BMID_2"))
|
||||||
|
t.push_back('V');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user