another multiplier fix

This commit is contained in:
Lofty 2025-09-15 09:05:52 +01:00
parent 14030606a8
commit 2583f01e29
1 changed files with 5 additions and 3 deletions

View File

@ -101,10 +101,12 @@ void route_mult_x1y1_lower(Context *ctx, NetInfo *net, CellInfo *lower, Loc loc,
find_and_bind_downhill_pip(ctx, cpe_out1_int, cpe_out1, net);
if (is_fourgroup_a) {
auto sb_big = ctx->getWireByName(IdStringList::concat(x1y1, ctx->idf("SB_BIG.P05.D0")));
auto sb_big_d0 = ctx->getWireByName(IdStringList::concat(x1y1, ctx->idf("SB_BIG.P05.D0")));
auto sb_big_y1 = ctx->getWireByName(IdStringList::concat(x1y1, ctx->idf("SB_BIG.P05.Y1")));
find_and_bind_downhill_pip(ctx, cpe_out1, sb_big, net);
find_and_bind_downhill_pip(ctx, sb_big, in_mux, net); // inverting
find_and_bind_downhill_pip(ctx, cpe_out1, sb_big_d0, net);
find_and_bind_downhill_pip(ctx, sb_big_d0, sb_big_y1, net);
find_and_bind_downhill_pip(ctx, sb_big_y1, in_mux, net);
} else {
auto sb_sml_d0 = ctx->getWireByName(IdStringList::concat(x1y1, ctx->idf("SB_SML.P05.D0")));
auto sb_sml_y1_int = ctx->getWireByName(IdStringList::concat(x1y1, ctx->idf("SB_SML.P05.Y1_int")));