Enabling Code coverage in VCS

Status
Not open for further replies.

koolklara

Newbie level 2
Joined
Mar 7, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hello,

I have been trying to enable code coverage in VCS and running into some issues.

I added "-cm line" switch to my compile and simulation and

" -metric line" to the command used to extract the line coverage information from the vdb.

The command I use is,

urg -metric line -dir <path_dir> -dbname <path_to_vdb>

The problem is, I only see coverage getting enabled at the leaf nodes. I also have verilog code sometimes at the parent level.

For e.g.

root
|_parent
|_leaf

I can only see the line coverage enabled at leaf whereas I want it at parent too.

Is there a depth switch missing in my build?
Any response is appreciated.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…