Cadence® SKILL Lint examines SKILL code for possible errors and inefficiencies that go undetected during normal testing and suggest ways to clean up the code. SKILL Lint is very useful in helping programmers do the following:
- Find unused local variables
- Find global variables that should be locals
- Find functions that have been passed the wrong number of arguments
- Receive hints on how to improve the efficiency of your SKILL code
SKILL Lint prints messages about your code, starting with the file and function name to which the message pertains. By default, the SKILL Lint output prints to the Command Interpreter Window but can also be printed to an output log file.
To use Lint for your SKILL files, run the following command on the Allegro command line:
sklint(?file “smd_pad_count.il")
Here, smd_pad_count.il is the SKILL file you want to check for possible errors and inefficiencies.
Team PCBTech
Cadence Design Systems