• 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. VR_AD, how to have a coverage for bit toggle, not value

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 65
  • Views 12998
  • 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

VR_AD, how to have a coverage for bit toggle, not value

RyanLV
RyanLV over 14 years ago
 Now, we have a register like
reg_def  DATA_REG  REG_FILE  12'0x024 { 
   reg_fld resv : uint(bits:24) : R : 0; 
   reg_fld data      : uint(bits:8) : RW : 0 : cov;
}
I want to know whether all bits are toggled in field 'data', but don't care what values are covered.
 I know it could be written as:
        ranges = {
                       range([1'b0..1'b1],  "0");
                       range([2'b10..2'b11],  "1");
                       range([3'b100..3'b111], "2");
                       range([4'b1000..4'b1111],  "3");
                       range([5'b10000..5'b11111],  "4");
                         ...........
                       range([8'b1000_0000..8'b1111_111], "7"); }

Is it possible that VR_AD provide a easy way to do it? Ofcourse, it's caused by specman coverage behavior, not vr_ad.
  • 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