3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-11-03 06:17:52 +00:00

Add aiger engine

This commit is contained in:
Clifford Wolf 2017-02-19 23:53:01 +01:00
parent 404f8de16d
commit b5be4a5759
9 changed files with 153 additions and 15 deletions

21
sbysrc/demo2.sby Normal file
View file

@ -0,0 +1,21 @@
[options]
mode prove
wait on
[engines]
aiger suprove
aiger avy
[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