3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-20 07:36:39 +00:00

alumacc: merge eq independent of sign

This commit is contained in:
Adrian Parvin Ouano 2023-10-08 01:23:00 +08:00
parent 51e9b0882b
commit 74d38db3b5

View file

@ -451,7 +451,7 @@ struct AlumaccWorker
alunode_t *n = nullptr;
for (auto node : sig_alu[RTLIL::SigSig(A, B)])
if (node->is_signed == is_signed && node->invert_b && node->c == State::S1) {
if (node->invert_b && node->c == State::S1) {
n = node;
break;
}