• 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. Custom IC SKILL
  3. Using tcl script to execute virtuoso

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 17161
  • 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

Using tcl script to execute virtuoso

kbhow
kbhow over 15 years ago

Hi,

I facing some issue in making virtuoso run under tcl script. The script is very simple as below:

#!/usr/bin/tcl

exec "virtuoso -nograph -restore run.restore"

exit

Although it is simple but it failed with message :"virtuoso -nograph -restore run.restore" file/directory not found.

My Question:

1. Can we execute virtuoso nograph using tcl script. It will be no problem if i just run virtuoso only.

2. If yes, how we do that.

Your advice is much appreciated. Thanks

How

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Hi How,

    This is just a simple Tcl mistake. Because you put quotes around the command, it is treating the command as a single argument, and it is looking for a file called "virtuoso -nograph -restore run.restore" - which is not what  you want.

    Just miss out the quotation marks.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kbhow
    kbhow over 15 years ago

    Hi Andrew,

    Thanks.

    But i tried any of the example below also not working. Please advice. Thanks

    exec virtuoso -nograph -restore run.restore

    OR

    exec virtuoso -nograph -restore "run.store"

    How

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Hi How,

    "Not working" isn't terribly descriptive. It depends on what you're expecting the script to do. If the "run.restore" script has got an exit() at the end, it should "work" - and the return value of the Tcl exec statement should be the text output from the virtuoso command. 

    Or you can put "&" at the end of the statement, and it will run in background.

    All depends on what you're trying to do. You might want to clarify...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kbhow
    kbhow over 15 years ago

    Hi Andrew,

    Cool. Now my script is working fine now. Thanks a lot.

    How

    • 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