mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-14 01:08:43 +00:00
27 lines
432 B
Plaintext
27 lines
432 B
Plaintext
[tasks]
|
|
suprove
|
|
avy
|
|
rIC3
|
|
|
|
[options]
|
|
mode prove
|
|
|
|
[engines]
|
|
suprove: aiger suprove
|
|
avy: aiger avy
|
|
rIC3: aiger rIC3
|
|
|
|
[script]
|
|
read_verilog -formal demo.v
|
|
prep -top top
|
|
|
|
[file demo.v]
|
|
module top(input clk, input up, down);
|
|
reg [4:0] counter = 0;
|
|
always @(posedge clk) begin
|
|
if (up && counter != 10) counter <= counter + 1;
|
|
if (down && counter != 0) counter <= counter - 1;
|
|
end
|
|
assert property (counter != 15);
|
|
endmodule
|