Coverage analysis in VCs

Source: Internet
Author: User
Tags fsm

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.