• 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. reinvoking from the tcl shell

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 65
  • Views 14034
  • 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

reinvoking from the tcl shell

freitas
freitas over 11 years ago

Hello,

I'd like to reinvoke the simulation using a tcl script. Is this possible? What's the tcl command to re-invoke the simulation?

Actually, I would like a script that runs a preamble command to update the simulation options contained in the irun.f file before re-starting the simulation. That would allow me to re-start the simulation with new options without leaving simvision. 

Is this feasible?

thanks

 

  • Cancel
  • Doug Koslow
    Doug Koslow over 11 years ago

    Hi,

    Yes, this is possible.

    Since reinvoke is a SimVision operation, you need to execute SimVision commands in order
    to execute it. 

    Here is a set of commented SimVision commands to do this, including copying over
    a modified irun.f file.  You could define a custom toolbar button to invoke these commands.


    # Need to disable opening the reinvoke dialog when reinvoking via a script.
    preferences set prompt-on-reinvoke 0

    # Replace these file names with yours.
    set from_file "irun_mod.f"
    set to_file "irun.f"
    exec cp -f $from_file $to_file

    # reinvoke via the Design Browser.  (Assumes this window is still available.)
    window invoke "Design Browser 1" Simulation>ReinvokeSimulator

    # Set the preference back.
    preferences set prompt-on-reinvoke 1


    Good luck...

    - Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • freitas
    freitas over 11 years ago
    It works as a charm! Thanks a lot!
    • 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