Design Rule Checks in Allegro System Capture
Learn more at Cadence Support Portal - https://support.cadence.com
© 2019 Cadence Design Systems, Inc. All rights reserved w orldw ide. Page 4
Defining Custom Rules
Custom Design Rule Check (DRC) for Allegro System Capture can be defined using the
Tcl scripting API provided with the standard installation. A custom rule is a Tcl
procedure identified by its name.
Setting up Custom Rules
To set up custom rules, you need to list the custom rules in a text file named
rulesIndex.txt. The top-level list is a collection of the rules defined, and each list entry
defines a specific rule:
{
{
}
{
...
}
...
}
A sample rulesIndex.txt file:
## Sample rules index for ACME organization
{
{
"Large Pins"
"Checks for components exceeding a specific pin-count"
acme_custom_large_pin_count
Electrical
}
}
After a custom rule is defined, it is displayed in the list of DRC rules accessible from
the Project Preferences dialog (Edit->Preferences->Project Preferences) as illustrated
in the following screenshot: