3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00
yosys/passes
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
..
cmds select: New type props 2025-02-25 13:41:14 +13:00
equiv mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
fsm fix bugs in handling last id in hdlname to scopename conversion 2025-01-16 12:57:08 +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 Fix runtime error on shr INT_MAX 2025-02-14 14:01:36 +13:00
pmgen Merge pull request #4448 from georgerennie/shiftadd_gating 2024-11-20 13:34:09 +01:00
proc mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
sat mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
techmap Merge pull request #4876 from gadfort/segfault-lexer 2025-02-07 20:24:08 +01:00
tests test_cell: Test CellTypes::eval() directly 2025-03-31 11:46:24 +13:00