fix swapped B inputs

This commit is contained in:
Lofty 2025-07-31 14:50:36 +01:00
parent 7d8b7da20b
commit 341e288488
1 changed files with 2 additions and 2 deletions

View File

@ -709,8 +709,8 @@ void GateMatePacker::pack_mult()
auto &b_passthru = m.cols.at(b).b_passthru;
// Connect B input passthrough cell.
mult->movePortTo(ctx->idf("B[%d]", 2 * b), b_passthru.upper, id_IN1);
mult->movePortTo(ctx->idf("B[%d]", 2 * b + 1), b_passthru.lower, id_IN1);
mult->movePortTo(ctx->idf("B[%d]", 2 * b), b_passthru.lower, id_IN1);
mult->movePortTo(ctx->idf("B[%d]", 2 * b + 1), b_passthru.upper, id_IN1);
}
// Intermediate multiplier connections.