mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-23 05:15:30 +00:00
aiger: check supported modes and aigbmc fixes
This commit is contained in:
parent
1e1402474a
commit
05d963b0df
3 changed files with 51 additions and 2 deletions
36
tests/unsorted/bmc_len.sby
Normal file
36
tests/unsorted/bmc_len.sby
Normal file
|
@ -0,0 +1,36 @@
|
|||
[tasks]
|
||||
smtbmc_pass: smtbmc pass
|
||||
smtbmc_fail: smtbmc fail
|
||||
aigbmc_pass: aigbmc pass
|
||||
aigbmc_fail: aigbmc fail
|
||||
btormc_pass: btormc pass
|
||||
btormc_fail: btormc fail
|
||||
abc_pass: abc pass
|
||||
abc_fail: abc fail
|
||||
|
||||
[options]
|
||||
mode bmc
|
||||
pass: expect pass
|
||||
fail: expect fail
|
||||
pass: depth 5
|
||||
fail: depth 6
|
||||
|
||||
[engines]
|
||||
smtbmc: smtbmc boolector
|
||||
aigbmc: aiger aigbmc
|
||||
btormc: btor btormc
|
||||
abc: abc bmc3
|
||||
|
||||
[script]
|
||||
read -formal top.sv
|
||||
prep -top top
|
||||
|
||||
[file top.sv]
|
||||
module top(input clk);
|
||||
reg [7:0] counter = 0;
|
||||
|
||||
always @(posedge clk) begin
|
||||
counter <= counter + 1;
|
||||
assert (counter < 4);
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue