projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d21513
)
Regression test for smtbmc --unroll --noincr
author
Jannis Harder
<me@jix.one>
Wed, 8 Jun 2022 10:08:34 +0000
(12:08 +0200)
committer
Jannis Harder
<me@jix.one>
Mon, 13 Jun 2022 11:36:42 +0000
(13:36 +0200)
tests/regression/unroll_noincr_traces.sby
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/regression/unroll_noincr_traces.sby
b/tests/regression/unroll_noincr_traces.sby
new file mode 100644
(file)
index 0000000..
e93d18f
--- /dev/null
+++ b/
tests/regression/unroll_noincr_traces.sby
@@ -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