Skip to content

Commit

Permalink
cpa_carry array added to heap
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfox-rushc committed Sep 10, 2023
1 parent 8d4b6c2 commit 1b5287a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion passes/techmap/multpass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ struct MultPassWorker {
}

// instantiate the cpa
RTLIL::Wire *cpa_carry[z_sz];
RTLIL::Wire **cpa_carry = new RTLIL::Wire *[z_sz];

for (int cix = 0; cix < z_sz; cix++) {
std::string cpa_cix_name = "cpa_carry_" + std::to_string(cix) + "_";
Expand Down Expand Up @@ -1497,6 +1497,7 @@ struct MultPassWorker {

delete[] fa_sum_n;
delete[] fa_carry_n;
delete[] cpa_carry;
}
};

Expand Down

0 comments on commit 1b5287a

Please sign in to comment.