3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-18 22:59:03 +00:00
yosys/tests
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
..
aiger read_aiger: Fix incorrect read of binary Aiger without outputs 2024-04-29 14:06:58 +01:00
alumacc macc_v2: Add test 2025-01-27 13:19:26 +01:00
arch create duplicate IOFFs if multiple output ports are connected to the same register 2025-01-31 11:28:57 +01:00
asicworld tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
bind Add support for parsing the SystemVerilog 'bind' construct 2021-07-16 09:31:39 -04:00
blif tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
bram tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
cxxrtl Make cxxrtl tests work on 32-bit by using __builtin_clzll when needed 2025-03-25 13:12:04 +00:00
errors Rename the generic "Syntax error" message from the Verilog/SystemVerilog parser into unique, 2018-10-25 02:37:56 +03:00
fmt cxxrtl: always lazily format print messages. 2024-01-19 18:55:23 +00:00
fsm tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
functional functional tests: run from make tests but not smtlib/rkt tests 2024-09-04 10:30:08 +01:00
hana tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
liberty read_liberty: s/busses/buses/ 2024-11-12 13:33:41 +01:00
lut tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
memfile tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
memlib Move parameters to module declaration 2024-04-08 12:44:37 +02:00
memories rtlil: Adjust internal check for $mem_v2 cells 2024-11-08 15:18:43 +01:00
opt opt_expr: Fix #4590 2025-04-04 12:25:31 +13:00
opt_share tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
proc Merge pull request #4714 from georgerennie/george/proc_dff_bug_multiple_sigs 2024-11-20 13:26:32 +01:00
realmath tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
rpc Remove references to ilang 2024-11-05 12:36:31 +13:00
sat test: restore verific handling, nicer naming 2024-12-13 10:24:47 +01:00
select Merge pull request #4700 from povik/select-list-mod 2024-11-04 15:38:42 +00:00
share tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
sim test: restore verific handling, nicer naming 2024-12-13 10:24:47 +01:00
simple write_verilog: don't assign to a reg. 2024-04-03 13:06:45 +02:00
simple_abc9 tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
smv Remove references to ilang 2024-11-05 12:36:31 +13:00
sva tests/sva: Skip sva tests that use SBY until SBY is compatible again 2024-03-05 14:37:33 +01:00
svinterfaces tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
svtypes test: restore verific handling, nicer naming 2024-12-13 10:24:47 +01:00
techmap opt_clean, simplemap: Add $buf handling 2025-03-07 16:08:38 +01:00
tools support file locations containing spaces 2022-08-08 20:30:50 +02:00
unit rtlil: Add {from,to}_hdl_index methods to Wire 2025-02-18 17:08:45 +01:00
various Merge pull request #4942 from Anhijkt/fix-ice40dsp 2025-03-28 13:32:17 +01:00
verific Merge pull request #4814 from YosysHQ/emil/make-test-fasterer 2024-12-18 19:02:39 +01:00
verilog test: restore verific handling, nicer naming 2024-12-13 10:24:47 +01:00
vloghtb tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
xprop tests: Comment on A[0] 2024-02-16 11:43:28 +01:00
gen-tests-makefile.sh Update gen-tests-makefile.sh 2025-03-27 10:33:51 +13:00