• 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. Collecting Coverage using Vmanager

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 3526
  • 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

Collecting Coverage using Vmanager

MT202409027637
MT202409027637 over 1 year ago

Hi, 

I am running a regression in order to collect the coverage. However I have an issue. I am setting a signal to 0 when reset is de-asserted  then this signal takes a fixed value when the reset is asserted. 

if(!rst_n) 
init_val= 'b0;

else 

init_val= 31'h34013FF7

the issue is that I got 0%  coverage for the init_value since we only have a rising edge and the signal is not toggling during the simulation. is there an option to collect coverage when there is a rising edge or a falling edge? 

  • Cancel
Parents
  • StephenH
    StephenH 11 months ago

    Your question is somewhat ambiguous, because toggle coverage is automatically collected for rising and falling edges, and you haven't clarified exactly what you currently observer and what you would like to observe.

    You can configure coverage instrumentation using a coverage control file at elaboration time, have a look at the docs https://support.cadence.com/apex/techpubDocViewerPage?xmlName=iccugn.xml&title=Integrated%20Coverage%20User%20Guide%20--%20Table%20of%20Contents&hash=&c_version=24.03&path=iccugn/iccugn24.03/iccugnTOC.html in particular the section "Understanding Toggle Coverage".

    But to be honest, I would be inclined to simply exclude this signal from toggle coverage, as it doesn't appear to provide any value in terms of telling you what has been verified. Block coverage would already tell you if you've execute the if-true and if-else branches.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • StephenH
    StephenH 11 months ago

    Your question is somewhat ambiguous, because toggle coverage is automatically collected for rising and falling edges, and you haven't clarified exactly what you currently observer and what you would like to observe.

    You can configure coverage instrumentation using a coverage control file at elaboration time, have a look at the docs https://support.cadence.com/apex/techpubDocViewerPage?xmlName=iccugn.xml&title=Integrated%20Coverage%20User%20Guide%20--%20Table%20of%20Contents&hash=&c_version=24.03&path=iccugn/iccugn24.03/iccugnTOC.html in particular the section "Understanding Toggle Coverage".

    But to be honest, I would be inclined to simply exclude this signal from toggle coverage, as it doesn't appear to provide any value in terms of telling you what has been verified. Block coverage would already tell you if you've execute the if-true and if-else branches.

    • 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