allegro.cfg
13.3 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
LayoutId ALLEGRO
| This section must come first since error handling configuration influences
| how the rest of the file is parsed.
BeginErrorRules
DoSummary yes | Controls output of error message summary in error file.
|Errorfile foo.err
|Exclude Error Warning | Exclude error messages by type.
|ExcludeNums 5829 5825 | Exclude error messages by number.
| Note error messages should not be excluded until they are understood as
| important information may be lost. It is suggested that only after the system
| has been in use and certain warnings are an annoyance should messages be
| suppressed. They should be turned back on before calling Viewlogic.
EndErrorRules
|Levels std | This is an alternate way of specifying the level attributes that
| the software should go down to. The command line functionality overrides this
DoOats no
Grounds GND CGND VSSE | This list of net names controls which signal
| attribute nets will show up in the "GROUND" section of the Allegro device
| file.
Powers V3 V3A V5 V5EXT V12 RB_VTERM | This list of net names controls which signal
| attribute nets will show up in the "POWER" section of the Allegro device file.
SuppressIdBackAnno no | [no] | Controls the back annotation of Allegro IDs.
| DumpDict should be set to yes if back annotation of Allegro IDs are not
| required.
DumpDict yes | [no] | Controls whether dictionary files are read or
|written to the project directory.
LoadPlacementData no | [yes] | Controls if Viewplace is looked at.
WriteDeviceInfo yes | [no] | Controls if device file information is to be
| written
OneDeviceFile no | [yes] | Controls if device file information goes into one
| file or one file for each device.
DeviceFileExt txt | extension of device files.
DoAllegroQuote yes | [no] | Controls use of quotes for Allegro
AllegroQuoteTrigger \040+-_~,-$\\/.\% | "C" programming syntax for specifying
| triggers.
OutPinDelay yes | [no] | Controls if .dtb file will be created during pcbbck
| from results of Allegro's tldelay program.
|InPinExt ipn | extension of output of Allegro's tldelay program
OutPinExt dtb | extension of Viewlogic delay table file
|InPinFnme
|OutPinFnme
WriteBaf no | [yes] | Controls automatic update vs baf file.
BackExt abk | Extension of Allegro's third party back annotation file.
|backward netlist file and extension :
|BackNetlistFileName
|BackNetFileExt tl2
FwdExt txt | Extension of forward netlist
|NetlistFileName netin | root name of forward netlist.
PlacementScale 0.001 | This is a units conversion factor for placement
| information
PlaceFileExt plc | Extension of placement file.
|PlaceFileName place_txt | root name of placement file
CreateSpareGates no
SpareInputTypes IN BI
SpareInputSignal GND
BeginNewPkgRules
|REFDES res <pattern>
|DEVICE my74ls00 <pattern>
EndNewPkgRules
BeginTrnRules
COM $OBJNAME GEN_ID i
NET $OBJNAME GEN_ID i
EndTrnRules
BeginAlsRules
DEV P/D_NUM PART_NUMBER | So the Viewlogic att P/D_NUM is output as Allegro
| attribute PART_NUMBER
SYSTEM TOLERANCE TOL | So the Specific string TOLERANCE is seen as TOL
DEV TOLERANCE TOL | So the Attribute TOLERANCE is loaded as TOL
PKG CLASS=ADC CLASS=IC | Analog/Digital Converter
PKG CLASS=ANALOG CLASS=IC |
PKG CLASS=C CLASS=DISCRETE | Capacitor
PKG CLASS=CMOS CLASS=IC |
PKG CLASS=CRYSTAL CLASS=DISCRETE | Piezoelectric Crystal
PKG CLASS=DAC CLASS=IC | Digital/Analog Converter
PKG CLASS=DIODE CLASS=DISCRETE | Diode
PKG CLASS=ECL CLASS=IC | Emitter coupler logic
PKG CLASS=FET CLASS=DISCRETE | Field Effect Transistor
PKG CLASS=FILT CLASS=DISCRETE | Filter
PKG CLASS=L CLASS=DISCRETE | Coil
PKG CLASS=LAB CLASS=DISCRETE |
PKG CLASS=MOS CLASS=IC |
PKG CLASS=NPN CLASS=DISCRETE | NPN Tansistor
PKG CLASS=P-C CLASS=DISCRETE | Polarized Capacitor
PKG CLASS=PNP CLASS=DISCRETE | PNP Transistor
PKG CLASS=POT CLASS=DISCRETE | Potentiometer
PKG CLASS=R CLASS=DISCRETE | Resistor
PKG CLASS=RP CLASS=DISCRETE | Resistor Pack
PKG CLASS=SCR CLASS=DISCRETE | Silicon Controlled Rectifier
PKG CLASS=SDIODE CLASS=DISCRETE | Schottky Diode
PKG CLASS=SWITCH CLASS=DISCRETE | Electrical Switch
PKG CLASS=TRANSFOR CLASS=DISCRETE | Transformer
PKG CLASS=VR CLASS=DISCRETE | Voltage Regulator
PKG CLASS=ZENER CLASS=DISCRETE | Zener Diode
EndAlsRules
BeginAttPassList
Specific
PPN SCHED
PIN PINTYPE
COM DEVICE
COM PINSWAP
COM NC
COM SIGNAL
COM SYMTAG | Used for overriding symbol name in function type field of
| $FUNCTIONS section of Allegro netlist.
PKG CLASS
PKG ROTATION
COM HETERO
PKG PKG_TYPE
DEV TOLERANCE | So TOLERANCE passes filtering
DEV P/D_NUM
|BeginOatAtts
COM REFDES
COM $OBJNAME
COM GEN_ID
NET GEN_ID
PIN #
NET $OBJNAME
|EndOatAtts
General
| Allegro refdes properties
PKG AUTO_RENAME
PKG COMPONENT_WEIGHT
PKG C_TEMPERATURE
PKG CURRENT
PKG FAILURE_RATE
PKG FIX_ALL
PKG HARD_LOCATION | also possibly COM
PKG HEAT_SINK_FACTOR
PKG J_TEMPERATURE
PKG MAX_POWER_DISS | also possibly DEV
PKG NO_PIN_ESCAPE | also possibly NET
PKG NO_MOVE
PKG NO_ROUTE
PKG NO_SWAP_COMP
PKG NO_SWAP_GATE | also possibly COM
PKG NO_SWAP_GATE_EXT | also possibly COM
PKG NO_SWAP_PIN | also possibly COM
PKG PIN_ESCAPE
PKG PLACE_TAG
PKG ROOM | also possibly COM
PKG TH_APPLICATION
PKG VOLTAGE
PKG HEIGHT | not from property table
| Allegro device properties
DEV ALT_SYMBOLS
DEV DEPTH_STOP
DEV DEVICE_LABEL
DEV INSERTION_CODE
|DEV MAX_POWER_DISS | by default configured for PKG
DEV PART_NUMBER | not from property table
DEV RATED_CURRENT
DEV RATED_MAX_TEMP
DEV RATED_POWER
DEV RATED_VOLTAGE
DEV TERMINATOR_PACK
DEV TH_CB_RES
DEV TH_COMPLEXITY
DEV TH_DEV_CLASS
DEV TH_FUNC_PACK
DEV TH_JC_RES
DEV TH_PACK_PARM
DEV TH_QUALITY
DEV TH_TECHNOLOGY
DEV TOL | So TOL is seen as a device attribute
DEV VALUE
DEV VOLT_TEMP_MODEL
| Allegro function properties
COM GROUP
|COM HARD_LOCATION | Default configured for PKG
COM LOGICAL_PATH
|COM NO_SWAP_GATE | Default configured for PKG
|COM NO_SWAP_GATE_EXT | Default configured for PKG
|COM NO_SWAP_PIN | Default configured for PKG
COM REF_DES_FOR_ASSIGN
|COM ROOM | Default configured for PKG
COM SLOTNAME
| Allegro net properties
NET DELAY_RULE
NET DRC_CLASS
NET DRIVER_TERM_VAL
NET ECL
NET ECL_TEMP
NET EXTERNAL_NOISE
NET FIXED
NET LAYER_RULE
NET LOAD_TERM_VAL
NET NO_GLOSS
NET NO_PIN_ESCAPE | overlaps with pkg
NET NO_RAT
NET NO_RIPUP
NET PROBE_NUMBER
NET ROUTE_LINE_WIDTH
NET ROUTE_PRIORITY
NET ROUTE_TO_SHAPE
NET STUB_LENGTH
NET WEIGHT
EndAttPassList
BeginChkRules
|******************************************************************
| CHKBRD syntax: CHKBRD routine_name severity fixcode [arguments]
CHKBRD _COMM_PINS NOT 0 | Common Pins
CHKBRD _BAD_DEMORG ERR 0 | Conflicting DeMorgans
CHKBRD _BUS_PIN ERR 0 | Bus pin at physical level
CHKBRD _DUPL_ATTR ERR 0 | Duplicate attribute
CHKBRD _BAD_SLOTCNT ERR 0 | Conflicting number of slots
CHKBRD _DUPL_PINS ERR 0 | SIGNAL, NC, # conflicts
CHKBRD _BAD_PINSWAP ERR 0 | Bad PINSWAP attribute
CHKBRD _BAD_PIN_NUM ERR 1 | Component pin # not on symbol, 1=repack
CHKBRD _BAD_SIG_NUM ERR 0 | Component signal pin # not on symbol, 1=add it
CHKBRD _ILL_PINSWAP WRN 0 | Illegal pin swap
CHKBRD _MIXED_SLOT ERR 1 | Pins from different slots on component, 1=repack
CHKBRD _SGL_PIN_NET WRN 0 | Single pin net
|CHKBRD _PIN_SHORTED WRN 0 | Pins shorted
CHKBRD _DUPL_FNAME1 ERR 0 | Duplicate component name
CHKBRD _DUPL_FNAME2 ERR 0 | Component name duplicates a refdes
CHKBRD _DUPL_RNAME ERR 0 | Duplicate Viewplace refdes
CHKBRD _DUPL_NNAME ERR 0 | Duplicate net name
CHKBRD _REF_CONFL WRN 0 | Refdes has conflicting attributes, 1=repack
CHKBRD _DEV_CONFL ERR 0 | Refdes has conflicting devices, 1=repack
CHKBRD _DUPL_SLOT ERR 0 | Duplicate slots, 1=repack
CHKBRD _COMM_PIN1 ERR 0 | Common pins, same nets, some unconnected, 1=repack
CHKBRD _COMM_PIN2 ERR 0 | Common pins, different nets, 1=repack
CHKBRD _COMM_PIN3 ERR 0 | Common pins, different attributes, 1=repack
CHKBRD _COMM_PIN4 ERR 0 | Common pins, net overrides SIGNAL, 1=repack
CHKBRD _UNUSED_SLOT NOT 0 | Unused slot
CHKBRD _UNCON_PIN WRN 0 | Unconnected pin
CHKBRD _VDVP_PKG ERR 1 | Viewdraw or Viewplace added or deleted package,
| 1=update from Viewdraw
CHKBRD _VDVP_SHP ERR 1 | Viewdraw or Viewplace shape changed,
| 1=update from Viewdraw
CHKBRD _VDVP_NET ERR 1 | Viewdraw or Viewplace net on pin changed,
| 1=update from Viewdraw
CHKBRD _VDVP_ATT ERR 1 | Viewdraw or Viewplace attribute changed,
| 1=update from Viewdraw
CHKBRD _MISSING_PIN WRN 0 | Viewdraw pin not found in Viewplace
CHKBRD _EXTRA_PIN WRN 0 | Viewplace pin not found in Viewdraw
CHKBRD _BAD_HETERO ERR 0 | Bad heterogeneous package
| Do not comment out the following check!:
CHKBRD _HETERO_ATT ERR 0 | Heterogeneous device attribute conflicts
| obj_type = { PIN, SPN, COM, SYM, NET, PKG, PPN, ANY, SYMCOM, etc. }
| severity = { ERR, WRN, NOT }
|******************************************************************
| CHKVAL syntax: CHKVAL routine_name obj_type attr_name severity
| fixcode [arguments]
| attr_name = anything $OBJNAME $ATTNAME $ANY $DEFAULT
| NAME_CHK: checks for illegal character and length violations
| Arguments: string replacement_char min_len max_len
| string = legal_chars or ~illegal_chars (\t\n\r allowed)
| max_len = * for none
| fixcodes: 0=nothing, 1=replace_chars, 2=truncate, 3=replace_chars
| and truncate
CHKVAL _NAME_CHK NET $OBJNAME ERR 1 "A-Z0-9_~*/+=%?\". :;~-" "" 1 18
CHKVAL _NAME_CHK PPN $OBJNAME ERR 0 "A-Z0-9_" "" 1 5
CHKVAL _NAME_CHK COM $OBJNAME ERR 0 "A-Z0-9_" "" 1 18
CHKVAL _NAME_CHK PIN SCHED ERR 0 "A-Z0-9_;,()" "" 0 30
CHKVAL _NAME_CHK PPN SCHED ERR 0 "A-Z0-9_;,()" "" 0 30
CHKVAL _NAME_CHK SPN SCHED ERR 0 "A-Z0-9_;,()" "" 0 30
CHKVAL _NAME_CHK PKG ROTATION ERR 0 "0-9." "" 1 9
CHKVAL _NAME_CHK SYM REFDES ERR 0 "A-Z0-9_*/+=%?\"~-" "" 1 16
CHKVAL _NAME_CHK COM REFDES ERR 0 "A-Z0-9_*/+=%?\"~-" "" 1 16
CHKVAL _NAME_CHK SYM DEVICE ERR 0 "A-Z0-9_,~-" "" 1 18
CHKVAL _NAME_CHK COM DEVICE ERR 0 "A-Z0-9_,~-" "" 1 18
CHKVAL _NAME_CHK SYM PKG_TYPE WRN 0 "A-Z0-9_-" "" 1 18
CHKVAL _NAME_CHK COM PKG_TYPE WRN 0 "A-Z0-9_-" "" 1 18
CHKVAL _NAME_CHK PKG PKG_TYPE WRN 0 "A-Z0-9_-" "" 1 18
CHKVAL _NAME_CHK SYM VALUE ERR 0 "A-Z0-9_*/+=%?\".@~-" "" 0 79
CHKVAL _NAME_CHK COM VALUE ERR 0 "A-Z0-9_*/+=%\".@~-" "" 1 79
CHKVAL _NAME_CHK PKG VALUE ERR 0 "A-Z0-9_*/+=%\".@~-" "" 1 79
CHKVAL _NAME_CHK SYM TOL WRN 0 "A-Z0-9_*/+=%?\"." "" 0 79
CHKVAL _NAME_CHK COM TOL WRN 0 "A-Z0-9_*/+=%\"." "" 1 79
CHKVAL _NAME_CHK PKG TOL WRN 0 "A-Z0-9_*/+=%\"." "" 1 79
CHKVAL _NAME_CHK SYM PINSWAP WRN 0 "()[],A-Z0-9~_*/+=%?\".-" "" 0 79
CHKVAL _NAME_CHK COM PINSWAP WRN 0 "()[],A-Z0-9~_*/+=%\".-" "" 1 79
CHKVAL _NAME_CHK SYM PART_NUMBER ERR 0 "0-9-" "" 0 11
CHKVAL _NAME_CHK COM PART_NUMBER ERR 0 "0-9-" "" 0 11
CHKVAL _NAME_CHK PKG PART_NUMBER ERR 0 "0-9-" "" 0 11
CHKVAL _NAME_CHK ANY $DEFAULT ERR 0 "A-Z0-9\\;_:*/+,=%?\".~-" "" 0 79
|
| SIG_CHK: applies NET $OBJNAME checking to the string before ';'
| and PPN $OBJNAME checking to the string after ';'. The severity
| specified here is not actually used, no fixups supported
|
CHKVAL _SIG_CHK SYM SIGNAL ERR 0
CHKVAL _SIG_CHK COM SIGNAL ERR 0
|
| LIST_CHK: same as NAME_CHK, but does bus (list) expansion for
| a list of values, no fixups supported
|
CHKVAL _LIST_CHK SPN # ERR 0 "A-Z0-9_" "" 1 5
CHKVAL _LIST_CHK SYM NC ERR 0 "A-Z0-9_" "" 1 5
CHKVAL _LIST_CHK COM NC ERR 0 "A-Z0-9_" "" 1 5
CHKVAL _LIST_CHK SYM HETERO ERR 0 "~." "" 1 *
CHKVAL _LIST_CHK COM HETERO ERR 0 "~." "" 1 *
|
| ENUM_CHK: check for an enumerated set of values, no fixups supported
|
CHKVAL _ENUM_CHK SPNPIN PINTYPE ERR 0 IN OUT BI TRI OCA OCL
|
| FND_CHAR: require a certain character (anywhere in string)
|
CHKVAL _FND_CHAR SYM REFDES ERR 1 ?
|******************************************************************
| GENVAL syntax: GENVAL routine_name obj_type attr_name [arguments]
| DFLT_VAL: just uses the specified default value
GENVAL _DFLT_VAL SYM REFDES U?
| UNIQ_NUM: appends a unique number to an optional prefix
| Arguments: [prefix] [start_number]
GENVAL _UNIQ_NUM COM GEN_ID F
GENVAL _UNIQ_NUM COM $OBJNAME F
GENVAL _UNIQ_NUM NET $OBJNAME N
|******************************************************************
| ALLOW_DUPL syntax: ALLOW_DUPL obj_type attr_name
|
ALLOW_DUPL SYMCOM SIGNAL
ALLOW_DUPL SYMCOM NC
|******************************************************************
| REQUIRE syntax: REQUIRE obj_type attr_name severity fixcode
REQUIRE SPN # ERR 0
REQUIRE SYM REFDES ERR 1
REQUIRE COM REFDES ERR 1
REQUIRE SYM DEVICE ERR 0
REQUIRE COM DEVICE ERR 0
FIX_SEVERITY NOT
FIRST_REFDES 1
EndChkRules
Signalstyle Pkgpin | [Strip] | Reserved for future use