• 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. Functional Verification
  3. Statement coverage is n/a after running and merging testcase...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 65
  • Views 6692
  • 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

Statement coverage is n/a after running and merging testcase coverage results

prkroon
prkroon over 6 years ago

For my project I setup the coverage flow usung IMC(64) 17.04-s001.

When all coverage is assembled and monitoring the overview in IMC gui I noticed that line statement figures is not present. It is stated as "n/a" what is non-applicable I guess

I what way can I get coverage figures for the statement coverage also?

Peter Kroon

NXP, the Nethelands

  • Cancel
  • StephenH
    StephenH over 6 years ago

    Hello Peter. Can you be a bit more precise about how your simulation is instrumented for coverage? By default the statement coverage is not enabled, and Xcelium uses something called block coverage instead. Block coverage represents each atomic group of statements in the code. Statement coverage is an optional refinement to block coverage, which counts how many statements are in each block of code. To enable statement coverage, you would need to pass the -covfile switch to the elaboration step, and the file pointed to by -covfile needs to have the line "set_statement_scoring" in addition to any other instrumentation commands.

    I would recommend you to study the Coverage Overview on the Cadence support site (requires you to login with your corporate email address).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prkroon
    prkroon over 6 years ago in reply to StephenH

    Hi Stephen, thanks for your reply. In the meantime I found a solution via a coverage file which I connect via the -covfile option. In this ccf file the following statements were added:

    set_statement_scoring
    select_coverage -all
    set_branch_scoring

    This seems to work, at least I can see for statement coverage figures when generating a html report. However, I do not see statement coverage when I am in the IMC gui, in one way or another the contents is still n/a so my next question is why I cannot see the statement coverage figures in the gui.

    I will take a look at the "Coverage Overview" you mentioned, hopefully I can pick up more background information.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 6 years ago in reply to prkroon

    Peter, I'm glad you found the set_statement_coverage option.

    I've attached a screenshot from IMC showing how you can configure the view to show statement coverage information; on the bottom right pane I circled the "attributes" tab, if you click that you'll get a table of attributes, if you search in there using the search box just below the column headings, you can quickly find "Statement Covered" and double-click it to add it to the main Verification Hierarchy pane. Once you're happy with the settings there, you can use the Views toolbar button (where it says "All_Metrics" in the screenshot to open the drop-down menu and save your view for future use.

    I did notice that the bottom right pane where it shows a summary, is missing the statement coverage, I'm not sure why that is! I tend not to use that pane myself...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prkroon
    prkroon over 6 years ago in reply to StephenH

    Hi Stephen,

    Thanks for the additional info, I will give it a try and see how I come.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prkroon
    prkroon over 6 years ago in reply to StephenH

    Hi Stephen, just a remark about the debugging visibility of the "Statement Analysis" in the drop-down menu after I added  the "Statement Covered column" into the main menu window. Currently "Statement Analysis" is greyed out in the drop-down menu (module selected contains statements). Also when I select block analysis for that module I see that "Statement" is greyed out. So how can I debug Statement analysis within the gui?

       

    • 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