Skip to content

Questions about coverage #888

Answered by tmeissner
tmeissner asked this question in Q&A
May 14, 2024 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Another question regarding coverage:

I don't understand how to correctly use the coverage setting files. I only want coverage from my DUT and the hierarchy under it, but not the test bench itself. My test bench name is QUEUEHANDLINGT, so I tried something like this:

- block QUEUEHANDLINGT
+ hierarchy WORK.QUEUEHANDLINGT.*

But then coverage is empty. When I don't use these settings I get coverage, but also for the test bench which I don't want. So, how can I exclude coverage of the (top level) test bench, but including coverage of the DUT and all units "under" it?

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@nickg
Comment options

@tmeissner
Comment options

tmeissner May 14, 2024
Author Sponsor

@tmeissner
Comment options

tmeissner May 15, 2024
Author Sponsor

Comment options

You must be logged in to vote
4 replies
@nickg
Comment options

@Blebowski
Comment options

@tmeissner
Comment options

tmeissner May 16, 2024
Author Sponsor

@Blebowski
Comment options

Answer selected by tmeissner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants