3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 04:01:25 +00:00

chformal: Add -assert2cover option

Also add to chformal tests.
This commit is contained in:
Krystine Sherwin 2025-06-14 10:54:06 +12:00
parent 67f8de54dc
commit 45131f4425
No known key found for this signature in database
2 changed files with 24 additions and 0 deletions

View file

@ -36,6 +36,12 @@ select -assert-count 1 t:$assert
design -load prep
chformal -assert2cover
select -assert-count 1 t:$check r:FLAVOR=cover %i
design -load prep
chformal -assert2assume
async2sync
chformal -lower
@ -66,3 +72,8 @@ design -copy-from gate -as gate top
miter -equiv -flatten -make_assert gold gate miter
sat -verify -prove-asserts -tempinduct miter
design -load prep
logger -expect error "Cannot use both" 1
chformal -assert2assume -assert2cover