3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-29 20:05:52 +00:00
yosys/passes/tests
Krystine Sherwin 833721bfc4
test_cell: Test CellTypes::eval() directly
Where possible at least, and disable-able with `-nocteval`.
`$lcu` doesn't work because it uses ports `P, G, CI, CO` instead of the standard `A, B, C, Y`.
`$alu` and `$fa` have more than one output so they don't work either (and in the case of `$alu` it has extra inputs too).
`$macc` is at least supported, but `CellTypes::eval()` doesn't have an implementation so it fails (which would also be true for `$lcu`, `$alu`, and `$fa`; if they weren't being rejected based on ports).

Also add `test_cell -list [all|evaluable|missing]` which prints the list of cell types supported by test_cell, cell types marked evaluable, and cell types marked evaluable but not supported by test_cell respectively.  Potential for listing cell types supported by test_cell but *not* marked evalulable, though that list is currently empty.

Add `tests/various/evaluable.sh` to exercise this.
2025-03-31 11:46:24 +13:00
..
flowmap flowmap: implement depth relaxation. 2019-01-08 01:13:05 +00:00
Makefile.inc Added "test_abcloop" command 2014-09-19 15:51:34 +02:00
test_abcloop.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
test_autotb.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
test_cell.cc test_cell: Test CellTypes::eval() directly 2025-03-31 11:46:24 +13:00