• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Hardware/Software Co-Development, Verification…
  3. how to deselect_coverage for an instance?

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 49
  • Views 19737
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to deselect_coverage for an instance?

sharangdhar
sharangdhar over 9 years ago

Hi

Need to deselect coverage for memory instance and any logic hierarchy below  from top module.

Using " deselect_coverage -instance dut.mem_i... -be "  option to deselect coverage during elaboration stage. The final coverage report still shows coverage for dut.mem_i and below.

Is there any other option in iccr or irun for deselecting coverage from getting reported?

regards

Sharangdhar

  • Cancel
  • StephenH
    StephenH over 9 years ago

    Hi Sharangdhar.

    What coverage types are you seeing under the dut.mem instance? I would not expect to see block or expression, based on your command above, but you might still have FSM and toggle enabled, depending on the preceding select_coverage commands. Are you accidentally using the "-coverage all" option on the run / ncelab command in addition to -covfile? This is a common mistake, and I would recommend always to use a covfile and never the -coverage option (unless you want all the default coverage options, which is pretty rare).

    Can you share your entire coverage control file, so that we can see what else might be impacting this?

    You might also need to "deselect_coverage -all -module <memory_module_name>..." if you had selected module based coverage as well.

    As a post-processing step you can use IMC to exclude complete levels of hierarchy, just select the dut.mem instance in the GUI and click the exclude button in the toolbar. Just remember to save the refinement file (*.vRefine) for future use! I would however recommend fixing the elaboration coverage settings because that will improve simulation speed as well.

    Regards,Steve.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sharangdhar
    sharangdhar over 9 years ago

    Hi Steve.

    The intention is to disable the coverage for memory instances. But the block and expression coverage is also getting reported in GUI as well in html report.

    I am using iccr for coverage analysis, will try to check the same with IMC.

    Other parameters used in ccf are as mentioned below.

    set_ignore_library_name
    set_code_fine_grained_merging
    set_implicit_block_scoring -off
    set_assign_scoring
    set_expr_scoring -all
    set_toggle_includex

    Thanks for the help.

    best regards

    Sharangdhar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 9 years ago
    Yes, I understand you intention, the problem is that if you feed incomplete information it is virtually impossible to say what you did wrong and correct you. Is that your complete CCF file? I suspect not, since there are no select_coverage lines in there. If you cannot share the complete file on this forum, please would you go to support.cadence.com and file a support request so that we can handle your exact data in confidence. Regarding ice, this is a deprecated tool and should not be used any more, IMC has replaced it several years ago.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sharangdhar
    sharangdhar over 9 years ago

    Hi Steve,

    For select_coverage I am using -coverage bet option.  As you pointed out -coverage all may be overriding deselect_coverage option.

    I will use IMC hence forth for coverage analysis.

    Thanks and best regards

    sharangdhar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 9 years ago

    OK, seriously I would advise removing "-coverage bet" from the command line and instead put "select_coverage" commands into the CCF.

    For example:

    select_coverage -bet -instance dut...
    deselect_coverage -all -instance dut.mem...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information