• 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. Allegro X Scripting - Skill
  3. Can SKILL be run in Batch Mode?

Stats

  • Replies 0
  • Subscribers 16
  • Views 1112
  • Members are here 0
More Content

Can SKILL be run in Batch Mode?

mahimag
mahimag over 1 year ago

Allegro X PCB Editor and Allegro X APD provide two different ways of automation: One uses scripts (*.scr) and the other uses SKILL language. Both methods provide a way to store the code that is either recorded or created in a file which will be sourced and ran later.

  • Allegro scripts are stored as .scr files and executed in the Allegro terminal using replay <file path>.scr.
  • SKILL code is stored as .il/.ilinit files and executed in the Allegro terminal using skill load("<file path>.il").

As of today, Allegro allows script automation in batch mode only by calling scripts using the following command in your preferred terminal (batch, bash, cshell, etc.):

allegro -s <path to the allegro script> -nograph <allegro board>

Here, -nograph is an option that prevents the Allegro GUI from displaying. The board is also optional.

Although you cannot directly call SKILL code using this method, you can do it indirectly by creating a simple Allegro script, such as tmp.scr, which would call a SKILL file. Internally, this script would look like the following (as an example):

skill load("script.il")
skill <function name>(<function parameters>)
exit

You then run the script using the following batch command:

allegro -s tmp.scr -nograph

The above command assumes that both files (Allegro script file and SKILL file) are accessible in the same folder and this folder is currently open in the shell terminal. 

You must add an explicit exit command, or the tool will not exit, even though it was launched in nograph mode.

Using this method, the flow can be improved in many ways by fully embedding all SKILL code in a .scr file and making use of the skill keyword before each command.  

What do you propose? Do you have any other way of executing SKILL in batch mode?

  • Cancel
  • Sign in to reply
Cadence Guidelines

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