mirror of https://github.com/YosysHQ/yosys.git
booth: Fix assertion
Fix assertion to what it should be per Andy's comments.
This commit is contained in:
parent
91bcf81dbd
commit
6b70b3dbef
|
@ -655,8 +655,7 @@ struct BoothPassWorker {
|
||||||
cpa_id++;
|
cpa_id++;
|
||||||
|
|
||||||
log_assert(c_vec.size() == s_vec.size());
|
log_assert(c_vec.size() == s_vec.size());
|
||||||
// TODO: doesn't pass
|
log_assert(result.size() == s_vec.size());
|
||||||
//log_assert(result.size() == s_vec.size() + 2);
|
|
||||||
|
|
||||||
SigBit carry;
|
SigBit carry;
|
||||||
for (int n = 0; n < s_vec.size(); n++) {
|
for (int n = 0; n < s_vec.size(); n++) {
|
||||||
|
|
Loading…
Reference in New Issue