• 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. Disabling illegal coverpoint check?

Stats

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

Disabling illegal coverpoint check?

rossbthompson
rossbthompson over 15 years ago

I have a "test mode" test that creates illegal values. I am using assertkill for this test to kill off assertions, but the covergroups are still activating and causing fails.

EX:

ncsim: *E,EILLSC: Sampled value (15) for coverpoint (mon_state) of cross (digtop_tb.xxxxx.shut_except) is an illegal value.

 Is there an equivelent to assertkill to disable these?

 I am using version: 8.20.015-s

Thanks,

Ross

 

  • Cancel
  • TAM1
    TAM1 over 15 years ago

    You can use the built-in covergroup methods to disable sampling.

     

     

    mycovergroup group1 = new();

    initial

    begin

       ...

       group1.stop();

       ...

       group1.start();

    endgroup

    You could also use a global signal and the "iff" clause in a covergroup declaration to control more than one covergroup at a time.

    reg illegal_packet_ok = 0;

    covergoup moncover @(posedge clk);

       coverpoint mon_state iff ( ! illegal_packet_ok ) ...

     

    There are a lot of places in the covergroup syntax where you can place the iff-clause to turn off a portion of the covergroup, a portion of a coverpoint or a portion of a cross. So you can experiment to see exactly where and when you want to disable the collection of data for an illegal packet.

    • 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