3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-18 22:59:03 +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 mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
fsm io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
hierarchy keep_hierarchy.cc: use strictly correct syntax for printf of uint64_t values 2025-01-10 14:03:09 -08:00
memory memory_libmap: update indices on design modification 2025-02-11 13:32:34 +01:00
opt opt_expr: Fix #4590 2025-04-04 12:25:31 +13:00
pmgen io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
proc mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
sat Merge pull request #4961 from YosysHQ/emil/cutpoint-typo 2025-03-25 21:30:29 +01:00
techmap read_liberty: Faster std::string construction in the liberty lexer 2025-04-01 14:12:12 +02:00
tests macc: Stop using the B port 2025-01-08 13:03:35 +01:00