3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-25 23:19:35 +00:00
yosys/passes
Krystine Sherwin 406b400458
opt_expr: Fix #4590
If all the (non-select) inputs of a `$_MUX{4,8,16}_` are undefined, replace it, just like we do for `$mux` and `$_MUX_`.
Add `tests/opt/opt_expr_mux_undef.ys` to verify this.

This doesn't do any const folding on the wide muxes, or shrinking to less wide muxes.  It only handles the case where all inputs are 'x and the mux can be completely removed.
2025-04-04 12:25:31 +13:00
..
cmds Merge pull request #4733 from antmicro/fix-setundef-pass-for-params 2025-03-28 13:06:04 +01:00
equiv
fsm
hierarchy
memory
opt opt_expr: Fix #4590 2025-04-04 12:25:31 +13:00
pmgen
proc
sat
techmap read_liberty: Faster std::string construction in the liberty lexer 2025-04-01 14:12:12 +02:00
tests