Skip to content

Commit 429476e

Browse files
authored
Merge pull request #286 from diffblue/ic3-unconstrained_initial
ebmc: add a KNOWNBUG test for IC3
2 parents 4901a33 + eb52b0f commit 429476e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
unconstrained_initial.sv
3+
--ic3
4+
^EXIT=1$
5+
^SIGNAL=0$
6+
^property FAILED
7+
^cex verification is ok
8+
--
9+
^cex verification failed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module main(input clk);
2+
3+
// no initial state constraint on my_bit
4+
reg my_bit;
5+
6+
always @(posedge clk)
7+
my_bit = my_bit;
8+
9+
// expected to fail
10+
p0: assert property (my_bit == 0);
11+
12+
endmodule

0 commit comments

Comments
 (0)