• 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. I cannot run a .il script automatically in linux termin...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 11080
  • 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

I cannot run a .il script automatically in linux terminal

lingtao jiang
lingtao jiang over 3 years ago

I want to run a mycode.il script in linux ternimal by running a .sh file which is ended by "virtuoso -nograph -load mycode.il". However this command only opens virtuoso but not run mycode.il. Is there anyway to open the virtuoso and also run the mycode.il automatically in the terminal? Thanks.

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 3 years ago

    Hi,

    You can add a command to load your file in your .cdsinit
    Otherwise you can use the -replay argument

    The following example loads only your file without any .cdsinit (but you can remove the -nocdsinit if you need it)

    virtuoso -64 -nograph -nocdsinit -log CDS.log -replay mycode.il

    Cheers
    Aurélien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to AurelBuche

    I always use -restore for this. This is effectively using a side benefit of the capability to restore the session window positions (from Options->Save Session, which is not that well supported any more as not all applications are honoured), because the -restore is effectively just doing a load() after start. -replay is different because that's more like pasting each line into the CIW - so you get the return values of each statement in the file appearing in the CDS.log, and I don't like that - I'd sooner have load() semantics most of the time.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to AurelBuche

    I always use -restore for this. This is effectively using a side benefit of the capability to restore the session window positions (from Options->Save Session, which is not that well supported any more as not all applications are honoured), because the -restore is effectively just doing a load() after start. -replay is different because that's more like pasting each line into the CIW - so you get the return values of each statement in the file appearing in the CDS.log, and I don't like that - I'd sooner have load() semantics most of the time.

    Andrew

    • 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