• 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. What's the difference between -seed and -svseed in irun...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 64
  • Views 10764
  • 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

What's the difference between -seed and -svseed in irun?

archive
archive over 11 years ago

There are two options to control random seed when using irun: -seed, -svseed.

It seems that these two options is doing the same thing: set a random seed to RNG. And I tried many times, I can't find difference between these two options. Both can be used to control Verilog/SystemVerilog randomization, for example:

-seed 123

-svseed 123

-seed random

-svseed random

So, what's the difference between these two options?

Thanks!

  • Cancel
Parents
  • hannes
    hannes over 11 years ago

     Regarding irun, one thing which is useful is "irun -helpall | grep <word of interest". So irun-helpall | grep seed gives:

      -seed <seed>               Set the seed value for SystemVerilog and Specman
      -snseed <seed>             Pass seed value to Specman
      -svseed <seed>             Set SystemVerilog default RNG seed
     
    Numbers are seeds, "random" will be randomly generated seeds.
     
    Regards,
    -hannes 
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • hannes
    hannes over 11 years ago

     Regarding irun, one thing which is useful is "irun -helpall | grep <word of interest". So irun-helpall | grep seed gives:

      -seed <seed>               Set the seed value for SystemVerilog and Specman
      -snseed <seed>             Pass seed value to Specman
      -svseed <seed>             Set SystemVerilog default RNG seed
     
    Numbers are seeds, "random" will be randomly generated seeds.
     
    Regards,
    -hannes 
    • 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