From 2583f01e29ff87a861c700c421fbe8e73529cc2c Mon Sep 17 00:00:00 2001 From: Lofty Date: Mon, 15 Sep 2025 09:05:52 +0100 Subject: [PATCH] another multiplier fix --- himbaechel/uarch/gatemate/route_mult.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/himbaechel/uarch/gatemate/route_mult.cc b/himbaechel/uarch/gatemate/route_mult.cc index ac5fcbb5..fe2f1699 100644 --- a/himbaechel/uarch/gatemate/route_mult.cc +++ b/himbaechel/uarch/gatemate/route_mult.cc @@ -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")));