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

Regression test for smtbmc --unroll --noincr

This commit is contained in:
Jannis Harder 2022-06-08 12:08:34 +02:00
parent 1d21513a47
commit 4ef02d2c5c

View file

@ -0,0 +1,29 @@
[tasks]
boolector
yices
z3
[options]
mode bmc
expect fail
[engines]
boolector: smtbmc boolector -- --noincr
yices: smtbmc --unroll yices -- --noincr
z3: smtbmc --unroll z3 -- --noincr
[script]
read -formal top.sv
prep -top top
[file top.sv]
module top(input clk);
reg [7:0] counter = 0;
wire derived = counter * 7;
always @(posedge clk) begin
counter <= counter + 1;
assert (counter < 4);
end
endmodule