Verification Guild
A Community of Verification Professionals

 Create an AccountHome | Calendar | Downloads | FAQ | Links | Site Admin | Your Account  

Login
Nickname

Password

Security Code: Security Code
Type Security Code
BACKWARD

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Modules
· Home
· Downloads
· FAQ
· Feedback
· Recommend Us
· Web Links
· Your Account

Advertising

Who's Online
There are currently, 35 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

  
Verification Guild: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile  ProfileDigest    Log inLog in 

Condition Based covergroup implementation

 
Post new topic   Reply to topic    Verification Guild Forum Index -> Main
View previous topic :: View next topic  
Author Message
SKS
Junior
Junior


Joined: Dec 15, 2011
Posts: 5

PostPosted: Thu Feb 09, 2012 8:04 am    Post subject: Condition Based covergroup implementation Reply with quote

Hi ,

We can have condition based coverpoint implementaion for coverage in system verilog.

Can we have condition based covergroup implementaion ???? If yes, then How ????



Regards,
Saurabh
Back to top
View user's profile
Ajeetha
Senior
Senior


Joined: Mar 29, 2004
Posts: 424
Location: Bengaluru, India

PostPosted: Sat Feb 11, 2012 3:56 am    Post subject: Re: Condition Based covergroup implementation Reply with quote

SKS wrote:
Hi ,

We can have condition based coverpoint implementaion for coverage in system verilog.

Can we have condition based covergroup implementaion ???? If yes, then How ????



Regards,
Saurabh


Maybe you can sample it based on the condition? Use explicit sampling via sample() method.

Ajeetha, CVC
www.cvcblr.com/blog
_________________
Ajeetha Kumari,
CVC Pvt Ltd. http://www.cvcblr.com
* A Pragmatic Approach to VMM Adoption http://www.systemverilog.us/
* SystemVerilog Assertions Handbook
* Using PSL/Sugar
Back to top
View user's profile Visit poster's website
SKS
Junior
Junior


Joined: Dec 15, 2011
Posts: 5

PostPosted: Sat Feb 11, 2012 4:58 am    Post subject: Re: Condition Based covergroup implementation Reply with quote

Hi,

Even if i do not sample it, it would be present in coverage report and that will lead to have less overall coverage.

I want to completely exclude a particular covergroup based on some condition. ?????

Regards,
SKS
Back to top
View user's profile
Ajeetha
Senior
Senior


Joined: Mar 29, 2004
Posts: 424
Location: Bengaluru, India

PostPosted: Sat Feb 11, 2012 10:26 am    Post subject: Re: Condition Based covergroup implementation Reply with quote

SKS wrote:
Hi,

Even if i do not sample it, it would be present in coverage report and that will lead to have less overall coverage.

I want to completely exclude a particular covergroup based on some condition. ?????

Regards,
SKS


Is that condition compile/elab time or run time variable? If compile time - you can use `ifdef, if elab time you can use generate. If run time - you can use "coverage exclusion" flow as some form of post-processing (check your tool doc).

HTH
Ajeetha, CVC
www.cvcblr.com/blog
_________________
Ajeetha Kumari,
CVC Pvt Ltd. http://www.cvcblr.com
* A Pragmatic Approach to VMM Adoption http://www.systemverilog.us/
* SystemVerilog Assertions Handbook
* Using PSL/Sugar
Back to top
View user's profile Visit poster's website
dave_59
Senior
Senior


Joined: Jun 22, 2004
Posts: 974
Location: Fremont, CA

PostPosted: Sat Feb 11, 2012 2:49 pm    Post subject: Reply with quote

You can always set the weight the covergroup to 0, that has the effect of removing it from the overall coverage calculation. When is this condition known? And is the result of the condition available when constructing the covergroup.
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Verification Guild Forum Index -> Main All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Verification Guild © 2006 Janick Bergeron
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.300 Seconds