1AL(5) File Formats AL(5)
2
3
4
6 al - Alliance logical format
7
9 The .al format is the ALLIANCE format for the logical view of a cell.
10 We give below the BNF description of the format :
11
12 file ::=
13 version
14 header
15 connectors
16 instances
17 transistors
18 signals
19 crosstalk_capacitances
20 end_of_file
21
22 version ::= 'V ALLIANCE : ' version_number
23
24 header ::= 'H ' name ',' file_type ',' date
25 /// name : name of the figure
26 /// date : saving file date
27
28 connectors ::= { connector }
29
30 connector ::= 'C ' name ',' connector_direction ','
31 connector_type ',' net_num [list_of_physical_node]
32
33 list_of_physical_node ::= { ',' node_num }
34
35 instances ::= { instance connectors }
36 /// An instance is followed by his connectors
37
38 instance ::= 'I ' model_name ',' instance_name
39
40 transistors ::= { transistor }
41
42 transistor ::= 'T' type ',' lenght ',' width ',' drain ','
43 grid ',' source ',' bulk ',' xs ',' xd ',' ps ',' pd
44 ',' x ',' y [ ',' node_drain ',' node_grid ','
45 node_source ',' node_bulk ] ',' trname
46
47 /// drain : number of the net connected to the drain
48 /// grid : number of the net connected to the grid
49 /// source : number of the net connected to the source
50 /// bulk : number of the net connected to the bulk
51 /// xs, xd : To compute respectivly the source and
52 /// drain area
53 /// ps, pd : perimeter of the source and drain
54 /// x, y : coordinate of the transistor in a layout
55 /// node_drain : number of the node connected to the drain
56 /// node_grid : number of the node connected to the grid
57 /// node_source : number of the node connected to the source
58 /// node_bulk : number of the node connected to the bulk
59
60 signals ::= { signal }
61
62 signal := sig_index [ { resistance } ] [ { capacitance } ]
63
64 sig_index ::= 'S ' net_num ',' signal_type [ list_of_signal_name ]
65
66 list_of_signal_name ::= { ',' signal_name }
67
68 resistance := 'R ' layer ',' node1 ',' node2 ',' resi ',' capa ','
69 x ',' y ',' dx ',' dy
70
71 capacitance := 'Q ' capa
72
73 /// Each resistance is describe as a resistor beetwen two nodes
74 /// connected to the ground with capacitor with a value of capa/2.
75 /// Capacitance is the entire capacitance of the net to ground.
76
77 crosstalk_capacitances ::= { crosstalk_capacitance }
78
79 crosstalk_capacitance ::= K capa ',' sig1 ',' node1 ',' sig2 ',' node2
80
81 end_of_file ::= 'EOF'
82
83 version_number ::= number
84
85 file_type ::= 'L'
86
87 date ::= day '/' month '/' year
88
89 connector_direction ::= 'IN' | 'OUT' | 'INOUT' | 'UNKNOWN' |
90 'TRISTATE' | 'TRANSCV'
91 /// in : input
92 /// out : output
93 /// inout : input and output
94 /// unknown : no information is available
95 /// tristate : tristate output
96 /// transcv : tristate output and input
97
98 connector_type ::= 'EXTERNAL' | 'INTERNAL'
99
100 net_num ::= number
101
102 node_num ::= number
103
104 model_name ::= name
105
106 instance_name ::= name
107
108 type ::= 'N' | 'P'
109
110 lenght ::= float
111
112 width ::= float
113
114 drain ::= net_num
115
116 grid ::= net_num
117
118 source ::= net_num
119
120 bulk ::= net_num
121
122 node1 ::= node_num
123
124 node2 ::= node_num
125
126 sig1 ::= net_num
127
128 sig2 ::= net_num
129
130 xs ::= float
131
132 xd ::= float
133
134 ps ::= float
135
136 pd ::= float
137
138 x ::= float
139
140 y ::= float
141
142 dx ::= float
143
144 dy ::= float
145
146 trname :: name
147
148 layer ::= 'X' | 'PY' | 'A1' | 'A2' | 'CY' | 'CN' | 'CP' | 'CV'
149 | 'CW' | 'CA' | 'RE'
150
151 signal_type ::= 'EXTERNAL' | 'INTERNAL'
152
153 capa ::= float
154
155 resi ::= float
156
157 signal_name ::= name
158
159 number ::= { '0' | '1'| '2' | '3' | '4' | '5' |
160 '6' | '7'| '8' | '9' }
161
162 float ::= number [ '.' number ]
163
164 name ::= word
165
166
168 Example 1
169 This example is the representation of a nand whith two input, extracted
170 with Lynx at transistor level.
171
172 V ALLIANCE : 6
173 H na2_y,L,29/ 3/99
174 C vss,UNKNOWN,EXTERNAL,2,1,9
175 C vdd,UNKNOWN,EXTERNAL,1,9,13
176 C i1,UNKNOWN,EXTERNAL,6,1,8
177 C i0,UNKNOWN,EXTERNAL,5,2,8
178 C f,UNKNOWN,EXTERNAL,3,1,11
179 T P,1,12,1,5,3,1,2,2,28,28,17,32.5,4,3,7,3,tr_00004
180 T P,1,12,3,6,1,1,2,2,28,28,11,32.5,7,7,1,2,tr_00003
181 T N,1,12,3,5,4,2,2,2,28,28,17,12.5,3,1,1,8,tr_00002
182 T N,1,12,4,6,2,2,2,2,28,28,11,12.5,1,2,2,5,tr_00001
183 S 6,EXTERNAL,i1
184 Q 0.020455
185 W 4,3,CV,0,0,7.2,17.6,0,0
186 W 6,5,CV,0,0,6.4,22.4,0,0
187 W 5,8,A2,0.4,0.00408,6.4,22.4,1.6,13.6
188 W 1,5,A2,0.6,0.006,6.4,2.4,1.6,20
189 W 3,6,A1,0.3,0.00168,6.4,17.6,1.6,4.8
190 W 4,7,PY,500,0.00315,8.8,17.6,0.8,8.4
191 W 2,4,PY,450,0.00285,8.8,10,0.8,7.6
192 S 5,EXTERNAL,i0
193 Q 0.020455
194 W 5,4,CV,0,0,15.2,17.6,0,0
195 W 7,6,CV,0,0,16,22.4,0,0
196 W 6,8,A2,0.4,0.00408,16,22.4,1.6,13.6
197 W 2,6,A2,0.6,0.006,16,2.4,1.6,20
198 W 4,7,A1,0.3,0.00168,16,17.6,1.6,4.8
199 W 5,3,PY,500,0.00315,13.6,17.6,0.8,8.4
200 W 1,5,PY,450,0.00285,13.6,10,0.8,7.6
201 S 4,INTERNAL
202 Q 0
203 S 3,EXTERNAL,f
204 Q 0.021985
205 W 3,4,CV,0,0,16,10.4,0,0
206 W 6,5,CV,0,0,11.2,17.6,0,0
207 W 8,7,CV,0,0,11.2,23.2,0,0
208 W 9,7,CV,0,0,11.2,28,0,0
209 W 5,11,A2,0.55,0.00552,11.2,17.6,1.6,18.4
210 W 1,5,A2,0.45,0.00456,11.2,2.4,1.6,15.2
211 W 10,9,A1,0.2,0.00126,11.2,24.4,1.6,3.6
212 W 8,10,A1,0,0.00042,11.2,23.2,1.6,1.2
213 W 6,8,A1,0.7,0.00161,11.2,17.6,0.8,5.6
214 W 2,6,A1,0.9,0.00207,11.2,10.4,0.8,7.2
215 W 2,4,A1,0.6,0.00138,11.2,10.4,4.8,0.8
216 S 2,EXTERNAL,vss
217 Q 0.0245
218 W 4,3,CV,0,0,6.4,1.6,0,0
219 W 7,6,CV,0,0,11.2,1.6,0,0
220 W 11,10,CV,0,0,16,1.6,0,0
221 W 3,2,CV,0,0,6.4,6.4,0,0
222 W 12,2,CV,0,0,6.4,10.4,0,0
223 W 3,12,A1,0.4,0.00224,6.4,4,1.6,6.4
224 W 10,9,A1,0,0.00174,16,4,2.4,6.4
225 W 6,10,A1,0,0.00348,11.2,4,4.8,6.4
226 W 3,6,A1,0,0.00348,6.4,4,4.8,6.4
227 W 1,3,A1,0,0.00174,4,4,2.4,6.4
228 S 1,EXTERNAL,vdd
229 Q 0.02846
230 W 5,1,CV,0,0,6.4,26.4,0,0
231 W 6,4,CV,0,0,16,26.4,0,0
232 W 7,1,CV,0,0,6.4,29.6,0,0
233 W 8,4,CV,0,0,16,29.6,0,0
234 W 14,10,CV,0,0,6.4,36,0,0
235 W 15,11,CV,0,0,11.2,36,0,0
236 W 16,12,CV,0,0,16,36,0,0
237 W 7,10,A1,0.3,0.00168,6.4,29.6,1.6,4.8
238 W 5,7,A1,0.2,0.00112,6.4,26.4,1.6,3.2
239 W 8,12,A1,0.3,0.00168,16,29.6,1.6,4.8
240 W 6,8,A1,0.2,0.00112,16,26.4,1.6,3.2
241 W 12,13,A1,0,0.00174,16,34.4,2.4,6.4
242 W 9,10,A1,0,0.00174,4,34.4,2.4,6.4
243 W 11,12,A1,0,0.00348,11.2,36,4.8,6.4
244 W 10,11,A1,0,0.00348,6.4,36,4.8,6.4
245 K 0.00213,1,1,2,1
246 K 0.00454,5,6,2,1
247 K 0.00199,6,8,2,1
248 EOF
249
250 Example 2
251 This example is a xor designed with three cells.
252
253 V ALLIANCE : 6
254 H gxor,L,29/ 3/99
255 C vss,UNKNOWN,EXTERNAL,4,1,2,9,10
256 C vdd,UNKNOWN,EXTERNAL,6,1,2,10,3
257 C s,UNKNOWN,EXTERNAL,8,2
258 C b,UNKNOWN,EXTERNAL,5,5
259 C a,UNKNOWN,EXTERNAL,3,1
260 I ndrvp_y,auxsc3
261 C vss,UNKNOWN,INTERNAL,4,8,9
262 C vdd,UNKNOWN,INTERNAL,6,9,10
263 C i,UNKNOWN,INTERNAL,5,4,9
264 C f,UNKNOWN,INTERNAL,7,8,12
265 I mx2_y,s
266 C vss,UNKNOWN,INTERNAL,4,4,8
267 C vdd,UNKNOWN,INTERNAL,6,5,9
268 C t,UNKNOWN,INTERNAL,8,1,3
269 C l1,UNKNOWN,INTERNAL,7,1,11
270 C l0,UNKNOWN,INTERNAL,2,4,8
271 C i1,UNKNOWN,INTERNAL,3,11,13
272 C i0,UNKNOWN,INTERNAL,5,1,8
273 I ndrvp_y,auxsc1
274 C vss,UNKNOWN,INTERNAL,4,2,3
275 C vdd,UNKNOWN,INTERNAL,6,2,4
276 C i,UNKNOWN,INTERNAL,3,10,12
277 C f,UNKNOWN,INTERNAL,2,1,7
278 S 8,EXTERNAL,s
279 Q 0.0072
280 W 2,1,A2,0.55,0.00528,79.2,0,1.6,17.6
281 S 7,INTERNAL,auxsc3
282 Q 0.02142
283 W 3,2,CV,0,0,64.8,8.8,0,0
284 W 5,4,CV,0,0,74.4,8.8,0,0
285 W 7,6,CV,0,0,74.4,12.8,0,0
286 W 10,9,CV,0,0,88.8,12.8,0,0
287 W 9,8,A2,0.15,0.00144,88.8,12.8,1.6,4.8
288 W 6,10,A1,1.8,0.00414,74.4,12.8,14.4,0.8
289 W 4,7,A2,0.1,0.0012,74.4,8.8,1.6,4
290 W 2,1,A2,0.25,0.00264,64.8,8.8,1.6,8.8
291 W 3,5,A1,1.2,0.00276,64.8,8.8,9.6,0.8
292 S 6,EXTERNAL,vdd
293 Q 0.05453
294 W 7,6,CV,0,0,37.6,48,0,0
295 W 8,6,CV,0,0,37.6,51.2,0,0
296 W 6,5,A1,0.1,0.00754,37.6,49.6,10.4,6.4
297 W 4,6,A1,0,0.0029,33.6,49.6,4,6.4
298 W 8,3,A2,0.05,0.00203,37.6,51.2,3.2,5.6
299 W 7,8,A2,0.05,0.00116,37.6,48,3.2,3.2
300 W 1,7,A2,0.75,0.0174,37.6,0,3.2,48
301 S 5,EXTERNAL,b
302 Q 0.02922
303 W 3,2,CV,0,0,50.4,4.8,0,0
304 W 7,6,CV,0,0,98.4,4.8,0,0
305 W 6,4,A2,0.4,0.00384,98.4,4.8,1.6,12.8
306 W 5,6,A2,0.15,0.00144,98.4,0,1.6,4.8
307 W 2,1,A2,0.4,0.00384,50.4,4.8,1.6,12.8
308 W 3,7,A1,6,0.0138,50.4,4.8,48,0.8
309 S 4,EXTERNAL,vss
310 Q 0.05453
311 W 6,5,CV,0,0,44,17.6,0,0
312 W 6,7,CV,0,0,44,20.8,0,0
313 W 7,10,A2,0.55,0.01305,44,20.8,3.2,36
314 W 1,5,A2,0.25,0.00638,44,0,3.2,17.6
315 W 5,7,A2,0.05,0.00116,44,17.6,3.2,3.2
316 W 6,4,A1,0,0.0029,44,19.2,4,6.4
317 W 3,6,A1,0.1,0.00754,33.6,19.2,10.4,6.4
318 S 3,EXTERNAL,a
319 Q 0.03282
320 W 3,2,CV,0,0,16.8,8.8,0,0
321 W 5,4,CV,0,0,60,8.8,0,0
322 W 7,6,CV,0,0,60,12.8,0,0
323 W 9,8,CV,0,0,69.6,12.8,0,0
324 W 8,11,A2,0.15,0.00144,69.6,12.8,1.6,4.8
325 W 6,9,A1,1.2,0.00276,60,12.8,9.6,0.8
326 W 4,7,A2,0.1,0.0012,60,8.8,1.6,4
327 W 2,10,A2,0.25,0.00264,16.8,8.8,1.6,8.8
328 W 1,2,A2,0.25,0.00264,16.8,0,1.6,8.8
329 W 3,5,A1,5.4,0.01242,16.8,8.8,43.2,0.8
330 S 2,INTERNAL,auxsc1
331 Q 0.0225
332 W 3,2,CV,0,0,7.2,12.8,0,0
333 W 6,5,CV,0,0,55.2,12.8,0,0
334 W 5,4,A2,0.15,0.00144,55.2,12.8,1.6,4.8
335 W 2,1,A2,0.15,0.00144,7.2,12.8,1.6,4.8
336 W 3,6,A1,6,0.0138,7.2,12.8,48,0.8
337 S 1,INTERNAL,implicit
338 Q 0
339 EOF
340
342 mbk(3)
343
344
345
346
347
348ASIM/LIP6 October 1, 1997 Release 5.0 AL(5)