• 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 skill script from Unix command line

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 15502
  • 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 skill script from Unix command line

SrBraj
SrBraj over 5 years ago

Hello Support Team

I have written a skill script file to automatically run the QRC(LVS+QRC). The flow of this script is as mentioned below:

i: This script adds a menu "ABC" in the CIW

ii. Clicking this menu will open a GUI(coded in skill).

iii. The user would need to enter some information in the GUI.

iv. Click the Ok button, the script will start QRC run.

I have tested this flow and it is working perfectly fine.

Now I want to run the same script using the Unix command line. Could you please tell me if there is a way to enter GUI information through the command line.

Thanks and Regards

Saurabh

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

    Hi Saurabh,

    Ideally you'd structure your code so that you have a separate procedural interface (a function that accepts all the data it needs as arguments), and then submits the QRC run based on that. Then the form callbacks call this procedural function with the arguments populated from data you've entered on the form. This is good practice (I mention this in my "Writing Good SKILL Code" video which is on http://support.cadence.com

    That would then make it much easier to run from the command line - otherwise you end up havng to mess around with seeding a form (in nograph mode) from the command line - which is an unnecessary complexity if you've written the code yourself.

    If you do this, then you could write a shell script to take the arguments passed to the script, create a temporary SKILL file which loads the code, calls the function with the arguments as passed into the script, and then runs "virtuoso -nograph -restore tempScript.il" (or whatever you've called it) to run the job.

    Pretty straightforward...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    Hi Saurabh,

    Ideally you'd structure your code so that you have a separate procedural interface (a function that accepts all the data it needs as arguments), and then submits the QRC run based on that. Then the form callbacks call this procedural function with the arguments populated from data you've entered on the form. This is good practice (I mention this in my "Writing Good SKILL Code" video which is on http://support.cadence.com

    That would then make it much easier to run from the command line - otherwise you end up havng to mess around with seeding a form (in nograph mode) from the command line - which is an unnecessary complexity if you've written the code yourself.

    If you do this, then you could write a shell script to take the arguments passed to the script, create a temporary SKILL file which loads the code, calls the function with the arguments as passed into the script, and then runs "virtuoso -nograph -restore tempScript.il" (or whatever you've called it) to run the job.

    Pretty straightforward...

    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