3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 12:28:44 +00:00
yosys/passes
whitequark bf8db55ef3 opt_expr: improve simplification of comparisons with large constants.
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.
2019-01-02 15:45:28 +00:00
..
cmds Merge pull request #736 from whitequark/select_assert_list 2018-12-16 16:45:49 +01:00
equiv Fix equiv_opt indenting 2018-12-16 15:57:28 +01:00
fsm Consistent use of 'override' for virtual methods in derived classes. 2018-07-20 23:51:06 -07:00
hierarchy Refactor code to avoid code duplication + added comments 2018-10-20 16:06:48 +02:00
memory memory_collect: do not truncate 'x from \INIT. 2018-12-21 02:01:27 +00:00
opt opt_expr: improve simplification of comparisons with large constants. 2019-01-02 15:45:28 +00:00
proc proc_clean: remove any empty cases if all cases use all-def compare. 2018-12-23 09:04:30 +00:00
sat Fixed minor typo in "sim" help message 2018-09-12 18:34:27 -04:00
techmap Revert "Proof-of-concept: preserve naming through ABC using dress" 2018-12-16 21:27:31 +01:00
tests Consistent use of 'override' for virtual methods in derived classes. 2018-07-20 23:51:06 -07:00