mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-07 06:44:06 +00:00
Add noverific task to test the non verific code
Mostly for CI to ensure fallback code still functions as intended.a Also reverted the change in the grep command to 1 line after.
This commit is contained in:
parent
ad8730fa44
commit
1d4716a5f9
docs
|
@ -2,6 +2,7 @@
|
|||
basic bmc
|
||||
nofullskip prove
|
||||
cover
|
||||
noverific cover
|
||||
basic cover : default
|
||||
|
||||
[options]
|
||||
|
@ -20,6 +21,7 @@ smtbmc boolector
|
|||
|
||||
[script]
|
||||
nofullskip: read -define NO_FULL_SKIP=1
|
||||
noverific: read -noverific
|
||||
read -formal fifo.sv
|
||||
prep -top fifo
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3 $SBY_MAIN -f fifo.sby
|
||||
python3 $SBY_MAIN -f fifo.sby basic cover noverific
|
||||
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
exit 1
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
basic bmc
|
||||
nofullskip prove
|
||||
cover
|
||||
noverific cover
|
||||
bigtest cover
|
||||
|
||||
[options]
|
||||
|
@ -23,6 +24,7 @@ smtbmc boolector
|
|||
|
||||
[script]
|
||||
nofullskip: read -define NO_FULL_SKIP=1
|
||||
noverific: read -noverific
|
||||
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
|
||||
|
|
|
@ -114,6 +114,7 @@ verification.
|
|||
**cover**
|
||||
Cover mode (testing cover statements).
|
||||
|
||||
|
||||
The use of the ``:default`` tag indicates that by default, basic and cover
|
||||
should be run if no tasks are specified, such as when running the command below.
|
||||
|
||||
|
@ -188,7 +189,7 @@ Searching the file for ``w_underfill`` will reveal the below.
|
|||
|
||||
.. code-block:: text
|
||||
|
||||
$ grep "w_underfill" fifo_cover/logfile.txt -A 2
|
||||
$ grep "w_underfill" fifo_cover/logfile.txt -A 1
|
||||
SBY [fifo_cover] engine_0: ## Reached cover statement at w_underfill in step 2.
|
||||
SBY [fifo_cover] engine_0: ## Writing trace to VCD file: engine_0/trace4.vcd
|
||||
|
||||
|
@ -210,6 +211,7 @@ Adjust the ``[script]`` section of ``fifo.sby`` so that it looks like the below.
|
|||
|
||||
[script]
|
||||
nofullskip: read -define NO_FULL_SKIP=1
|
||||
noverific: read -noverific
|
||||
read -formal fifo.sv
|
||||
hierarchy -check -top fifo -chparam MAX_DATA 17
|
||||
prep -top fifo
|
||||
|
|
Loading…
Reference in a new issue