3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

cpa_carry array added to heap

This commit is contained in:
andyfox-rushc 2023-09-10 14:20:30 -07:00
parent 8d4b6c2f69
commit 1b5287af59

View file

@ -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) + "_";
@ -1497,6 +1497,7 @@ struct MultPassWorker {
delete[] fa_sum_n;
delete[] fa_carry_n;
delete[] cpa_carry;
}
};