diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-04-13 19:29:39 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-04-14 21:48:13 +0200 |
commit | 6c16fd760b611441aaa8a9dd9ee1714c7750127a (patch) | |
tree | 5dc154f751502dd1813dea9c2ce4298e667f3dc1 /libs/sha1 | |
parent | 7a36728b2fd640e166188b05c901b1992ec2af6b (diff) | |
download | yosys-6c16fd760b611441aaa8a9dd9ee1714c7750127a.tar.gz yosys-6c16fd760b611441aaa8a9dd9ee1714c7750127a.tar.bz2 yosys-6c16fd760b611441aaa8a9dd9ee1714c7750127a.zip |
opt_expr: Add more $alu optimizations.
Detect the places in the $alu where the carry bit is constant (due to
const A[i] == B[i] ^ BI) and split it into smaller $alu at these points.
Also, make the existing const-carry detection for low bits more generic
(now handles cases where both BI and CI are constant, but not equal to
one another).
Fixes #1912.
Diffstat (limited to 'libs/sha1')
0 files changed, 0 insertions, 0 deletions