• 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. Directed vs Random Testing

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 68
  • Views 14460
  • 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

Directed vs Random Testing

FormerMember
FormerMember over 17 years ago

Hi

I am writing a paper looking at "myths" in functional verification. By "myth" I mean the types of things which people take as accepted truth even though there may not be much evidence to back them up. So, is the death of directed testing one such myth?

My opinion is:
- random has replaced directed as the preferred test methodology at block level (and if you want a directed test you do that via your random test bench)
- but at chip level there is still a lot of directed mainly for many reasons - the main ones being more legacy of test benches at chip level and legacy of thought (i.e. we must see the chip do this before we ship), you want to see specific integration scenarios (although random + coverage could do that too), and because you are often doing HW + SW coverification where directed is more usual

I'm looking for an active discussion plus references to good articles or papers on this topic please

Thanks

Mike Bartley

  • Cancel
Parents
  • adua
    adua over 16 years ago

     

    Hi Mike,

    Interesting topic. I agree with your thought that random & contraint random is an advanced & better way to do verification closure specially with metric driven verification based on coverage, but directed is not dead.

    However, I would like to add another aspect here. Verification is mostly done with both random and directed, and what is more common depends on the 'stage' of verification i.e. how stable is your DUV is expected to be. Typically verification is mostly started with directed testing (specific basic flow is working like device boot or reaching the initialization stage). So all the basic functions are verified using manual directed testing. Then in the middle stage of verification, it is mostly random testing where you use generate random or interesting scenarios using constraint randomization. Finally in the end the users again do directed testing to test 'corner case' situations that are specific to the device.

    Overall, I would roughly put directed-random-directed as the order of sequence of predominate way of verification.

    -Amit.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • adua
    adua over 16 years ago

     

    Hi Mike,

    Interesting topic. I agree with your thought that random & contraint random is an advanced & better way to do verification closure specially with metric driven verification based on coverage, but directed is not dead.

    However, I would like to add another aspect here. Verification is mostly done with both random and directed, and what is more common depends on the 'stage' of verification i.e. how stable is your DUV is expected to be. Typically verification is mostly started with directed testing (specific basic flow is working like device boot or reaching the initialization stage). So all the basic functions are verified using manual directed testing. Then in the middle stage of verification, it is mostly random testing where you use generate random or interesting scenarios using constraint randomization. Finally in the end the users again do directed testing to test 'corner case' situations that are specific to the device.

    Overall, I would roughly put directed-random-directed as the order of sequence of predominate way of verification.

    -Amit.

    • 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