From 69e994ff756f5dfeb0d57d3d16182651a69bd680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Tue, 7 Nov 2023 14:41:41 +0100 Subject: [PATCH] booth: Clean unused FA index variable --- passes/techmap/booth.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/passes/techmap/booth.cc b/passes/techmap/booth.cc index 8be2e6e1d..c94207a51 100644 --- a/passes/techmap/booth.cc +++ b/passes/techmap/booth.cc @@ -1046,7 +1046,6 @@ struct BoothPassWorker { // // sum up the partial products // - int fa_el_ix = 0; int fa_row_ix = 0; std::vector fa_sum; std::vector fa_carry; @@ -1074,7 +1073,7 @@ struct BoothPassWorker { // special because these are driven by a decoder and prior fa. for (fa_row_ix = 1; fa_row_ix < fa_row_count; fa_row_ix++) { // end two bits: sign extension - SigBit d_inv = module->NotGate(NEW_ID_SUFFIX(stringf("bfa_se_inv_%d_%d_L", fa_row_ix, fa_el_ix)), + SigBit d_inv = module->NotGate(NEW_ID_SUFFIX(stringf("bfa_se_inv_%d_L", fa_row_ix)), PPij[((fa_row_ix + 1) * dec_count) + dec_count - 1]); BuildBitwiseFa(module, NEW_ID_SUFFIX(stringf("fa_row_%d", fa_row_ix)).str(),