Listing Project Directives 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
Tcl Scripting APIs
You can use Tcl APIs for extracting the information in the CPM files in:
• All sections
• All directives in a specific section
• All the directive values of a specific directive in a specific section
Viewing all Sections
All the sections in the cpm files can be listed using the following Tcl API:
cps::getSections
In the following example, all the sections in the project cpm are listed:
cps::getSections
TOOLS DESIGN_FLOWS WEB_PAGES PROJECTMGR GLOBAL CONCEPTHDL PKGRXL
DESIGNSYNC
BOMHDL ERCDX CHECKPLUS PDV142 PDV VXL LF INCA_VLOG INCA_VHDL NETLIST
PIC ACTEL ALTERA
MINC SYNTH CREFERHDL ARCHIVER ECSET_MODELS DSSCHGEN DESIGNSTUDIO
CRM
COMPBROWSER CACHE LRM PURGE ADW RFPCB PDF DESIGN FONTS SDM FSP
VARIANT CANVAS CONSTRAINT_MGR ALLEGRO
Viewing Directives in Specific Sections
All the directives corresponding to a specific section in the cpm files can be listed using
the following Tcl API:
cps::getDirectives