mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-11 08:32:04 +00:00
The idea behind this simplification is that a N-bit signal X being compared with an M-bit constant where M>N and the constant has Nth or higher bit set, it either always succeeds or always fails. However, the existing implementation only worked with one-hot signals for some reason. It also printed incorrect messages. This commit adjusts the simplification to have as much power as possible, and fixes other bugs. |
||
|---|---|---|
| .. | ||
| Makefile.inc | ||
| opt.cc | ||
| opt_clean.cc | ||
| opt_demorgan.cc | ||
| opt_expr.cc | ||
| opt_lut.cc | ||
| opt_merge.cc | ||
| opt_muxtree.cc | ||
| opt_reduce.cc | ||
| opt_rmdff.cc | ||
| rmports.cc | ||
| share.cc | ||
| wreduce.cc | ||