Skip to content

Commit

Permalink
ebmc: add a basic test for CEGAR
Browse files Browse the repository at this point in the history
  • Loading branch information
kroening committed Oct 29, 2023
1 parent 0d22a85 commit 3bcf46b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions regression/ebmc/cegar/basic1.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
KNOWNBUG
basic1.sv
--cegar
SUCCESS$
^EXIT=0$
^SIGNAL=0$
12 changes: 12 additions & 0 deletions regression/ebmc/cegar/basic1.sv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module top(input clk);

reg important;
reg not_important;

initial important = 1;
always @(posedge clk)
important = important;

assert property (important == 1);

endmodule

0 comments on commit 3bcf46b

Please sign in to comment.