mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-25 22:26:07 +00:00
Extend primegen example
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
ec38b0b841
commit
2c13fbefe6
4 changed files with 32 additions and 3 deletions
|
@ -1,13 +1,21 @@
|
|||
[tasks]
|
||||
primegen
|
||||
primes_fail
|
||||
primes_pass
|
||||
|
||||
[options]
|
||||
mode cover
|
||||
depth 1
|
||||
primes_fail: expect fail
|
||||
|
||||
[engines]
|
||||
smtbmc --dumpsmt2 --stbv z3
|
||||
smtbmc --dumpsmt2 --progress --stbv z3
|
||||
|
||||
[script]
|
||||
read_verilog -formal primegen.v
|
||||
prep -top primegen
|
||||
primes_fail: chparam -set offset 7 primes
|
||||
primegen: prep -top primegen
|
||||
~primegen: prep -top primes
|
||||
|
||||
[files]
|
||||
primegen.v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue