Browse Source

Use chformal to remove unreachable cover cells

T. Meissner 1 week ago
parent
commit
667601fd5e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      vai_fifo/symbiyosys.sby

+ 6
- 0
vai_fifo/symbiyosys.sby View File

@@ -17,7 +17,13 @@ prove: abc pdr
17 17
 [script]
18 18
 ghdl --std=08 -gFormal=true -gDepth=16 -gWidth=16 fifo.vhd vai_fifo.vhd -e vai_fifo
19 19
 prep -top vai_fifo
20
+# Convert all assumes to asserts in sub-unit i_fifo
20 21
 chformal -assume2assert vai_fifo/i_fifo %M
22
+# Remove selected covers in i_fifo sub-unit as they cannot be reached
23
+chformal -cover -remove */formalg.read_pnt_stable_when_empty.cover
24
+chformal -cover -remove */formalg.rerror.cover
25
+chformal -cover -remove */formalg.werror.cover
26
+chformal -cover -remove */formalg.write_pnt_stable_when_full.cover
21 27
 
22 28
 [files]
23 29
 ../fifo/fifo.vhd