The VCS can also collect coverage Metric during the simulation process. Where coverage types are:
1) Code Coverage: Includes Control_flow and value two parts of Coverage,line_coverage, Branch_coverage, Toggle_coverage,
Fsm_coverage.
2) Functional Coverage: Includes Covergroup,sva.
Coverage database generation: Contains all the information about coverage, which is placed by default in the Simv.vdb folder.
In the compile command: vcs [cover_options] [compile_options] source.v
[Cover_options] can be:-cm Line+cond+tgl+fsm+branch+assert
-cm_dir Change the location of the Simv.vdb folder. -CM_NAME specifies testname.
During the simulation: SIMV [cover_options] [run_options]
[Cover_options] can be:-cm Line+cond+tgl+fsm+branch+assert
[Run_options] Specifies the runtime options.
The production of Coverage reports:
Use the tool Urg (Unified report Generator) to produce HTML-formatted files.
Urg-dir Dir1 [Urg_option]
Use the GUI interface of DVE.
Dve-cov-dir <simv.vdb>
Coverage analysis in VCs