Thursday, January 08, 2009     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Generating Code Coverage for SV Verification Environment
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
jagvinder
Posts: 8
Online: User is Offline
7/12/2007 4:14 AM  

Hi,

How to calculate Code Coverage for a System Verilog Verification Environment?

At present, i am not using a DUT. I am taking two instances of my Verfn. Environment for verification.

I am able to generate functional coverage data but for code coverage how should i proceed??

Can i have a specific flow to generate and calculate code coverage for the Environment w/o DUT.




Regards

Jagvin

 

ajeetha
Posts: 97
Online: User is Offline
7/12/2007 7:53 PM  
Do you have a class based TB or module based? If it is module based, I would imagine ncelab -coverage would work. If it is class based then I don't believe Code Coverage is the right technique for it - though I do see a value for it in driver/checker/monitor. Perhaps tools require additional support to do that.

Cheers
Ajeetha, CVC
www.noveldv.com
stephenh
Posts: 77
Online: User is Offline
7/13/2007 2:04 AM  
Hi Jagvin.

Can you see if this thread answers your question?
http://www.cdnusers.org/Forums/tabid/52/forumid/66/postid/4642/view/topic/Default.aspx

If not, maybe you can be a bit more specific about what you're trying to do.
Normally you can treat the TB as the "DUT" for coverage purposes, so you can do code coverage for static structures like modules.

Steve.

Steve H.
jagvinder
Posts: 8
Online: User is Offline
7/15/2007 9:59 PM  
Hi Ajeetha,

I have a module based environment. I have tried few steps given in NCSIM user guide and ICCR guide for code coverage.

But still, i am unable to generate cov_work directory and the files for code coverage.

Can u please let me know which steps i shold take for this. I mean i have a "top", so to calculate its code coverage should i proceed with (1) Compilation (2) Elaboration (3) Simulation

What different commands i can use to create cov_work and code coverage files.

Thanx

Regards

Jagvinder




jagvinder
Posts: 8
Online: User is Offline
7/16/2007 12:11 AM  
Hi Ajeetha & Steve,

Thanks a lot.
The command "ncelan -coverage " worked.

Actually i had to use -cov58 as i am using IUS 6.1.

I used the command "ncelab -cov58 -coverage all " and it created coverage database for all the coverages after simulation.


Thanx once again.

Regards

Jagvinder
Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > Generating Code Coverage for SV Verification Environment


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.