Trying to verify Verilog/VHDL designs with formal methods and tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
576 B

  1. [tasks]
  2. cover
  3. bmc
  4. prove
  5. [options]
  6. depth 20
  7. cover: mode cover
  8. bmc: mode bmc
  9. prove: mode prove
  10. [engines]
  11. cover: smtbmc z3
  12. bmc: abc bmc3
  13. prove: abc pdr
  14. [script]
  15. ghdl --std=08 -gFormal=true -gDepth=8 -gWidth=4 fifo.vhd fwft_fifo.vhd -e fwft_fifo
  16. prep -top fwft_fifo
  17. # Convert all assumes to asserts in sub-units
  18. chformal -assume2assert fwft_fifo/* %M
  19. # Remove selected covers in i_fifo sub-unit as they cannot be reached
  20. chformal -cover -remove */formalg.read_pnt_stable_when_empty.cover
  21. chformal -cover -remove */formalg.rerror.cover
  22. [files]
  23. ../fifo/fifo.vhd
  24. fwft_fifo.vhd