• 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. Xcelium Functional Coverage

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 66
  • Views 33859
  • 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

Xcelium Functional Coverage

Sparsh Gupta
Sparsh Gupta over 6 years ago

Is there a way to generate coverage reports, not in ucd or any other format. I have written basic covergroup and passed arguments[-covoverwrite -cov_cgsample -cov_debuglog -coverage u] to the xrun command, however I don't see anything in sim directory, nor do I see anything in the logs indicating the covergroups have been hit. How can I confirm that cover groups are getting hit and essentially observe the bins. In Questa sim, you essentially get them as part of the log itself.

  • Cancel
Parents
  • StephenH
    StephenH over 6 years ago

    Hi Sparsh.

    I'm not sure where you got your switches from, but you should not normally need (or want) -cov_cgsample or -cov_debuglog. Just using -coverage u, should turn on dumping of functional coverage (did you also want code coverage?).

    I can't comment on Mentor's flow, but with Xcelium the normal flow is for the simulator to dump a binary file (*.ucd) at the end of the test, and you use a separate analysis tool, IMC, to analyse the coverage and generate reports (text, CSV, HTML).

    The ucd file would be dumped into ./cov_work/scope/test by default.

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

    Understood, is there a definite way to know that my coverage bins are getting hit? If the directory isn't getting generated, does that mean my coverage bins are not getting hit. Also, if I really want a txt dump instead of the ucd file, can I get that. I don't have a license for IMC. I have a vmanager license though. I did see a ucdToXML command in batch mode. Will this work straight out of the box, or I would need  some settings to be configured?

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

    Not sure why you think you don't have a licence for IMC, it should be enabled by the same token as the simulator GUI. vManager is a superset of IMC and can generate reports as well.

    The simulator doesn't dump coverage reports in text format because text is a terrible format for regressions, you can't merge 1000's of text files and they are really inefficient compared to the binary compressed ucd format.

    The simulation should dump the cov_work directory regardless of whether you hit any coverage bins. If you have enabled ONLY functional coverage (no code coverage) then maybe you forgot to call the constructor for your covergroups, meaning that the coverage model is empty.

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

    There is some installation related issue with IMC, which I need to take care of. Meanwhile, would it be possible to generate the reports without the use of IMC. 

    I made a mistake while coding that's why the cov_work directory was not getting generated. I rectified it now and am able to see the same. But since the report is in ucd format and I don't have IMC access for now, I can't observe the numbers so to speak. Is there a way to debug the coverage numbers using the ucd file and the waves? When I open the waves in indago, I don't see the coverpoints in the objects in the environment. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Sparsh Gupta
    Sparsh Gupta over 6 years ago in reply to StephenH

    There is some installation related issue with IMC, which I need to take care of. Meanwhile, would it be possible to generate the reports without the use of IMC. 

    I made a mistake while coding that's why the cov_work directory was not getting generated. I rectified it now and am able to see the same. But since the report is in ucd format and I don't have IMC access for now, I can't observe the numbers so to speak. Is there a way to debug the coverage numbers using the ucd file and the waves? When I open the waves in indago, I don't see the coverpoints in the objects in the environment. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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