Home System Verilog Functional Coverage SV Covergroup
Main Menu
Home
System Verilog
    - Constructs
    - SV Classes
    - Functional Coverage SV
        -- Introduction
        -- Covergroup
    - Examples
    - Tools
    - Links
    - Books
    - Interview Questions SV
Verilog
Methodologies
Open Vera
Digital Concepts
Verification Basics
Protocols
Scripting
Articles
Videos
Interview Questions
Computer Architechture
C and C++
Blog/Article
AsicGuru Blog
Tags Cloud
Ads
Usefull Sites
Know Your IP/Location
Local Information India
Free Classified India
Real Estate India
Covergroup
Share This Articale:

System Verilog Covergroup contruct :

Covergroup is like a user defined type that encapsulates and specifies the coverage.  It can be defined in a package, module, program,  interface or class Once defined multiple instances can be created using new Parameters to new() enable customization of different  instances. A covergroup sepcification can include the following components

  1. A clocking event that synchronizes the sampling of coverage points
  2. A set of coverage points
  3. Cross coverage between coverage points
  4. Optional formal arguments
  5. Coverage options


– Ref argument enables different variables to be sampled by different  instances of covergroup

Syntax :

covergroup cg; 
// Covearge points 
endgroup : cg

// create instance 
cg cg_inst = new;

This Articles is written/submitted by puneet (Puneet Aggarwal). You can also contribute to Asicguru.com. Click here to start


Prev << Introduction

Because of huge spamming only registered users are allowed to comment. Please Login or Register

 
Login/Register
Register
Sign In
Bookmark
ADS