Plexiglas1
Newbie

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:
But that doesn't work.
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}