3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-23 05:15:30 +00:00

parse solver location output for assert failures (cover not functional yet)

This commit is contained in:
N. Engelhardt 2022-01-27 13:41:07 +01:00
parent a9d1972c47
commit 1cf27e7c31
5 changed files with 91 additions and 9 deletions

30
tests/submod_props.sby Normal file
View file

@ -0,0 +1,30 @@
[tasks]
bmc
cover
[options]
bmc: mode bmc
cover: mode cover
expect fail
[engines]
smtbmc boolector
[script]
read_verilog -sv test.sv
prep -top top
[file test.sv]
module test(input foo);
always @* assert(foo);
always @* assert(!foo);
always @* cover(foo);
always @* cover(!foo);
endmodule
module top();
test test_i (
.foo(1'b1)
);
endmodule