-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cdsinit
More file actions
247 lines (228 loc) · 7.95 KB
/
.cdsinit
File metadata and controls
247 lines (228 loc) · 7.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/*
* Cadence Design Systems, IC Design Group
*
* $Revision: 1.1 $
* $Date: 2003/10/06 04:26:37 $
*
*/
/*
* Lines which are commented out would set parameters to their default
* values and therefore have no effect unless their value is changed.
* These lines are included as a template to allow you to set the
* values.
*/
;
; Schematic cellview to cellview defaults for creating a symbol with Artist
; IL interpreted labels. The default is to not create an Artist symbol.
;
schSetEnv( "tsgTemplateType" "artist" )
;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
; General Analog Simulation Environment Setup...
;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
; The following is a list of simulation tool parameters which cannot be
; set by way of the Artist User Interface Options forms and therefore
; can only be defined in the user's .cdsinit file.
; If the value of numberOfSavedRuns is negative, no data will be copied or
; deleted.
; If the value is a non-negative integer, then that number of past runs
; (It is assumed that the run names are non-negative integers, all others
; are ignored) are saved.
; (0 means don't copy the data at all, and delete all other
; runs), otherwise all past runs are saved.
;
; envSetVal( "asimenv.misc" "numberOfSavedRuns" 'int 0 )
; By default, component CDF is not automatically updated when design
; variables are copied to the cellview. To enable auto updating,
; specify the following line in your .cdsinit file:
;
; artEnableAutoDesignVarCdfUpdate()
;
; artDisableAutoDesignVarCdfUpdate() can be used to disable auto updating.
; artGetAutoDesignVarCdfUpdate() will return t if auto updating is enabled,
; or nil otherwise.
; The following environment variable sets the default for plot display mode:
;
; TOOL.PARTITION NAME TYPE DEFAULT VALUE CHOICES
; -------------- ---- ---- ------------- -------
; asimenv.plotting displayMode cyclic "auto" "auto",
; "strip",
; "composite"
;
; If displayMode is set to "composite", then the analog and the digital
; waveforms will be plotted together in the same strip. If set to
; "strip", then the analog and digital waveforms are plotted in seperate
; strips. "auto" sets the plot display mode to composite if the simulator
; is analog-only, and strip if it is a mixed-signal type.
; The following environment variable sets the default for the strip mode type:
;
; TOOL.PARTITION NAME TYPE DEFAULT VALUE CHOICES
; -------------- ---- ---- ------------- -------
; asimenv.plotting stripModeType cyclic "auto" "auto",
; "analogComposite",
; "analogStrip"
;
; If displayMode mentioned above has a value of "strip", then setting
; stripModeType to "analogComposite" will display all the analog
; waveforms in one strip. Setting it to "analogStrip" displays each
; analog waveform in a seperate strip. "auto" sets the strip mode type to
; "analogStrip" if the simulator is analog-only, and "analogComposite" if
; it is a mixed-signal type.
;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
; WAVEFORM WINDOW DEFAULTS
;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
;
; This section explains how waveform window defaults can be overridden.
;
; Waveform window/subwindow options can be set using awvSetOptionValue().
; E.g., if you want your subwindow to be in the strip mode when it is opened,
; add the following line to .cdsinit:
;
; awvSetOptionValue( "mode" "strip" )
;
; Option names may be strings or symbols, e.g.,
;
; awvSetOptionValue( 'mode "strip" )
;
; is legal. The complete list of options is included below.
;
;
; Boolean options:
; ----------------
;
; Name Purpose Default
; ---- _______ -------
;
; cursorSuppressed Tracking cursor nil
;
; dateStamp Date stamp
; (top right corner) nil
;
; displayAxes Display axes t
;
; displayAxesBy125 Axis labels by 1-2-5 nil
;
; displayAxesLabel Axes labels t
;
; displayGrids Grid lines nil
;
; displayMajorTicks Major tick marks t
;
; displayMinorTicks Minor tick marks t
;
; updateStatus Updatability t
;
; xLog Log axis (X) nil
;
;
; String options:
; ---------------
;
; Name Purpose Default Other choices
; ---- ------- ------- -------------
;
; cursorAction Snap to waveform or
; actual data points "line" "data point"
;
; cursorPhase Phase display (Smith) "degree" "radian"
;
; cursorValue Value display (Smith) "normalized impedance"
; "normalized admittance"
; "reflection coefficient"
;
; mode Mode type "composite" "strip"
; "smith"
;
; smithModeType Smith Mode type "impedance" "admittance"
; "polar"
;
; stripModeType Strip Mode type "analogStrip"
; "analogComposite"
;
; style Plot style "auto" "bar"
; "scatterPlot"
; "joined"
;
;
; Integer options:
; ----------------
;
; Name Purpose Default Other choices
; ---- ------- ------- -------------
;
; cursorPrecision Number of digits
; of cursor output 4 Any integer
; greater than 2
; and less than
; 16
;
; numIdentifier Number of identifiers
; per waveform 6 Any positive
; integer or
; nil to get all
;
;
; Hard copy options:
; ------------------
;
; Name Purpose Default Other choices
; ---- ------- ------- -------------
;
; hcCopyNum Number of copies 1 Any positive
; integer
;
; hcDisplay Display name "display" Defined in
; the techfile
;
; hcOrientation Plot orientation "automatic" "portrait"
; "landscape"
;
; hcOutputFile Plot to file only nil Name of the
; output file
;
; hcPaperSize Plot paper size Specified in .cdsplotinit
;
; hcPlotterName Plotter name Specified in .cdsplotinit
;
; hcTmpDir Temporary scratch "/usr/tmp" Name of the
; space temp directory
;
;
; Note: Typing awvSetOptionValue( name value ) into the CIW will affect
; waveform windows/subwindows opened after that. To restore an option
; to its default value, type awvSetOptionDefault( name ).
;; Calibre setup
;; Load Calibre Skill Interface if environment var is set
mgc_home=getShellEnvVar("MGC_HOME")
if( mgc_home!=nil && isDir(mgc_home) && isReadable(mgc_home) then
; Load calibre.skl for Cadence versions 4.4 and greater
load(strcat(mgc_home "/shared/pkgs/icv/tools/queryskl/calibre.skl"))
else
; MGC_HOME is not set
printf("Calibre Skill Interface not loaded.\n")
)
;; End of Calibre Skill Interface
editor = "gedit"
hiSetBindKey("Schematics" "Shift<Key>x" "schHiCheck(\"run\") sevNetlistAndRun(sevSession(hiGetCurrentWindow()))" )
hiSetBindKey("Layout" "Shift<Btn1Down>" "mouseAddSelectPt" )
; @(#)$Id: .cdsinit_home,v 1.10 2011/08/24 17:40:17 cshyamsu Exp $
; Copyright 1983 Agilent Technologies, Inc
if(getShellEnvVar("XPEDION") then
load(sprintf(nil "%s/aa/.cdsinit" getShellEnvVar("XPEDION")))
else
printf(".cdsinit/.oceanrc: Environment variable XPEDION is not set!\n")
)
if(getShellEnvVar("HPEESOF_DIR") then
load(sprintf(nil "%s/idf/config/.cdsinit" getShellEnvVar("HPEESOF_DIR")))
else
printf(".cdsinit/.oceanrc: Environment variable HPEESOF_DIR is not set!\n")
)
/*
To make GoldenGate your default simulator, you can add the following line to
your ~/.cdsenv file:
asimenv.startup simulator string "GoldenGate"
Alternatively, you can activate the envSetVal line by moving it outside this
comment-block.
envSetVal("asimenv.startup" "simulator" 'string "GoldenGate")
*/
envSetVal("GoldenGate.envOpts" "modelFiles" 'string "$CMOSP18_DIR/models/spectre/icfspectre.init")
envSetVal("GoldenGate.envOpts" "includePath" 'string "$CMOSP18_DIR/models/spectre")