3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-11-03 14:27:53 +00:00

Test property statuses for cover_assert

Cover properties shouldn't be marked fail when the test failed early due to an assertion.
This should fail without other changes.
This commit is contained in:
Krystine Sherwin 2025-07-05 12:40:57 +12:00
parent 4d8462b58e
commit 911ae02ee5
No known key found for this signature in database
5 changed files with 105 additions and 0 deletions

24
tests/statusdb/mixed.sby Normal file
View file

@ -0,0 +1,24 @@
[tasks]
no_assert cover
assert cover
bmc
[options]
cover: mode cover
bmc: mode bmc
bmc: depth 1
assert: cover_assert on
no_assert: expect pass
~no_assert: expect fail
[engines]
cover: smtbmc boolector
bmc: smtbmc boolector
[script]
read -formal mixed.v
prep -top test
[files]
mixed.v