mirror of
https://github.com/YosysHQ/sby.git
synced 2025-07-18 04:26:44 +00:00
Add inductive invariants example
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
ab9d4fd3cf
commit
4a07e026dd
6 changed files with 290 additions and 0 deletions
27
docs/examples/indinv/prove_p0.sby
Normal file
27
docs/examples/indinv/prove_p0.sby
Normal file
|
@ -0,0 +1,27 @@
|
|||
[tasks]
|
||||
: p0
|
||||
: p1
|
||||
p2
|
||||
p3
|
||||
k
|
||||
|
||||
[options]
|
||||
mode prove
|
||||
k: depth 6
|
||||
~k: depth 1
|
||||
|
||||
[engines]
|
||||
smtbmc
|
||||
|
||||
[script]
|
||||
read -verific
|
||||
read -define ASSERT_PX=p0
|
||||
p0: read -define ASSUME_PX=p0
|
||||
p1: read -define ASSUME_PX=p1
|
||||
p2: read -define ASSUME_PX=p2
|
||||
p3: read -define ASSUME_PX=p3
|
||||
read -sv example.sv
|
||||
prep -top example
|
||||
|
||||
[files]
|
||||
example.sv
|
Loading…
Add table
Add a link
Reference in a new issue