Continue to Site

Questa - How to exclude enum variants from toggle coverage using a .do file?

Plexiglas1

Newbie
Newbie level 3
Joined
Feb 19, 2025
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
32
This was originally posted in "Software Problems, Hints and Reviews", but it probably fits better here.

I'm using SystemVerilog and I'm trying to exclude coverage from a signal that never transitions into one of the enum variants in it's module.
The enum is used across multiple modules and imported from a package, so I can't just remove it.
I also can't exclude the whole signal because I want other enum variants to be covered.

My .do file contains something like this:
Code:
coverage exclude -du offending_module -togglenode {offending_signal.UNUSED} -comment {Enum variant UNUSED is unused in module}
But that doesn't work.
 


Write your reply...

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top