mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-12 08:10:56 +00:00
New exercise section
Worked exercise using the MAX_DATA parameter, highlighting its incompleteness. Includes completed examples in /golden subdirectory. Also some formatting changes for spacing and extra links.
This commit is contained in:
parent
7ba67ef260
commit
aab2c3c2e0
3 changed files with 279 additions and 11 deletions
32
docs/examples/fifo/golden/fifo.sby
Normal file
32
docs/examples/fifo/golden/fifo.sby
Normal file
|
@ -0,0 +1,32 @@
|
|||
[tasks]
|
||||
basic bmc
|
||||
nofullskip prove
|
||||
cover
|
||||
bigtest cover
|
||||
basic cover : default
|
||||
|
||||
[options]
|
||||
cover:
|
||||
mode cover
|
||||
--
|
||||
prove:
|
||||
mode prove
|
||||
--
|
||||
bmc:
|
||||
mode bmc
|
||||
--
|
||||
bigtest: depth 120
|
||||
~bigtest: depth 10
|
||||
|
||||
[engines]
|
||||
smtbmc boolector
|
||||
|
||||
[script]
|
||||
nofullskip: read -define NO_FULL_SKIP=1
|
||||
read -formal fifo.sv
|
||||
bigtest: hierarchy -check -top fifo -chparam MAX_DATA 100 -chparam ADDR_BITS 7
|
||||
~bigtest: hierarchy -check -top fifo -chparam MAX_DATA 5 -chparam ADDR_BITS 3
|
||||
prep -top fifo
|
||||
|
||||
[files]
|
||||
fifo.sv
|
Loading…
Add table
Add a link
Reference in a new issue