• 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. Running a SKILL script from Command Line

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 29934
  • 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

Running a SKILL script from Command Line

KGh94
KGh94 over 7 years ago

Hello,

I have a skill file that I would like to run in command line. I am looking for the fasting execution time, so "virtuoso -nograph" would be my last resort.

What would be the best way to run a script containing db* and dd* functions?

Best regards,
Karam

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Karam,

    dbAccess -load yourCode.il

    Andrew.

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Thanks Andrew. I read in a thread that for using sch* commands "virtuoso -nograph" would be unavoidable. Is that true? Is it also the case for mae* commands?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Thanks Andrew. I read in a thread that for using sch* commands "virtuoso -nograph" would be unavoidable. Is that true? Is it also the case for mae* commands?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Hi Karam,

    Yes and yes. dbAccess only contains the low level database, tech, CDF and SKILL functions - no application layer capabilities.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Hello Andrew,

    Thanks for the clarification. Is there a db* alternative for schCheck( myCellView ), for schematic checks?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Hi Karam,

    No, not unless you construct all the connectivity yourself in the code too (which is potentially quite difficult). It rather depends on what you're doing as to how hard this would be. Note you could make the virtuoso startup quicker by using "virtuoso -nocdsinit -nograph -restore code.il"

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to Andrew Beckett

    Hello Andrew,

    Thanks for the tip. What is the added value from -restore? The -help line looks quite vague to me "Specifies the session file to restore". Does restore run the SKILL file?

    Best regards,
    Karam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KGh94

    Hi Karam,

    It's like doing load("code.il") after virtuoso has started. So yes, it runs the code in the file.

    It's different from doing -replay (-replay strictly expects a replay file although it does work without the extra tags at the beginning of each line). Using -restore however tends not to have issues with UI code getting a bit confused - so I always tend to use -restore.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tweeksii
    tweeksii over 7 years ago in reply to Andrew Beckett
    Andrew Beckett said:
    It's different from doing -replay (-replay strictly expects a replay file although it does work without the extra tags at the beginning of each line). Using -restore however tends not to have issues with UI code getting a bit confused - so I always tend to use -restore.

    I'd been wondering about that!  Glad I stumbled on this thread. :)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tweeksii
    tweeksii over 7 years ago in reply to tweeksii

    I had been using -nographE to work around UI code problems, but I will try -restore, which sounds like it's more lightweight than -nographE.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to tweeksii

    They're not really the same thing. All that -nographE does is not produce a CIW window - it still requires a connection to an X server. Whereas -nograph uses a null X display (implemented these days with a vnc server) to swallow all the graphics events (but of course means that you can't click on any forms or dialog boxes).

    Sometimes using -replay with a SKILL file (as opposed to a replay file) can have unexpected blocking behaviour - which is different than what you might get if you'd used load() at the prompt (or in the CIW if graphical). -restore is really just like using load after initialisation has finished.

    Andrew.

    • 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