mirror of https://github.com/YosysHQ/yosys.git
booth: Clean unused FA index variable
This commit is contained in:
parent
d8408b2350
commit
69e994ff75
|
@ -1046,7 +1046,6 @@ struct BoothPassWorker {
|
||||||
//
|
//
|
||||||
// sum up the partial products
|
// sum up the partial products
|
||||||
//
|
//
|
||||||
int fa_el_ix = 0;
|
|
||||||
int fa_row_ix = 0;
|
int fa_row_ix = 0;
|
||||||
std::vector<SigSpec> fa_sum;
|
std::vector<SigSpec> fa_sum;
|
||||||
std::vector<SigSpec> fa_carry;
|
std::vector<SigSpec> fa_carry;
|
||||||
|
@ -1074,7 +1073,7 @@ struct BoothPassWorker {
|
||||||
// special because these are driven by a decoder and prior fa.
|
// 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++) {
|
for (fa_row_ix = 1; fa_row_ix < fa_row_count; fa_row_ix++) {
|
||||||
// end two bits: sign extension
|
// 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]);
|
PPij[((fa_row_ix + 1) * dec_count) + dec_count - 1]);
|
||||||
|
|
||||||
BuildBitwiseFa(module, NEW_ID_SUFFIX(stringf("fa_row_%d", fa_row_ix)).str(),
|
BuildBitwiseFa(module, NEW_ID_SUFFIX(stringf("fa_row_%d", fa_row_ix)).str(),
|
||||||
|
|
Loading…
Reference in New Issue