TCL Scripting Reference
Product Version Sigrity 2018
March 2019
© 2019 Cadence Design Systems, Inc. All rights reserved.
Printed in the United States of America.
Cadence Design Systems, Inc. (Cadence), 2655 Seely Ave., San Jose, CA 95134, USA.
Trademarks: Trademarks and service marks of Cadence Design Systems, Inc. (Cadence)
contained in this document are attributed to Cadence with the appropriate symbol. For queries
regarding Cadence’s trademarks, contact the corporate legal department at the address shown
above or call 1-800-862-4522.
All other trademarks are the property of their respective holders.
Restricted Print Permission: This publication is protected by copyright and any unauthorized use of
this publication may violate copyright, trademark, and other laws. Except as specified in this
permission statement, this publication may not be copied, reproduced, modified, published,
uploaded, posted, transmitted, or distributed in any way, without prior written permission from
Cadence. This statement grants you permission to print one (1) hard copy of this publication subject
to the following conditions:
1. The publication may be used solely for personal, informational, and noncommercial purposes;
2. The publication may not be modified in any way;
3. Any copy of the publication or portion thereof must include all original copyright, trademark, and
other proprietary notices and this permission statement; and
4. Cadence reserves the right to revoke this authorization at any time, and any such use shall be
discontinued immediately upon written notice from Cadence.
Disclaimer: Information in this publication is subject to change without notice and does not
represent a commitment on the part of Cadence. The information contained herein is the proprietary
and confidential information of Cadence or its licensors, and is supplied subject to, and may be
used only by Cadence’s customer in accordance with, a written agreement between Cadence and
its customer. Except as may be explicitly set forth in such agreement, Cadence does not make, and
expressly disclaims, any representations or warranties as to the completeness, accuracy or
usefulness of the information contained in this document. Cadence does not warrant that use of
such information will not infringe any third party rights, nor does Cadence assume any liability for
damages or costs of any kind that may result from use of such information.
Restricted Rights: Use, duplication, or disclosure by the Government is subject to restrictions as set
forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its successor.
20
20
20
20
21
21
22
23
23
24
24
25
25
27
27
27
27
29
30
31
31
33
34
34
34
35
35
35
35
36
36
36
Contents
1
Introduction
Overview
Encrypting TCL File
TCL Support and Analysis Tools
TCL GUIs
TCL Toolbar
Typographical Conventions
TCL Syntax
Guidelines of Syntax
Applying TCL Commands in Different Situations
Running TCL Commands in Batch Mode
TCL Global Variables
2
Sigrity Shared TCL Commands
AMM Library Commands
Assign
Open
Query
Remove
Search
Component Model Commands
Add a New Component Model
Merge Component Models from a File
Update a Component Model
Update the Tag of a Component Model
Delete Component Model
Import Component Model
Disable ISource (OPI), (PSI)
Component Commands
Create New Components
Create An Empty Component by Nodes
March 2019 3 Product Version Sigrity 2018
TCL Scripting Reference
Table of Contents
36
36
37
37
37
38
38
38
38
39
39
39
40
41
41
41
41
41
42
42
42
43
43
43
44
44
44
44
44
44
44
45
45
45
45
45
46
Create A Pin-Based Component Based on the Nodes Selected
Create A Component with Existing Components as Reference
Create Circuit Linkage Based on Existing Component Pins (PSI), (PDC)
Create A Resistor Component
Update A Component
Delete A Component
Merge Two or More Components
Link Two Components
Unlink
Import Component
Component Filter Commands
Set
Apply
Coupled Line Commands(PSI), (XIM), (SPDGEN), (OPI)
Update Coupled Line
Cut Commands
Cut by Area
Cut by Enabled Nets
Cut by Boundary
CuttingZone Commands
Add CuttingZone
Update CuttingZone
Delete CuttingZone
Check CuttingZone
Differential Pair Commands
Add
Delete
Document Commands
New Document
Open a Document
Close a Document
Attach a Layout File (PDC), (XIM), (OPI)
Open Sparam File
Close Sparam File
ERC Trace Check Commands
Adding DDR Net Groups for Skew Check
Parameters
March 2019 4 Product Version Sigrity 2018
TCL Scripting Reference
Table of Contents
46
46
47
47
48
48
49
49
49
49
49
49
50
50
50
50
50
51
51
51
51
51
52
52
52
52
52
53
53
53
53
54
54
54
54
55
Generating the Top Aggressors Output File
Resetting to the Initial State
Setting the Number of Top Aggressors
Generating High-Resolution Layout Overlay Snapshots
Error Commands
Check
Exit Commands
Exit
Frequency Range Commands(PSI), (XIM), (OPI)
Update
Export
Import
Layer Commands
Create a New Layer
Update Layer
Delete Layer
Copy Layer
Swap Layer
Import Layer from a File
Snapshot Layers
Layout Commands
Flip
Translate
Lead Commands
Delete Lead
Material File Commands
Import
Update
Net Commands
Add a Net
Update a Net
Update the Interface of Net(s) Specified by Pins Connected to Component (PSI), (SPDGEN)
Delete a Net
Delete Unused Nets (PSI), (PDC)
Move a Net
Merge Nets
March 2019 5 Product Version Sigrity 2018
TCL Scripting Reference
Table of Contents