1
0
mirror of synced 2026-01-25 20:06:27 +00:00
Files
YosysHQ.yosys/tests/opt
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
..
2020-04-23 15:58:36 -07:00
2020-05-01 14:07:33 -07:00
2021-08-11 13:34:10 +02:00
2021-06-11 12:06:35 +01:00
2024-11-05 12:36:31 +13:00
2024-11-05 12:36:31 +13:00
2020-07-30 18:27:04 +02:00
2020-07-30 18:27:04 +02:00
2020-07-30 18:27:04 +02:00
2022-10-07 16:04:51 +02:00
2020-07-30 18:27:04 +02:00
2020-05-08 11:12:58 -07:00
2020-04-23 15:58:36 -07:00
2025-04-04 12:25:31 +13:00
2020-04-23 15:58:36 -07:00
2024-11-05 12:36:31 +13:00
2024-11-05 12:36:31 +13:00
2024-11-05 12:36:31 +13:00
2021-08-11 13:34:10 +02:00
2020-03-16 12:43:54 -07:00
2025-04-01 21:54:46 +03:00
2024-11-05 12:36:31 +13:00
2024-11-05 12:36:31 +13:00
2020-07-30 18:27:04 +02:00
2020-06-09 22:48:26 +02:00
2020-07-30 18:27:04 +02:00