• 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. a test runs differently if I use the -svseed command line...

Stats

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

a test runs differently if I use the -svseed command line switch or I set the seed via tcl and then give run

AlexOgheri
AlexOgheri over 6 years ago

Hi dear all,

I am at a customer working on a SystemVerilog UVM - based verification environment…

without going (yet) too much deep in details I have that starting a simulation with a command line such as:

ifxxcelium execute -gui -- +UVM_TESTNAME=adas_err_monitor_test -svseed 5 -gpg '\"TLF30682_VER => 0\"' +uvm_set_config_int=uvm_test_top,test_nb,6 &

and starting it with

ifxxcelium execute -gui -- +UVM_TESTNAME=adas_err_monitor_test -gpg '\"TLF30682_VER => 0\"' +uvm_set_config_int=uvm_test_top,test_nb,6 &

and then giving in the tcl console:

set svseed 5; run <ENTER>

produces different results...

The ifxxcelium execute customer- specific- script passes what follows "--" simply to xrun (while it works on itself some of the switches before the "--" and then passes them to xrun)...

before going deep…. is a possible corner in the LRM to have different results if one uses the -svseed switch or the "set svseed <VALUE> " tcl command and then hits run ?

simulator version is xcelium_17.10.010 (s010) , run in 32bits mode.

thx in advance!

Alex Ogheri

  • Cancel
  • StephenH
    StephenH over 6 years ago

    I'm not aware of any deliberate difference in behaviour between -svseed and the Tcl svseed variable, however it's possible that your scripting is doing other things before your svseed variable setting, which could mean something gets constructed int eh SV code and picks up the global seed from the command line before you set the seed in Tcl. There's always a risk that you've found a bug too, but 17.10 is extremely old and unless you can reproduce this in a newer supported version, then there's not so much that we can do.

    To be honest though, I'm struggling to understand why you need to use 2 different flows. Can't you pick one and use it consistently so as to get stable results?

    • 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