Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | |
2 | |||
3 | Terminals which are not used: |
||
4 | |||
5 | NL |
||
6 | WIRE |
||
7 | |||
8 | |||
9 | Conflict in state 182 between rule 123 and token BIN_OP resolved as reduce. |
||
10 | |||
11 | Grammar |
||
12 | rule 1 modules -> modules mod_prim |
||
13 | rule 2 modules -> modules error |
||
14 | rule 3 modules -> mod_prim |
||
15 | rule 4 mod_prim -> module |
||
16 | rule 5 mod_prim -> primitive |
||
17 | rule 6 primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body ENDPRIM |
||
18 | rule 7 list_of_vars -> list_of_vars ',' NAME |
||
19 | rule 8 list_of_vars -> NAME |
||
20 | rule 9 prim_body -> UDP_decl UDP_init table_def |
||
21 | rule 10 prim_body -> UDP_decl table_def |
||
22 | rule 11 UDP_decl -> output_decl |
||
23 | rule 12 UDP_decl -> input_decl |
||
24 | rule 13 UDP_decl -> reg_decl |
||
25 | rule 14 UDP_init -> INITIAL NAME '=' init_val |
||
26 | rule 15 init_val -> '1' ''' 'b' '0' |
||
27 | rule 16 init_val -> '1' ''' 'b' '1' |
||
28 | rule 17 init_val -> '1' ''' 'b' 'x' |
||
29 | rule 18 init_val -> '1' |
||
30 | rule 19 init_val -> '0' |
||
31 | rule 20 table_def -> TABLE table_entries ENDTABLE |
||
32 | rule 21 table_entries -> table_entries combin_entry |
||
33 | rule 22 table_entries -> combin_entry |
||
34 | rule 23 table_entries -> table_entries seq_entry |
||
35 | rule 24 table_entries -> seq_entry |
||
36 | rule 25 combin_entry -> level_in_list ':' OUT_SYM ';' |
||
37 | rule 26 seq_entry -> level_in_list ':' state ':' next_state ';' |
||
38 | rule 27 seq_entry -> edge_in_list ':' state ':' next_state ';' |
||
39 | rule 28 level_in_list -> LEV_SYM |
||
40 | rule 29 edge_in_list -> LEV_SYM edge LEV_SYM |
||
41 | rule 30 edge_in_list -> edge |
||
42 | rule 31 edge -> '(' LEV_SYM LEV_SYM ')' |
||
43 | rule 32 edge -> EDGE_SYM |
||
44 | rule 33 state -> LEV_SYM |
||
45 | rule 34 next_state -> OUT_SYM |
||
46 | rule 35 module -> MODULE NAME ';' mod_body ENDMODULE |
||
47 | rule 36 module -> MODULE NAME '(' list_of_ports ')' ';' mod_body ENDMODULE |
||
48 | rule 37 list_of_ports -> list_of_ports ',' port |
||
49 | rule 38 list_of_ports -> port |
||
50 | rule 39 port -> NAME |
||
51 | rule 40 port -> NAME '[' const_exp ']' |
||
52 | rule 41 port -> NAME '[' const_exp ':' const_exp ']' |
||
53 | rule 42 mod_body -> mod_body module_item |
||
54 | rule 43 mod_body -> module_item |
||
55 | rule 44 module_item -> param_decl |
||
56 | rule 45 module_item -> input_decl |
||
57 | rule 46 module_item -> output_decl |
||
58 | rule 47 module_item -> inout_decl |
||
59 | rule 48 module_item -> net_decl |
||
60 | rule 49 module_item -> reg_decl |
||
61 | rule 50 module_item -> time_decl |
||
62 | rule 51 module_item -> integer_decl |
||
63 | rule 52 module_item -> real_decl |
||
64 | rule 53 module_item -> event_decl |
||
65 | rule 54 module_item -> gate_decl |
||
66 | rule 55 module_item -> module_instant |
||
67 | rule 56 module_item -> defparm_decl |
||
68 | rule 57 module_item -> cont_assign |
||
69 | rule 58 param_decl -> PARAMETER |
||
70 | rule 59 reg_decl -> REG |
||
71 | rule 60 time_decl -> TIME |
||
72 | rule 61 integer_decl -> INTEGER |
||
73 | rule 62 real_decl -> REAL |
||
74 | rule 63 event_decl -> EVENT |
||
75 | rule 64 defparm_decl -> DEFPARAM |
||
76 | rule 65 gate_decl -> GATETYPE gate_instant |
||
77 | rule 66 gate_decl -> GATETYPE dr_strength gate_instant |
||
78 | rule 67 gate_decl -> GATETYPE delay gate_instant |
||
79 | rule 68 gate_decl -> GATETYPE dr_strength delay gate_instant |
||
80 | rule 69 gate_instant -> NAME '(' exp ')' |
||
81 | rule 70 input_decl -> INPUT list_vars ';' |
||
82 | rule 71 input_decl -> INPUT range list_vars ';' |
||
83 | rule 72 output_decl -> OUTPUT list_vars ';' |
||
84 | rule 73 output_decl -> OUTPUT range list_vars ';' |
||
85 | rule 74 inout_decl -> INOUT list_vars ';' |
||
86 | rule 75 inout_decl -> INOUT range list_vars ';' |
||
87 | rule 76 net_decl -> NETTYPE list_vars ';' |
||
88 | rule 77 net_decl -> NETTYPE range list_vars ';' |
||
89 | rule 78 net_decl -> NETTYPE delay list_vars ';' |
||
90 | rule 79 net_decl -> NETTYPE range delay list_vars ';' |
||
91 | rule 80 range -> '[' const_exp ':' const_exp ']' |
||
92 | rule 81 delay -> '#' number |
||
93 | rule 82 delay -> '#' NAME |
||
94 | rule 83 dr_strength -> '(' STRENGTH0 ',' STRENGTH1 ')' |
||
95 | rule 84 dr_strength -> '(' STRENGTH1 ',' STRENGTH0 ')' |
||
96 | rule 85 list_vars -> list_vars ',' NAME |
||
97 | rule 86 list_vars -> NAME |
||
98 | rule 87 module_instant -> name_mod mod_inst_list ';' |
||
99 | rule 88 module_instant -> name_mod par_val mod_inst_list ';' |
||
100 | rule 89 name_mod -> NAME |
||
101 | rule 90 mod_inst_list -> mod_inst_list ',' mod_inst |
||
102 | rule 91 mod_inst_list -> mod_inst |
||
103 | rule 92 mod_inst -> reference '(' list_mod_conn ')' |
||
104 | rule 93 mod_inst -> reference '(' list_nam_conn ')' |
||
105 | rule 94 reference -> NAME |
||
106 | rule 95 list_mod_conn -> list_mod_conn ',' exp |
||
107 | rule 96 list_mod_conn -> exp |
||
108 | rule 97 list_nam_conn -> list_nam_conn ',' nam_conn |
||
109 | rule 98 list_nam_conn -> nam_conn |
||
110 | rule 99 nam_conn -> '.' NAME '(' sig_nam ')' |
||
111 | rule 100 sig_nam -> NAME |
||
112 | rule 101 sig_nam -> NAME '[' exp ']' |
||
113 | rule 102 sig_nam -> NAME '[' exp ':' exp ']' |
||
114 | rule 103 sig_nam -> concatenation |
||
115 | rule 104 par_val -> '#' '(' exp ')' |
||
116 | rule 105 cont_assign -> ASSIGN list_assigns ';' |
||
117 | rule 106 cont_assign -> ASSIGN dr_strength list_assigns ';' |
||
118 | rule 107 cont_assign -> ASSIGN delay list_assigns ';' |
||
119 | rule 108 cont_assign -> ASSIGN dr_strength delay list_assigns ';' |
||
120 | rule 109 list_assigns -> list_assigns ',' assignment |
||
121 | rule 110 list_assigns -> assignment |
||
122 | rule 111 assignment -> lvalue '=' exp |
||
123 | rule 112 assignment -> lvalue '=' '(' exp ')' |
||
124 | rule 113 lvalue -> NAME |
||
125 | rule 114 lvalue -> NAME '[' exp ']' |
||
126 | rule 115 lvalue -> concatenation |
||
127 | rule 116 const_exp -> exp |
||
128 | rule 117 concatenation -> '{' exp_list '}' |
||
129 | rule 118 exp_list -> exp_list ',' exp |
||
130 | rule 119 exp_list -> exp |
||
131 | rule 120 exp -> primary |
||
132 | rule 121 exp -> UNARY_OP primary |
||
133 | rule 122 exp -> UNARY_OP '(' exp ')' |
||
134 | rule 123 exp -> exp BIN_OP exp |
||
135 | rule 124 primary -> number |
||
136 | rule 125 primary -> NAME '[' exp ']' |
||
137 | rule 126 primary -> NAME |
||
138 | rule 127 primary -> concatenation |
||
139 | rule 128 number -> NUMBER |
||
140 | rule 129 number -> NUMBER ''' 'b' NUMBER |
||
141 | rule 130 number -> NUMBER ''' 'd' NUMBER |
||
142 | rule 131 number -> NUMBER ''' 'o' NUMBER |
||
143 | |||
144 | Terminals, with rules where they appear |
||
145 | |||
146 | $ (-1) |
||
147 | '#' (35) 81 82 104 |
||
148 | ''' (39) 15 16 17 129 130 131 |
||
149 | '(' (40) 6 31 36 69 83 84 92 93 99 104 112 122 |
||
150 | ')' (41) 6 31 36 69 83 84 92 93 99 104 112 122 |
||
151 | ',' (44) 7 37 83 84 85 90 95 97 109 118 |
||
152 | '.' (46) 99 |
||
153 | '0' (48) 15 19 |
||
154 | '1' (49) 15 16 17 18 |
||
155 | ':' (58) 25 26 27 41 80 102 |
||
156 | ';' (59) 6 25 26 27 35 36 70 71 72 73 74 75 76 77 78 79 87 88 105 106 |
||
157 | 107 108 |
||
158 | '=' (61) 14 111 112 |
||
159 | '[' (91) 40 41 80 101 102 114 125 |
||
160 | ']' (93) 40 41 80 101 102 114 125 |
||
161 | 'b' (98) 15 16 17 129 |
||
162 | 'd' (100) 130 |
||
163 | 'o' (111) 131 |
||
164 | 'x' (120) 17 |
||
165 | '{' (123) 117 |
||
166 | '}' (125) 117 |
||
167 | error (256) 2 |
||
168 | NL (258) |
||
169 | NAME (259) 6 7 8 14 35 36 39 40 41 69 82 85 86 89 94 99 100 101 102 |
||
170 | 113 114 125 126 |
||
171 | NUMBER (260) 128 129 130 131 |
||
172 | MODULE (261) 35 36 |
||
173 | ENDMODULE (262) 35 36 |
||
174 | WIRE (263) |
||
175 | INPUT (264) 70 71 |
||
176 | OUTPUT (265) 72 73 |
||
177 | INOUT (266) 74 75 |
||
178 | NETTYPE (267) 76 77 78 79 |
||
179 | ASSIGN (268) 105 106 107 108 |
||
180 | STRENGTH0 (269) 83 84 |
||
181 | STRENGTH1 (270) 83 84 |
||
182 | GATETYPE (271) 65 66 67 68 |
||
183 | INITIAL (272) 14 |
||
184 | PARAMETER (273) 58 |
||
185 | REG (274) 59 |
||
186 | TIME (275) 60 |
||
187 | INTEGER (276) 61 |
||
188 | REAL (277) 62 |
||
189 | EVENT (278) 63 |
||
190 | DEFPARAM (279) 64 |
||
191 | BIN_OP (280) 123 |
||
192 | UNARY_OP (281) 121 122 |
||
193 | PRIMITIVE (282) 6 |
||
194 | ENDPRIM (283) 6 |
||
195 | TABLE (284) 20 |
||
196 | ENDTABLE (285) 20 |
||
197 | OUT_SYM (286) 25 34 |
||
198 | LEV_SYM (287) 28 29 31 33 |
||
199 | EDGE_SYM (288) 32 |
||
200 | |||
201 | Nonterminals, with rules where they appear |
||
202 | |||
203 | modules (53) |
||
204 | on left: 1 2 3, on right: 1 2 |
||
205 | mod_prim (54) |
||
206 | on left: 4 5, on right: 1 3 |
||
207 | primitive (55) |
||
208 | on left: 6, on right: 5 |
||
209 | list_of_vars (56) |
||
210 | on left: 7 8, on right: 6 7 |
||
211 | prim_body (57) |
||
212 | on left: 9 10, on right: 6 |
||
213 | UDP_decl (58) |
||
214 | on left: 11 12 13, on right: 9 10 |
||
215 | UDP_init (59) |
||
216 | on left: 14, on right: 9 |
||
217 | init_val (60) |
||
218 | on left: 15 16 17 18 19, on right: 14 |
||
219 | table_def (61) |
||
220 | on left: 20, on right: 9 10 |
||
221 | table_entries (62) |
||
222 | on left: 21 22 23 24, on right: 20 21 23 |
||
223 | combin_entry (63) |
||
224 | on left: 25, on right: 21 22 |
||
225 | seq_entry (64) |
||
226 | on left: 26 27, on right: 23 24 |
||
227 | level_in_list (65) |
||
228 | on left: 28, on right: 25 26 |
||
229 | edge_in_list (66) |
||
230 | on left: 29 30, on right: 27 |
||
231 | edge (67) |
||
232 | on left: 31 32, on right: 29 30 |
||
233 | state (68) |
||
234 | on left: 33, on right: 26 27 |
||
235 | next_state (69) |
||
236 | on left: 34, on right: 26 27 |
||
237 | module (70) |
||
238 | on left: 35 36, on right: 4 |
||
239 | list_of_ports (71) |
||
240 | on left: 37 38, on right: 36 37 |
||
241 | port (72) |
||
242 | on left: 39 40 41, on right: 37 38 |
||
243 | mod_body (73) |
||
244 | on left: 42 43, on right: 35 36 42 |
||
245 | module_item (74) |
||
246 | on left: 44 45 46 47 48 49 50 51 52 53 54 55 56 57, |
||
247 | on right: 42 43 |
||
248 | param_decl (75) |
||
249 | on left: 58, on right: 44 |
||
250 | reg_decl (76) |
||
251 | on left: 59, on right: 13 49 |
||
252 | time_decl (77) |
||
253 | on left: 60, on right: 50 |
||
254 | integer_decl (78) |
||
255 | on left: 61, on right: 51 |
||
256 | real_decl (79) |
||
257 | on left: 62, on right: 52 |
||
258 | event_decl (80) |
||
259 | on left: 63, on right: 53 |
||
260 | defparm_decl (81) |
||
261 | on left: 64, on right: 56 |
||
262 | gate_decl (82) |
||
263 | on left: 65 66 67 68, on right: 54 |
||
264 | gate_instant (83) |
||
265 | on left: 69, on right: 65 66 67 68 |
||
266 | input_decl (84) |
||
267 | on left: 70 71, on right: 12 45 |
||
268 | output_decl (85) |
||
269 | on left: 72 73, on right: 11 46 |
||
270 | inout_decl (86) |
||
271 | on left: 74 75, on right: 47 |
||
272 | net_decl (87) |
||
273 | on left: 76 77 78 79, on right: 48 |
||
274 | range (88) |
||
275 | on left: 80, on right: 71 73 75 77 79 |
||
276 | delay (89) |
||
277 | on left: 81 82, on right: 67 68 78 79 107 108 |
||
278 | dr_strength (90) |
||
279 | on left: 83 84, on right: 66 68 106 108 |
||
280 | list_vars (91) |
||
281 | on left: 85 86, on right: 70 71 72 73 74 75 76 77 78 79 85 |
||
282 | module_instant (92) |
||
283 | on left: 87 88, on right: 55 |
||
284 | name_mod (93) |
||
285 | on left: 89, on right: 87 88 |
||
286 | mod_inst_list (94) |
||
287 | on left: 90 91, on right: 87 88 90 |
||
288 | mod_inst (95) |
||
289 | on left: 92 93, on right: 90 91 |
||
290 | reference (96) |
||
291 | on left: 94, on right: 92 93 |
||
292 | list_mod_conn (97) |
||
293 | on left: 95 96, on right: 92 95 |
||
294 | list_nam_conn (98) |
||
295 | on left: 97 98, on right: 93 97 |
||
296 | nam_conn (99) |
||
297 | on left: 99, on right: 97 98 |
||
298 | sig_nam (100) |
||
299 | on left: 100 101 102 103, on right: 99 |
||
300 | par_val (101) |
||
301 | on left: 104, on right: 88 |
||
302 | cont_assign (102) |
||
303 | on left: 105 106 107 108, on right: 57 |
||
304 | list_assigns (103) |
||
305 | on left: 109 110, on right: 105 106 107 108 109 |
||
306 | assignment (104) |
||
307 | on left: 111 112, on right: 109 110 |
||
308 | lvalue (105) |
||
309 | on left: 113 114 115, on right: 111 112 |
||
310 | const_exp (106) |
||
311 | on left: 116, on right: 40 41 80 |
||
312 | concatenation (107) |
||
313 | on left: 117, on right: 103 115 127 |
||
314 | exp_list (108) |
||
315 | on left: 118 119, on right: 117 118 |
||
316 | exp (109) |
||
317 | on left: 120 121 122 123, on right: 69 95 96 101 102 104 111 112 |
||
318 | 114 116 118 119 122 123 125 |
||
319 | primary (110) |
||
320 | on left: 124 125 126 127, on right: 120 121 |
||
321 | number (111) |
||
322 | on left: 128 129 130 131, on right: 81 124 |
||
323 | |||
324 | |||
325 | state 0 |
||
326 | |||
327 | MODULE shift, and go to state 1 |
||
328 | PRIMITIVE shift, and go to state 2 |
||
329 | |||
330 | modules go to state 3 |
||
331 | mod_prim go to state 4 |
||
332 | primitive go to state 5 |
||
333 | module go to state 6 |
||
334 | |||
335 | |||
336 | |||
337 | state 1 |
||
338 | |||
339 | module -> MODULE . NAME ';' mod_body ENDMODULE (rule 35) |
||
340 | module -> MODULE . NAME '(' list_of_ports ')' ';' mod_body ENDMODULE (rule 36) |
||
341 | |||
342 | NAME shift, and go to state 7 |
||
343 | |||
344 | |||
345 | |||
346 | state 2 |
||
347 | |||
348 | primitive -> PRIMITIVE . NAME '(' list_of_vars ')' ';' prim_body ENDPRIM (rule 6) |
||
349 | |||
350 | NAME shift, and go to state 8 |
||
351 | |||
352 | |||
353 | |||
354 | state 3 |
||
355 | |||
356 | modules -> modules . mod_prim (rule 1) |
||
357 | modules -> modules . error (rule 2) |
||
358 | |||
359 | $ go to state 269 |
||
360 | error shift, and go to state 9 |
||
361 | MODULE shift, and go to state 1 |
||
362 | PRIMITIVE shift, and go to state 2 |
||
363 | |||
364 | mod_prim go to state 10 |
||
365 | primitive go to state 5 |
||
366 | module go to state 6 |
||
367 | |||
368 | |||
369 | |||
370 | state 4 |
||
371 | |||
372 | modules -> mod_prim . (rule 3) |
||
373 | |||
374 | $default reduce using rule 3 (modules) |
||
375 | |||
376 | |||
377 | |||
378 | state 5 |
||
379 | |||
380 | mod_prim -> primitive . (rule 5) |
||
381 | |||
382 | $default reduce using rule 5 (mod_prim) |
||
383 | |||
384 | |||
385 | |||
386 | state 6 |
||
387 | |||
388 | mod_prim -> module . (rule 4) |
||
389 | |||
390 | $default reduce using rule 4 (mod_prim) |
||
391 | |||
392 | |||
393 | |||
394 | state 7 |
||
395 | |||
396 | module -> MODULE NAME . ';' mod_body ENDMODULE (rule 35) |
||
397 | module -> MODULE NAME . '(' list_of_ports ')' ';' mod_body ENDMODULE (rule 36) |
||
398 | |||
399 | '(' shift, and go to state 11 |
||
400 | ';' shift, and go to state 12 |
||
401 | |||
402 | |||
403 | |||
404 | state 8 |
||
405 | |||
406 | primitive -> PRIMITIVE NAME . '(' list_of_vars ')' ';' prim_body ENDPRIM (rule 6) |
||
407 | |||
408 | '(' shift, and go to state 13 |
||
409 | |||
410 | |||
411 | |||
412 | state 9 |
||
413 | |||
414 | modules -> modules error . (rule 2) |
||
415 | |||
416 | $default reduce using rule 2 (modules) |
||
417 | |||
418 | |||
419 | |||
420 | state 10 |
||
421 | |||
422 | modules -> modules mod_prim . (rule 1) |
||
423 | |||
424 | $default reduce using rule 1 (modules) |
||
425 | |||
426 | |||
427 | |||
428 | state 11 |
||
429 | |||
430 | module -> MODULE NAME '(' . list_of_ports ')' ';' mod_body ENDMODULE (rule 36) |
||
431 | |||
432 | NAME shift, and go to state 14 |
||
433 | |||
434 | list_of_ports go to state 15 |
||
435 | port go to state 16 |
||
436 | |||
437 | |||
438 | |||
439 | state 12 |
||
440 | |||
441 | module -> MODULE NAME ';' . mod_body ENDMODULE (rule 35) |
||
442 | |||
443 | NAME shift, and go to state 17 |
||
444 | INPUT shift, and go to state 18 |
||
445 | OUTPUT shift, and go to state 19 |
||
446 | INOUT shift, and go to state 20 |
||
447 | NETTYPE shift, and go to state 21 |
||
448 | ASSIGN shift, and go to state 22 |
||
449 | GATETYPE shift, and go to state 23 |
||
450 | PARAMETER shift, and go to state 24 |
||
451 | REG shift, and go to state 25 |
||
452 | TIME shift, and go to state 26 |
||
453 | INTEGER shift, and go to state 27 |
||
454 | REAL shift, and go to state 28 |
||
455 | EVENT shift, and go to state 29 |
||
456 | DEFPARAM shift, and go to state 30 |
||
457 | |||
458 | mod_body go to state 31 |
||
459 | module_item go to state 32 |
||
460 | param_decl go to state 33 |
||
461 | reg_decl go to state 34 |
||
462 | time_decl go to state 35 |
||
463 | integer_decl go to state 36 |
||
464 | real_decl go to state 37 |
||
465 | event_decl go to state 38 |
||
466 | defparm_decl go to state 39 |
||
467 | gate_decl go to state 40 |
||
468 | input_decl go to state 41 |
||
469 | output_decl go to state 42 |
||
470 | inout_decl go to state 43 |
||
471 | net_decl go to state 44 |
||
472 | module_instant go to state 45 |
||
473 | name_mod go to state 46 |
||
474 | cont_assign go to state 47 |
||
475 | |||
476 | |||
477 | |||
478 | state 13 |
||
479 | |||
480 | primitive -> PRIMITIVE NAME '(' . list_of_vars ')' ';' prim_body ENDPRIM (rule 6) |
||
481 | |||
482 | NAME shift, and go to state 48 |
||
483 | |||
484 | list_of_vars go to state 49 |
||
485 | |||
486 | |||
487 | |||
488 | state 14 |
||
489 | |||
490 | port -> NAME . (rule 39) |
||
491 | port -> NAME . '[' const_exp ']' (rule 40) |
||
492 | port -> NAME . '[' const_exp ':' const_exp ']' (rule 41) |
||
493 | |||
494 | '[' shift, and go to state 50 |
||
495 | |||
496 | $default reduce using rule 39 (port) |
||
497 | |||
498 | |||
499 | |||
500 | state 15 |
||
501 | |||
502 | module -> MODULE NAME '(' list_of_ports . ')' ';' mod_body ENDMODULE (rule 36) |
||
503 | list_of_ports -> list_of_ports . ',' port (rule 37) |
||
504 | |||
505 | ')' shift, and go to state 51 |
||
506 | ',' shift, and go to state 52 |
||
507 | |||
508 | |||
509 | |||
510 | state 16 |
||
511 | |||
512 | list_of_ports -> port . (rule 38) |
||
513 | |||
514 | $default reduce using rule 38 (list_of_ports) |
||
515 | |||
516 | |||
517 | |||
518 | state 17 |
||
519 | |||
520 | name_mod -> NAME . (rule 89) |
||
521 | |||
522 | $default reduce using rule 89 (name_mod) |
||
523 | |||
524 | |||
525 | |||
526 | state 18 |
||
527 | |||
528 | input_decl -> INPUT . list_vars ';' (rule 70) |
||
529 | input_decl -> INPUT . range list_vars ';' (rule 71) |
||
530 | |||
531 | NAME shift, and go to state 53 |
||
532 | '[' shift, and go to state 54 |
||
533 | |||
534 | range go to state 55 |
||
535 | list_vars go to state 56 |
||
536 | |||
537 | |||
538 | |||
539 | state 19 |
||
540 | |||
541 | output_decl -> OUTPUT . list_vars ';' (rule 72) |
||
542 | output_decl -> OUTPUT . range list_vars ';' (rule 73) |
||
543 | |||
544 | NAME shift, and go to state 53 |
||
545 | '[' shift, and go to state 54 |
||
546 | |||
547 | range go to state 57 |
||
548 | list_vars go to state 58 |
||
549 | |||
550 | |||
551 | |||
552 | state 20 |
||
553 | |||
554 | inout_decl -> INOUT . list_vars ';' (rule 74) |
||
555 | inout_decl -> INOUT . range list_vars ';' (rule 75) |
||
556 | |||
557 | NAME shift, and go to state 53 |
||
558 | '[' shift, and go to state 54 |
||
559 | |||
560 | range go to state 59 |
||
561 | list_vars go to state 60 |
||
562 | |||
563 | |||
564 | |||
565 | state 21 |
||
566 | |||
567 | net_decl -> NETTYPE . list_vars ';' (rule 76) |
||
568 | net_decl -> NETTYPE . range list_vars ';' (rule 77) |
||
569 | net_decl -> NETTYPE . delay list_vars ';' (rule 78) |
||
570 | net_decl -> NETTYPE . range delay list_vars ';' (rule 79) |
||
571 | |||
572 | NAME shift, and go to state 53 |
||
573 | '[' shift, and go to state 54 |
||
574 | '#' shift, and go to state 61 |
||
575 | |||
576 | range go to state 62 |
||
577 | delay go to state 63 |
||
578 | list_vars go to state 64 |
||
579 | |||
580 | |||
581 | |||
582 | state 22 |
||
583 | |||
584 | cont_assign -> ASSIGN . list_assigns ';' (rule 105) |
||
585 | cont_assign -> ASSIGN . dr_strength list_assigns ';' (rule 106) |
||
586 | cont_assign -> ASSIGN . delay list_assigns ';' (rule 107) |
||
587 | cont_assign -> ASSIGN . dr_strength delay list_assigns ';' (rule 108) |
||
588 | |||
589 | NAME shift, and go to state 65 |
||
590 | '(' shift, and go to state 66 |
||
591 | '#' shift, and go to state 61 |
||
592 | '{' shift, and go to state 67 |
||
593 | |||
594 | delay go to state 68 |
||
595 | dr_strength go to state 69 |
||
596 | list_assigns go to state 70 |
||
597 | assignment go to state 71 |
||
598 | lvalue go to state 72 |
||
599 | concatenation go to state 73 |
||
600 | |||
601 | |||
602 | |||
603 | state 23 |
||
604 | |||
605 | gate_decl -> GATETYPE . gate_instant (rule 65) |
||
606 | gate_decl -> GATETYPE . dr_strength gate_instant (rule 66) |
||
607 | gate_decl -> GATETYPE . delay gate_instant (rule 67) |
||
608 | gate_decl -> GATETYPE . dr_strength delay gate_instant (rule 68) |
||
609 | |||
610 | NAME shift, and go to state 74 |
||
611 | '(' shift, and go to state 66 |
||
612 | '#' shift, and go to state 61 |
||
613 | |||
614 | gate_instant go to state 75 |
||
615 | delay go to state 76 |
||
616 | dr_strength go to state 77 |
||
617 | |||
618 | |||
619 | |||
620 | state 24 |
||
621 | |||
622 | param_decl -> PARAMETER . (rule 58) |
||
623 | |||
624 | $default reduce using rule 58 (param_decl) |
||
625 | |||
626 | |||
627 | |||
628 | state 25 |
||
629 | |||
630 | reg_decl -> REG . (rule 59) |
||
631 | |||
632 | $default reduce using rule 59 (reg_decl) |
||
633 | |||
634 | |||
635 | |||
636 | state 26 |
||
637 | |||
638 | time_decl -> TIME . (rule 60) |
||
639 | |||
640 | $default reduce using rule 60 (time_decl) |
||
641 | |||
642 | |||
643 | |||
644 | state 27 |
||
645 | |||
646 | integer_decl -> INTEGER . (rule 61) |
||
647 | |||
648 | $default reduce using rule 61 (integer_decl) |
||
649 | |||
650 | |||
651 | |||
652 | state 28 |
||
653 | |||
654 | real_decl -> REAL . (rule 62) |
||
655 | |||
656 | $default reduce using rule 62 (real_decl) |
||
657 | |||
658 | |||
659 | |||
660 | state 29 |
||
661 | |||
662 | event_decl -> EVENT . (rule 63) |
||
663 | |||
664 | $default reduce using rule 63 (event_decl) |
||
665 | |||
666 | |||
667 | |||
668 | state 30 |
||
669 | |||
670 | defparm_decl -> DEFPARAM . (rule 64) |
||
671 | |||
672 | $default reduce using rule 64 (defparm_decl) |
||
673 | |||
674 | |||
675 | |||
676 | state 31 |
||
677 | |||
678 | module -> MODULE NAME ';' mod_body . ENDMODULE (rule 35) |
||
679 | mod_body -> mod_body . module_item (rule 42) |
||
680 | |||
681 | NAME shift, and go to state 17 |
||
682 | ENDMODULE shift, and go to state 78 |
||
683 | INPUT shift, and go to state 18 |
||
684 | OUTPUT shift, and go to state 19 |
||
685 | INOUT shift, and go to state 20 |
||
686 | NETTYPE shift, and go to state 21 |
||
687 | ASSIGN shift, and go to state 22 |
||
688 | GATETYPE shift, and go to state 23 |
||
689 | PARAMETER shift, and go to state 24 |
||
690 | REG shift, and go to state 25 |
||
691 | TIME shift, and go to state 26 |
||
692 | INTEGER shift, and go to state 27 |
||
693 | REAL shift, and go to state 28 |
||
694 | EVENT shift, and go to state 29 |
||
695 | DEFPARAM shift, and go to state 30 |
||
696 | |||
697 | module_item go to state 79 |
||
698 | param_decl go to state 33 |
||
699 | reg_decl go to state 34 |
||
700 | time_decl go to state 35 |
||
701 | integer_decl go to state 36 |
||
702 | real_decl go to state 37 |
||
703 | event_decl go to state 38 |
||
704 | defparm_decl go to state 39 |
||
705 | gate_decl go to state 40 |
||
706 | input_decl go to state 41 |
||
707 | output_decl go to state 42 |
||
708 | inout_decl go to state 43 |
||
709 | net_decl go to state 44 |
||
710 | module_instant go to state 45 |
||
711 | name_mod go to state 46 |
||
712 | cont_assign go to state 47 |
||
713 | |||
714 | |||
715 | |||
716 | state 32 |
||
717 | |||
718 | mod_body -> module_item . (rule 43) |
||
719 | |||
720 | $default reduce using rule 43 (mod_body) |
||
721 | |||
722 | |||
723 | |||
724 | state 33 |
||
725 | |||
726 | module_item -> param_decl . (rule 44) |
||
727 | |||
728 | $default reduce using rule 44 (module_item) |
||
729 | |||
730 | |||
731 | |||
732 | state 34 |
||
733 | |||
734 | module_item -> reg_decl . (rule 49) |
||
735 | |||
736 | $default reduce using rule 49 (module_item) |
||
737 | |||
738 | |||
739 | |||
740 | state 35 |
||
741 | |||
742 | module_item -> time_decl . (rule 50) |
||
743 | |||
744 | $default reduce using rule 50 (module_item) |
||
745 | |||
746 | |||
747 | |||
748 | state 36 |
||
749 | |||
750 | module_item -> integer_decl . (rule 51) |
||
751 | |||
752 | $default reduce using rule 51 (module_item) |
||
753 | |||
754 | |||
755 | |||
756 | state 37 |
||
757 | |||
758 | module_item -> real_decl . (rule 52) |
||
759 | |||
760 | $default reduce using rule 52 (module_item) |
||
761 | |||
762 | |||
763 | |||
764 | state 38 |
||
765 | |||
766 | module_item -> event_decl . (rule 53) |
||
767 | |||
768 | $default reduce using rule 53 (module_item) |
||
769 | |||
770 | |||
771 | |||
772 | state 39 |
||
773 | |||
774 | module_item -> defparm_decl . (rule 56) |
||
775 | |||
776 | $default reduce using rule 56 (module_item) |
||
777 | |||
778 | |||
779 | |||
780 | state 40 |
||
781 | |||
782 | module_item -> gate_decl . (rule 54) |
||
783 | |||
784 | $default reduce using rule 54 (module_item) |
||
785 | |||
786 | |||
787 | |||
788 | state 41 |
||
789 | |||
790 | module_item -> input_decl . (rule 45) |
||
791 | |||
792 | $default reduce using rule 45 (module_item) |
||
793 | |||
794 | |||
795 | |||
796 | state 42 |
||
797 | |||
798 | module_item -> output_decl . (rule 46) |
||
799 | |||
800 | $default reduce using rule 46 (module_item) |
||
801 | |||
802 | |||
803 | |||
804 | state 43 |
||
805 | |||
806 | module_item -> inout_decl . (rule 47) |
||
807 | |||
808 | $default reduce using rule 47 (module_item) |
||
809 | |||
810 | |||
811 | |||
812 | state 44 |
||
813 | |||
814 | module_item -> net_decl . (rule 48) |
||
815 | |||
816 | $default reduce using rule 48 (module_item) |
||
817 | |||
818 | |||
819 | |||
820 | state 45 |
||
821 | |||
822 | module_item -> module_instant . (rule 55) |
||
823 | |||
824 | $default reduce using rule 55 (module_item) |
||
825 | |||
826 | |||
827 | |||
828 | state 46 |
||
829 | |||
830 | module_instant -> name_mod . mod_inst_list ';' (rule 87) |
||
831 | module_instant -> name_mod . par_val mod_inst_list ';' (rule 88) |
||
832 | |||
833 | NAME shift, and go to state 80 |
||
834 | '#' shift, and go to state 81 |
||
835 | |||
836 | mod_inst_list go to state 82 |
||
837 | mod_inst go to state 83 |
||
838 | reference go to state 84 |
||
839 | par_val go to state 85 |
||
840 | |||
841 | |||
842 | |||
843 | state 47 |
||
844 | |||
845 | module_item -> cont_assign . (rule 57) |
||
846 | |||
847 | $default reduce using rule 57 (module_item) |
||
848 | |||
849 | |||
850 | |||
851 | state 48 |
||
852 | |||
853 | list_of_vars -> NAME . (rule 8) |
||
854 | |||
855 | $default reduce using rule 8 (list_of_vars) |
||
856 | |||
857 | |||
858 | |||
859 | state 49 |
||
860 | |||
861 | primitive -> PRIMITIVE NAME '(' list_of_vars . ')' ';' prim_body ENDPRIM (rule 6) |
||
862 | list_of_vars -> list_of_vars . ',' NAME (rule 7) |
||
863 | |||
864 | ')' shift, and go to state 86 |
||
865 | ',' shift, and go to state 87 |
||
866 | |||
867 | |||
868 | |||
869 | state 50 |
||
870 | |||
871 | port -> NAME '[' . const_exp ']' (rule 40) |
||
872 | port -> NAME '[' . const_exp ':' const_exp ']' (rule 41) |
||
873 | |||
874 | NAME shift, and go to state 88 |
||
875 | NUMBER shift, and go to state 89 |
||
876 | UNARY_OP shift, and go to state 90 |
||
877 | '{' shift, and go to state 67 |
||
878 | |||
879 | const_exp go to state 91 |
||
880 | concatenation go to state 92 |
||
881 | exp go to state 93 |
||
882 | primary go to state 94 |
||
883 | number go to state 95 |
||
884 | |||
885 | |||
886 | |||
887 | state 51 |
||
888 | |||
889 | module -> MODULE NAME '(' list_of_ports ')' . ';' mod_body ENDMODULE (rule 36) |
||
890 | |||
891 | ';' shift, and go to state 96 |
||
892 | |||
893 | |||
894 | |||
895 | state 52 |
||
896 | |||
897 | list_of_ports -> list_of_ports ',' . port (rule 37) |
||
898 | |||
899 | NAME shift, and go to state 14 |
||
900 | |||
901 | port go to state 97 |
||
902 | |||
903 | |||
904 | |||
905 | state 53 |
||
906 | |||
907 | list_vars -> NAME . (rule 86) |
||
908 | |||
909 | $default reduce using rule 86 (list_vars) |
||
910 | |||
911 | |||
912 | |||
913 | state 54 |
||
914 | |||
915 | range -> '[' . const_exp ':' const_exp ']' (rule 80) |
||
916 | |||
917 | NAME shift, and go to state 88 |
||
918 | NUMBER shift, and go to state 89 |
||
919 | UNARY_OP shift, and go to state 90 |
||
920 | '{' shift, and go to state 67 |
||
921 | |||
922 | const_exp go to state 98 |
||
923 | concatenation go to state 92 |
||
924 | exp go to state 93 |
||
925 | primary go to state 94 |
||
926 | number go to state 95 |
||
927 | |||
928 | |||
929 | |||
930 | state 55 |
||
931 | |||
932 | input_decl -> INPUT range . list_vars ';' (rule 71) |
||
933 | |||
934 | NAME shift, and go to state 53 |
||
935 | |||
936 | list_vars go to state 99 |
||
937 | |||
938 | |||
939 | |||
940 | state 56 |
||
941 | |||
942 | input_decl -> INPUT list_vars . ';' (rule 70) |
||
943 | list_vars -> list_vars . ',' NAME (rule 85) |
||
944 | |||
945 | ';' shift, and go to state 100 |
||
946 | ',' shift, and go to state 101 |
||
947 | |||
948 | |||
949 | |||
950 | state 57 |
||
951 | |||
952 | output_decl -> OUTPUT range . list_vars ';' (rule 73) |
||
953 | |||
954 | NAME shift, and go to state 53 |
||
955 | |||
956 | list_vars go to state 102 |
||
957 | |||
958 | |||
959 | |||
960 | state 58 |
||
961 | |||
962 | output_decl -> OUTPUT list_vars . ';' (rule 72) |
||
963 | list_vars -> list_vars . ',' NAME (rule 85) |
||
964 | |||
965 | ';' shift, and go to state 103 |
||
966 | ',' shift, and go to state 101 |
||
967 | |||
968 | |||
969 | |||
970 | state 59 |
||
971 | |||
972 | inout_decl -> INOUT range . list_vars ';' (rule 75) |
||
973 | |||
974 | NAME shift, and go to state 53 |
||
975 | |||
976 | list_vars go to state 104 |
||
977 | |||
978 | |||
979 | |||
980 | state 60 |
||
981 | |||
982 | inout_decl -> INOUT list_vars . ';' (rule 74) |
||
983 | list_vars -> list_vars . ',' NAME (rule 85) |
||
984 | |||
985 | ';' shift, and go to state 105 |
||
986 | ',' shift, and go to state 101 |
||
987 | |||
988 | |||
989 | |||
990 | state 61 |
||
991 | |||
992 | delay -> '#' . number (rule 81) |
||
993 | delay -> '#' . NAME (rule 82) |
||
994 | |||
995 | NAME shift, and go to state 106 |
||
996 | NUMBER shift, and go to state 89 |
||
997 | |||
998 | number go to state 107 |
||
999 | |||
1000 | |||
1001 | |||
1002 | state 62 |
||
1003 | |||
1004 | net_decl -> NETTYPE range . list_vars ';' (rule 77) |
||
1005 | net_decl -> NETTYPE range . delay list_vars ';' (rule 79) |
||
1006 | |||
1007 | NAME shift, and go to state 53 |
||
1008 | '#' shift, and go to state 61 |
||
1009 | |||
1010 | delay go to state 108 |
||
1011 | list_vars go to state 109 |
||
1012 | |||
1013 | |||
1014 | |||
1015 | state 63 |
||
1016 | |||
1017 | net_decl -> NETTYPE delay . list_vars ';' (rule 78) |
||
1018 | |||
1019 | NAME shift, and go to state 53 |
||
1020 | |||
1021 | list_vars go to state 110 |
||
1022 | |||
1023 | |||
1024 | |||
1025 | state 64 |
||
1026 | |||
1027 | net_decl -> NETTYPE list_vars . ';' (rule 76) |
||
1028 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1029 | |||
1030 | ';' shift, and go to state 111 |
||
1031 | ',' shift, and go to state 101 |
||
1032 | |||
1033 | |||
1034 | |||
1035 | state 65 |
||
1036 | |||
1037 | lvalue -> NAME . (rule 113) |
||
1038 | lvalue -> NAME . '[' exp ']' (rule 114) |
||
1039 | |||
1040 | '[' shift, and go to state 112 |
||
1041 | |||
1042 | $default reduce using rule 113 (lvalue) |
||
1043 | |||
1044 | |||
1045 | |||
1046 | state 66 |
||
1047 | |||
1048 | dr_strength -> '(' . STRENGTH0 ',' STRENGTH1 ')' (rule 83) |
||
1049 | dr_strength -> '(' . STRENGTH1 ',' STRENGTH0 ')' (rule 84) |
||
1050 | |||
1051 | STRENGTH0 shift, and go to state 113 |
||
1052 | STRENGTH1 shift, and go to state 114 |
||
1053 | |||
1054 | |||
1055 | |||
1056 | state 67 |
||
1057 | |||
1058 | concatenation -> '{' . exp_list '}' (rule 117) |
||
1059 | |||
1060 | NAME shift, and go to state 88 |
||
1061 | NUMBER shift, and go to state 89 |
||
1062 | UNARY_OP shift, and go to state 90 |
||
1063 | '{' shift, and go to state 67 |
||
1064 | |||
1065 | concatenation go to state 92 |
||
1066 | exp_list go to state 115 |
||
1067 | exp go to state 116 |
||
1068 | primary go to state 94 |
||
1069 | number go to state 95 |
||
1070 | |||
1071 | |||
1072 | |||
1073 | state 68 |
||
1074 | |||
1075 | cont_assign -> ASSIGN delay . list_assigns ';' (rule 107) |
||
1076 | |||
1077 | NAME shift, and go to state 65 |
||
1078 | '{' shift, and go to state 67 |
||
1079 | |||
1080 | list_assigns go to state 117 |
||
1081 | assignment go to state 71 |
||
1082 | lvalue go to state 72 |
||
1083 | concatenation go to state 73 |
||
1084 | |||
1085 | |||
1086 | |||
1087 | state 69 |
||
1088 | |||
1089 | cont_assign -> ASSIGN dr_strength . list_assigns ';' (rule 106) |
||
1090 | cont_assign -> ASSIGN dr_strength . delay list_assigns ';' (rule 108) |
||
1091 | |||
1092 | NAME shift, and go to state 65 |
||
1093 | '#' shift, and go to state 61 |
||
1094 | '{' shift, and go to state 67 |
||
1095 | |||
1096 | delay go to state 118 |
||
1097 | list_assigns go to state 119 |
||
1098 | assignment go to state 71 |
||
1099 | lvalue go to state 72 |
||
1100 | concatenation go to state 73 |
||
1101 | |||
1102 | |||
1103 | |||
1104 | state 70 |
||
1105 | |||
1106 | cont_assign -> ASSIGN list_assigns . ';' (rule 105) |
||
1107 | list_assigns -> list_assigns . ',' assignment (rule 109) |
||
1108 | |||
1109 | ';' shift, and go to state 120 |
||
1110 | ',' shift, and go to state 121 |
||
1111 | |||
1112 | |||
1113 | |||
1114 | state 71 |
||
1115 | |||
1116 | list_assigns -> assignment . (rule 110) |
||
1117 | |||
1118 | $default reduce using rule 110 (list_assigns) |
||
1119 | |||
1120 | |||
1121 | |||
1122 | state 72 |
||
1123 | |||
1124 | assignment -> lvalue . '=' exp (rule 111) |
||
1125 | assignment -> lvalue . '=' '(' exp ')' (rule 112) |
||
1126 | |||
1127 | '=' shift, and go to state 122 |
||
1128 | |||
1129 | |||
1130 | |||
1131 | state 73 |
||
1132 | |||
1133 | lvalue -> concatenation . (rule 115) |
||
1134 | |||
1135 | $default reduce using rule 115 (lvalue) |
||
1136 | |||
1137 | |||
1138 | |||
1139 | state 74 |
||
1140 | |||
1141 | gate_instant -> NAME . '(' exp ')' (rule 69) |
||
1142 | |||
1143 | '(' shift, and go to state 123 |
||
1144 | |||
1145 | |||
1146 | |||
1147 | state 75 |
||
1148 | |||
1149 | gate_decl -> GATETYPE gate_instant . (rule 65) |
||
1150 | |||
1151 | $default reduce using rule 65 (gate_decl) |
||
1152 | |||
1153 | |||
1154 | |||
1155 | state 76 |
||
1156 | |||
1157 | gate_decl -> GATETYPE delay . gate_instant (rule 67) |
||
1158 | |||
1159 | NAME shift, and go to state 74 |
||
1160 | |||
1161 | gate_instant go to state 124 |
||
1162 | |||
1163 | |||
1164 | |||
1165 | state 77 |
||
1166 | |||
1167 | gate_decl -> GATETYPE dr_strength . gate_instant (rule 66) |
||
1168 | gate_decl -> GATETYPE dr_strength . delay gate_instant (rule 68) |
||
1169 | |||
1170 | NAME shift, and go to state 74 |
||
1171 | '#' shift, and go to state 61 |
||
1172 | |||
1173 | gate_instant go to state 125 |
||
1174 | delay go to state 126 |
||
1175 | |||
1176 | |||
1177 | |||
1178 | state 78 |
||
1179 | |||
1180 | module -> MODULE NAME ';' mod_body ENDMODULE . (rule 35) |
||
1181 | |||
1182 | $default reduce using rule 35 (module) |
||
1183 | |||
1184 | |||
1185 | |||
1186 | state 79 |
||
1187 | |||
1188 | mod_body -> mod_body module_item . (rule 42) |
||
1189 | |||
1190 | $default reduce using rule 42 (mod_body) |
||
1191 | |||
1192 | |||
1193 | |||
1194 | state 80 |
||
1195 | |||
1196 | reference -> NAME . (rule 94) |
||
1197 | |||
1198 | $default reduce using rule 94 (reference) |
||
1199 | |||
1200 | |||
1201 | |||
1202 | state 81 |
||
1203 | |||
1204 | par_val -> '#' . '(' exp ')' (rule 104) |
||
1205 | |||
1206 | '(' shift, and go to state 127 |
||
1207 | |||
1208 | |||
1209 | |||
1210 | state 82 |
||
1211 | |||
1212 | module_instant -> name_mod mod_inst_list . ';' (rule 87) |
||
1213 | mod_inst_list -> mod_inst_list . ',' mod_inst (rule 90) |
||
1214 | |||
1215 | ';' shift, and go to state 128 |
||
1216 | ',' shift, and go to state 129 |
||
1217 | |||
1218 | |||
1219 | |||
1220 | state 83 |
||
1221 | |||
1222 | mod_inst_list -> mod_inst . (rule 91) |
||
1223 | |||
1224 | $default reduce using rule 91 (mod_inst_list) |
||
1225 | |||
1226 | |||
1227 | |||
1228 | state 84 |
||
1229 | |||
1230 | mod_inst -> reference . '(' list_mod_conn ')' (rule 92) |
||
1231 | mod_inst -> reference . '(' list_nam_conn ')' (rule 93) |
||
1232 | |||
1233 | '(' shift, and go to state 130 |
||
1234 | |||
1235 | |||
1236 | |||
1237 | state 85 |
||
1238 | |||
1239 | module_instant -> name_mod par_val . mod_inst_list ';' (rule 88) |
||
1240 | |||
1241 | NAME shift, and go to state 80 |
||
1242 | |||
1243 | mod_inst_list go to state 131 |
||
1244 | mod_inst go to state 83 |
||
1245 | reference go to state 84 |
||
1246 | |||
1247 | |||
1248 | |||
1249 | state 86 |
||
1250 | |||
1251 | primitive -> PRIMITIVE NAME '(' list_of_vars ')' . ';' prim_body ENDPRIM (rule 6) |
||
1252 | |||
1253 | ';' shift, and go to state 132 |
||
1254 | |||
1255 | |||
1256 | |||
1257 | state 87 |
||
1258 | |||
1259 | list_of_vars -> list_of_vars ',' . NAME (rule 7) |
||
1260 | |||
1261 | NAME shift, and go to state 133 |
||
1262 | |||
1263 | |||
1264 | |||
1265 | state 88 |
||
1266 | |||
1267 | primary -> NAME . '[' exp ']' (rule 125) |
||
1268 | primary -> NAME . (rule 126) |
||
1269 | |||
1270 | '[' shift, and go to state 134 |
||
1271 | |||
1272 | $default reduce using rule 126 (primary) |
||
1273 | |||
1274 | |||
1275 | |||
1276 | state 89 |
||
1277 | |||
1278 | number -> NUMBER . (rule 128) |
||
1279 | number -> NUMBER . ''' 'b' NUMBER (rule 129) |
||
1280 | number -> NUMBER . ''' 'd' NUMBER (rule 130) |
||
1281 | number -> NUMBER . ''' 'o' NUMBER (rule 131) |
||
1282 | |||
1283 | ''' shift, and go to state 135 |
||
1284 | |||
1285 | $default reduce using rule 128 (number) |
||
1286 | |||
1287 | |||
1288 | |||
1289 | state 90 |
||
1290 | |||
1291 | exp -> UNARY_OP . primary (rule 121) |
||
1292 | exp -> UNARY_OP . '(' exp ')' (rule 122) |
||
1293 | |||
1294 | NAME shift, and go to state 88 |
||
1295 | NUMBER shift, and go to state 89 |
||
1296 | '(' shift, and go to state 136 |
||
1297 | '{' shift, and go to state 67 |
||
1298 | |||
1299 | concatenation go to state 92 |
||
1300 | primary go to state 137 |
||
1301 | number go to state 95 |
||
1302 | |||
1303 | |||
1304 | |||
1305 | state 91 |
||
1306 | |||
1307 | port -> NAME '[' const_exp . ']' (rule 40) |
||
1308 | port -> NAME '[' const_exp . ':' const_exp ']' (rule 41) |
||
1309 | |||
1310 | ':' shift, and go to state 138 |
||
1311 | ']' shift, and go to state 139 |
||
1312 | |||
1313 | |||
1314 | |||
1315 | state 92 |
||
1316 | |||
1317 | primary -> concatenation . (rule 127) |
||
1318 | |||
1319 | $default reduce using rule 127 (primary) |
||
1320 | |||
1321 | |||
1322 | |||
1323 | state 93 |
||
1324 | |||
1325 | const_exp -> exp . (rule 116) |
||
1326 | exp -> exp . BIN_OP exp (rule 123) |
||
1327 | |||
1328 | BIN_OP shift, and go to state 140 |
||
1329 | |||
1330 | $default reduce using rule 116 (const_exp) |
||
1331 | |||
1332 | |||
1333 | |||
1334 | state 94 |
||
1335 | |||
1336 | exp -> primary . (rule 120) |
||
1337 | |||
1338 | $default reduce using rule 120 (exp) |
||
1339 | |||
1340 | |||
1341 | |||
1342 | state 95 |
||
1343 | |||
1344 | primary -> number . (rule 124) |
||
1345 | |||
1346 | $default reduce using rule 124 (primary) |
||
1347 | |||
1348 | |||
1349 | |||
1350 | state 96 |
||
1351 | |||
1352 | module -> MODULE NAME '(' list_of_ports ')' ';' . mod_body ENDMODULE (rule 36) |
||
1353 | |||
1354 | NAME shift, and go to state 17 |
||
1355 | INPUT shift, and go to state 18 |
||
1356 | OUTPUT shift, and go to state 19 |
||
1357 | INOUT shift, and go to state 20 |
||
1358 | NETTYPE shift, and go to state 21 |
||
1359 | ASSIGN shift, and go to state 22 |
||
1360 | GATETYPE shift, and go to state 23 |
||
1361 | PARAMETER shift, and go to state 24 |
||
1362 | REG shift, and go to state 25 |
||
1363 | TIME shift, and go to state 26 |
||
1364 | INTEGER shift, and go to state 27 |
||
1365 | REAL shift, and go to state 28 |
||
1366 | EVENT shift, and go to state 29 |
||
1367 | DEFPARAM shift, and go to state 30 |
||
1368 | |||
1369 | mod_body go to state 141 |
||
1370 | module_item go to state 32 |
||
1371 | param_decl go to state 33 |
||
1372 | reg_decl go to state 34 |
||
1373 | time_decl go to state 35 |
||
1374 | integer_decl go to state 36 |
||
1375 | real_decl go to state 37 |
||
1376 | event_decl go to state 38 |
||
1377 | defparm_decl go to state 39 |
||
1378 | gate_decl go to state 40 |
||
1379 | input_decl go to state 41 |
||
1380 | output_decl go to state 42 |
||
1381 | inout_decl go to state 43 |
||
1382 | net_decl go to state 44 |
||
1383 | module_instant go to state 45 |
||
1384 | name_mod go to state 46 |
||
1385 | cont_assign go to state 47 |
||
1386 | |||
1387 | |||
1388 | |||
1389 | state 97 |
||
1390 | |||
1391 | list_of_ports -> list_of_ports ',' port . (rule 37) |
||
1392 | |||
1393 | $default reduce using rule 37 (list_of_ports) |
||
1394 | |||
1395 | |||
1396 | |||
1397 | state 98 |
||
1398 | |||
1399 | range -> '[' const_exp . ':' const_exp ']' (rule 80) |
||
1400 | |||
1401 | ':' shift, and go to state 142 |
||
1402 | |||
1403 | |||
1404 | |||
1405 | state 99 |
||
1406 | |||
1407 | input_decl -> INPUT range list_vars . ';' (rule 71) |
||
1408 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1409 | |||
1410 | ';' shift, and go to state 143 |
||
1411 | ',' shift, and go to state 101 |
||
1412 | |||
1413 | |||
1414 | |||
1415 | state 100 |
||
1416 | |||
1417 | input_decl -> INPUT list_vars ';' . (rule 70) |
||
1418 | |||
1419 | $default reduce using rule 70 (input_decl) |
||
1420 | |||
1421 | |||
1422 | |||
1423 | state 101 |
||
1424 | |||
1425 | list_vars -> list_vars ',' . NAME (rule 85) |
||
1426 | |||
1427 | NAME shift, and go to state 144 |
||
1428 | |||
1429 | |||
1430 | |||
1431 | state 102 |
||
1432 | |||
1433 | output_decl -> OUTPUT range list_vars . ';' (rule 73) |
||
1434 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1435 | |||
1436 | ';' shift, and go to state 145 |
||
1437 | ',' shift, and go to state 101 |
||
1438 | |||
1439 | |||
1440 | |||
1441 | state 103 |
||
1442 | |||
1443 | output_decl -> OUTPUT list_vars ';' . (rule 72) |
||
1444 | |||
1445 | $default reduce using rule 72 (output_decl) |
||
1446 | |||
1447 | |||
1448 | |||
1449 | state 104 |
||
1450 | |||
1451 | inout_decl -> INOUT range list_vars . ';' (rule 75) |
||
1452 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1453 | |||
1454 | ';' shift, and go to state 146 |
||
1455 | ',' shift, and go to state 101 |
||
1456 | |||
1457 | |||
1458 | |||
1459 | state 105 |
||
1460 | |||
1461 | inout_decl -> INOUT list_vars ';' . (rule 74) |
||
1462 | |||
1463 | $default reduce using rule 74 (inout_decl) |
||
1464 | |||
1465 | |||
1466 | |||
1467 | state 106 |
||
1468 | |||
1469 | delay -> '#' NAME . (rule 82) |
||
1470 | |||
1471 | $default reduce using rule 82 (delay) |
||
1472 | |||
1473 | |||
1474 | |||
1475 | state 107 |
||
1476 | |||
1477 | delay -> '#' number . (rule 81) |
||
1478 | |||
1479 | $default reduce using rule 81 (delay) |
||
1480 | |||
1481 | |||
1482 | |||
1483 | state 108 |
||
1484 | |||
1485 | net_decl -> NETTYPE range delay . list_vars ';' (rule 79) |
||
1486 | |||
1487 | NAME shift, and go to state 53 |
||
1488 | |||
1489 | list_vars go to state 147 |
||
1490 | |||
1491 | |||
1492 | |||
1493 | state 109 |
||
1494 | |||
1495 | net_decl -> NETTYPE range list_vars . ';' (rule 77) |
||
1496 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1497 | |||
1498 | ';' shift, and go to state 148 |
||
1499 | ',' shift, and go to state 101 |
||
1500 | |||
1501 | |||
1502 | |||
1503 | state 110 |
||
1504 | |||
1505 | net_decl -> NETTYPE delay list_vars . ';' (rule 78) |
||
1506 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1507 | |||
1508 | ';' shift, and go to state 149 |
||
1509 | ',' shift, and go to state 101 |
||
1510 | |||
1511 | |||
1512 | |||
1513 | state 111 |
||
1514 | |||
1515 | net_decl -> NETTYPE list_vars ';' . (rule 76) |
||
1516 | |||
1517 | $default reduce using rule 76 (net_decl) |
||
1518 | |||
1519 | |||
1520 | |||
1521 | state 112 |
||
1522 | |||
1523 | lvalue -> NAME '[' . exp ']' (rule 114) |
||
1524 | |||
1525 | NAME shift, and go to state 88 |
||
1526 | NUMBER shift, and go to state 89 |
||
1527 | UNARY_OP shift, and go to state 90 |
||
1528 | '{' shift, and go to state 67 |
||
1529 | |||
1530 | concatenation go to state 92 |
||
1531 | exp go to state 150 |
||
1532 | primary go to state 94 |
||
1533 | number go to state 95 |
||
1534 | |||
1535 | |||
1536 | |||
1537 | state 113 |
||
1538 | |||
1539 | dr_strength -> '(' STRENGTH0 . ',' STRENGTH1 ')' (rule 83) |
||
1540 | |||
1541 | ',' shift, and go to state 151 |
||
1542 | |||
1543 | |||
1544 | |||
1545 | state 114 |
||
1546 | |||
1547 | dr_strength -> '(' STRENGTH1 . ',' STRENGTH0 ')' (rule 84) |
||
1548 | |||
1549 | ',' shift, and go to state 152 |
||
1550 | |||
1551 | |||
1552 | |||
1553 | state 115 |
||
1554 | |||
1555 | concatenation -> '{' exp_list . '}' (rule 117) |
||
1556 | exp_list -> exp_list . ',' exp (rule 118) |
||
1557 | |||
1558 | ',' shift, and go to state 153 |
||
1559 | '}' shift, and go to state 154 |
||
1560 | |||
1561 | |||
1562 | |||
1563 | state 116 |
||
1564 | |||
1565 | exp_list -> exp . (rule 119) |
||
1566 | exp -> exp . BIN_OP exp (rule 123) |
||
1567 | |||
1568 | BIN_OP shift, and go to state 140 |
||
1569 | |||
1570 | $default reduce using rule 119 (exp_list) |
||
1571 | |||
1572 | |||
1573 | |||
1574 | state 117 |
||
1575 | |||
1576 | cont_assign -> ASSIGN delay list_assigns . ';' (rule 107) |
||
1577 | list_assigns -> list_assigns . ',' assignment (rule 109) |
||
1578 | |||
1579 | ';' shift, and go to state 155 |
||
1580 | ',' shift, and go to state 121 |
||
1581 | |||
1582 | |||
1583 | |||
1584 | state 118 |
||
1585 | |||
1586 | cont_assign -> ASSIGN dr_strength delay . list_assigns ';' (rule 108) |
||
1587 | |||
1588 | NAME shift, and go to state 65 |
||
1589 | '{' shift, and go to state 67 |
||
1590 | |||
1591 | list_assigns go to state 156 |
||
1592 | assignment go to state 71 |
||
1593 | lvalue go to state 72 |
||
1594 | concatenation go to state 73 |
||
1595 | |||
1596 | |||
1597 | |||
1598 | state 119 |
||
1599 | |||
1600 | cont_assign -> ASSIGN dr_strength list_assigns . ';' (rule 106) |
||
1601 | list_assigns -> list_assigns . ',' assignment (rule 109) |
||
1602 | |||
1603 | ';' shift, and go to state 157 |
||
1604 | ',' shift, and go to state 121 |
||
1605 | |||
1606 | |||
1607 | |||
1608 | state 120 |
||
1609 | |||
1610 | cont_assign -> ASSIGN list_assigns ';' . (rule 105) |
||
1611 | |||
1612 | $default reduce using rule 105 (cont_assign) |
||
1613 | |||
1614 | |||
1615 | |||
1616 | state 121 |
||
1617 | |||
1618 | list_assigns -> list_assigns ',' . assignment (rule 109) |
||
1619 | |||
1620 | NAME shift, and go to state 65 |
||
1621 | '{' shift, and go to state 67 |
||
1622 | |||
1623 | assignment go to state 158 |
||
1624 | lvalue go to state 72 |
||
1625 | concatenation go to state 73 |
||
1626 | |||
1627 | |||
1628 | |||
1629 | state 122 |
||
1630 | |||
1631 | assignment -> lvalue '=' . exp (rule 111) |
||
1632 | assignment -> lvalue '=' . '(' exp ')' (rule 112) |
||
1633 | |||
1634 | NAME shift, and go to state 88 |
||
1635 | NUMBER shift, and go to state 89 |
||
1636 | UNARY_OP shift, and go to state 90 |
||
1637 | '(' shift, and go to state 159 |
||
1638 | '{' shift, and go to state 67 |
||
1639 | |||
1640 | concatenation go to state 92 |
||
1641 | exp go to state 160 |
||
1642 | primary go to state 94 |
||
1643 | number go to state 95 |
||
1644 | |||
1645 | |||
1646 | |||
1647 | state 123 |
||
1648 | |||
1649 | gate_instant -> NAME '(' . exp ')' (rule 69) |
||
1650 | |||
1651 | NAME shift, and go to state 88 |
||
1652 | NUMBER shift, and go to state 89 |
||
1653 | UNARY_OP shift, and go to state 90 |
||
1654 | '{' shift, and go to state 67 |
||
1655 | |||
1656 | concatenation go to state 92 |
||
1657 | exp go to state 161 |
||
1658 | primary go to state 94 |
||
1659 | number go to state 95 |
||
1660 | |||
1661 | |||
1662 | |||
1663 | state 124 |
||
1664 | |||
1665 | gate_decl -> GATETYPE delay gate_instant . (rule 67) |
||
1666 | |||
1667 | $default reduce using rule 67 (gate_decl) |
||
1668 | |||
1669 | |||
1670 | |||
1671 | state 125 |
||
1672 | |||
1673 | gate_decl -> GATETYPE dr_strength gate_instant . (rule 66) |
||
1674 | |||
1675 | $default reduce using rule 66 (gate_decl) |
||
1676 | |||
1677 | |||
1678 | |||
1679 | state 126 |
||
1680 | |||
1681 | gate_decl -> GATETYPE dr_strength delay . gate_instant (rule 68) |
||
1682 | |||
1683 | NAME shift, and go to state 74 |
||
1684 | |||
1685 | gate_instant go to state 162 |
||
1686 | |||
1687 | |||
1688 | |||
1689 | state 127 |
||
1690 | |||
1691 | par_val -> '#' '(' . exp ')' (rule 104) |
||
1692 | |||
1693 | NAME shift, and go to state 88 |
||
1694 | NUMBER shift, and go to state 89 |
||
1695 | UNARY_OP shift, and go to state 90 |
||
1696 | '{' shift, and go to state 67 |
||
1697 | |||
1698 | concatenation go to state 92 |
||
1699 | exp go to state 163 |
||
1700 | primary go to state 94 |
||
1701 | number go to state 95 |
||
1702 | |||
1703 | |||
1704 | |||
1705 | state 128 |
||
1706 | |||
1707 | module_instant -> name_mod mod_inst_list ';' . (rule 87) |
||
1708 | |||
1709 | $default reduce using rule 87 (module_instant) |
||
1710 | |||
1711 | |||
1712 | |||
1713 | state 129 |
||
1714 | |||
1715 | mod_inst_list -> mod_inst_list ',' . mod_inst (rule 90) |
||
1716 | |||
1717 | NAME shift, and go to state 80 |
||
1718 | |||
1719 | mod_inst go to state 164 |
||
1720 | reference go to state 84 |
||
1721 | |||
1722 | |||
1723 | |||
1724 | state 130 |
||
1725 | |||
1726 | mod_inst -> reference '(' . list_mod_conn ')' (rule 92) |
||
1727 | mod_inst -> reference '(' . list_nam_conn ')' (rule 93) |
||
1728 | |||
1729 | NAME shift, and go to state 88 |
||
1730 | NUMBER shift, and go to state 89 |
||
1731 | UNARY_OP shift, and go to state 90 |
||
1732 | '.' shift, and go to state 165 |
||
1733 | '{' shift, and go to state 67 |
||
1734 | |||
1735 | list_mod_conn go to state 166 |
||
1736 | list_nam_conn go to state 167 |
||
1737 | nam_conn go to state 168 |
||
1738 | concatenation go to state 92 |
||
1739 | exp go to state 169 |
||
1740 | primary go to state 94 |
||
1741 | number go to state 95 |
||
1742 | |||
1743 | |||
1744 | |||
1745 | state 131 |
||
1746 | |||
1747 | module_instant -> name_mod par_val mod_inst_list . ';' (rule 88) |
||
1748 | mod_inst_list -> mod_inst_list . ',' mod_inst (rule 90) |
||
1749 | |||
1750 | ';' shift, and go to state 170 |
||
1751 | ',' shift, and go to state 129 |
||
1752 | |||
1753 | |||
1754 | |||
1755 | state 132 |
||
1756 | |||
1757 | primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' . prim_body ENDPRIM (rule 6) |
||
1758 | |||
1759 | INPUT shift, and go to state 18 |
||
1760 | OUTPUT shift, and go to state 19 |
||
1761 | REG shift, and go to state 25 |
||
1762 | |||
1763 | prim_body go to state 171 |
||
1764 | UDP_decl go to state 172 |
||
1765 | reg_decl go to state 173 |
||
1766 | input_decl go to state 174 |
||
1767 | output_decl go to state 175 |
||
1768 | |||
1769 | |||
1770 | |||
1771 | state 133 |
||
1772 | |||
1773 | list_of_vars -> list_of_vars ',' NAME . (rule 7) |
||
1774 | |||
1775 | $default reduce using rule 7 (list_of_vars) |
||
1776 | |||
1777 | |||
1778 | |||
1779 | state 134 |
||
1780 | |||
1781 | primary -> NAME '[' . exp ']' (rule 125) |
||
1782 | |||
1783 | NAME shift, and go to state 88 |
||
1784 | NUMBER shift, and go to state 89 |
||
1785 | UNARY_OP shift, and go to state 90 |
||
1786 | '{' shift, and go to state 67 |
||
1787 | |||
1788 | concatenation go to state 92 |
||
1789 | exp go to state 176 |
||
1790 | primary go to state 94 |
||
1791 | number go to state 95 |
||
1792 | |||
1793 | |||
1794 | |||
1795 | state 135 |
||
1796 | |||
1797 | number -> NUMBER ''' . 'b' NUMBER (rule 129) |
||
1798 | number -> NUMBER ''' . 'd' NUMBER (rule 130) |
||
1799 | number -> NUMBER ''' . 'o' NUMBER (rule 131) |
||
1800 | |||
1801 | 'b' shift, and go to state 177 |
||
1802 | 'd' shift, and go to state 178 |
||
1803 | 'o' shift, and go to state 179 |
||
1804 | |||
1805 | |||
1806 | |||
1807 | state 136 |
||
1808 | |||
1809 | exp -> UNARY_OP '(' . exp ')' (rule 122) |
||
1810 | |||
1811 | NAME shift, and go to state 88 |
||
1812 | NUMBER shift, and go to state 89 |
||
1813 | UNARY_OP shift, and go to state 90 |
||
1814 | '{' shift, and go to state 67 |
||
1815 | |||
1816 | concatenation go to state 92 |
||
1817 | exp go to state 180 |
||
1818 | primary go to state 94 |
||
1819 | number go to state 95 |
||
1820 | |||
1821 | |||
1822 | |||
1823 | state 137 |
||
1824 | |||
1825 | exp -> UNARY_OP primary . (rule 121) |
||
1826 | |||
1827 | $default reduce using rule 121 (exp) |
||
1828 | |||
1829 | |||
1830 | |||
1831 | state 138 |
||
1832 | |||
1833 | port -> NAME '[' const_exp ':' . const_exp ']' (rule 41) |
||
1834 | |||
1835 | NAME shift, and go to state 88 |
||
1836 | NUMBER shift, and go to state 89 |
||
1837 | UNARY_OP shift, and go to state 90 |
||
1838 | '{' shift, and go to state 67 |
||
1839 | |||
1840 | const_exp go to state 181 |
||
1841 | concatenation go to state 92 |
||
1842 | exp go to state 93 |
||
1843 | primary go to state 94 |
||
1844 | number go to state 95 |
||
1845 | |||
1846 | |||
1847 | |||
1848 | state 139 |
||
1849 | |||
1850 | port -> NAME '[' const_exp ']' . (rule 40) |
||
1851 | |||
1852 | $default reduce using rule 40 (port) |
||
1853 | |||
1854 | |||
1855 | |||
1856 | state 140 |
||
1857 | |||
1858 | exp -> exp BIN_OP . exp (rule 123) |
||
1859 | |||
1860 | NAME shift, and go to state 88 |
||
1861 | NUMBER shift, and go to state 89 |
||
1862 | UNARY_OP shift, and go to state 90 |
||
1863 | '{' shift, and go to state 67 |
||
1864 | |||
1865 | concatenation go to state 92 |
||
1866 | exp go to state 182 |
||
1867 | primary go to state 94 |
||
1868 | number go to state 95 |
||
1869 | |||
1870 | |||
1871 | |||
1872 | state 141 |
||
1873 | |||
1874 | module -> MODULE NAME '(' list_of_ports ')' ';' mod_body . ENDMODULE (rule 36) |
||
1875 | mod_body -> mod_body . module_item (rule 42) |
||
1876 | |||
1877 | NAME shift, and go to state 17 |
||
1878 | ENDMODULE shift, and go to state 183 |
||
1879 | INPUT shift, and go to state 18 |
||
1880 | OUTPUT shift, and go to state 19 |
||
1881 | INOUT shift, and go to state 20 |
||
1882 | NETTYPE shift, and go to state 21 |
||
1883 | ASSIGN shift, and go to state 22 |
||
1884 | GATETYPE shift, and go to state 23 |
||
1885 | PARAMETER shift, and go to state 24 |
||
1886 | REG shift, and go to state 25 |
||
1887 | TIME shift, and go to state 26 |
||
1888 | INTEGER shift, and go to state 27 |
||
1889 | REAL shift, and go to state 28 |
||
1890 | EVENT shift, and go to state 29 |
||
1891 | DEFPARAM shift, and go to state 30 |
||
1892 | |||
1893 | module_item go to state 79 |
||
1894 | param_decl go to state 33 |
||
1895 | reg_decl go to state 34 |
||
1896 | time_decl go to state 35 |
||
1897 | integer_decl go to state 36 |
||
1898 | real_decl go to state 37 |
||
1899 | event_decl go to state 38 |
||
1900 | defparm_decl go to state 39 |
||
1901 | gate_decl go to state 40 |
||
1902 | input_decl go to state 41 |
||
1903 | output_decl go to state 42 |
||
1904 | inout_decl go to state 43 |
||
1905 | net_decl go to state 44 |
||
1906 | module_instant go to state 45 |
||
1907 | name_mod go to state 46 |
||
1908 | cont_assign go to state 47 |
||
1909 | |||
1910 | |||
1911 | |||
1912 | state 142 |
||
1913 | |||
1914 | range -> '[' const_exp ':' . const_exp ']' (rule 80) |
||
1915 | |||
1916 | NAME shift, and go to state 88 |
||
1917 | NUMBER shift, and go to state 89 |
||
1918 | UNARY_OP shift, and go to state 90 |
||
1919 | '{' shift, and go to state 67 |
||
1920 | |||
1921 | const_exp go to state 184 |
||
1922 | concatenation go to state 92 |
||
1923 | exp go to state 93 |
||
1924 | primary go to state 94 |
||
1925 | number go to state 95 |
||
1926 | |||
1927 | |||
1928 | |||
1929 | state 143 |
||
1930 | |||
1931 | input_decl -> INPUT range list_vars ';' . (rule 71) |
||
1932 | |||
1933 | $default reduce using rule 71 (input_decl) |
||
1934 | |||
1935 | |||
1936 | |||
1937 | state 144 |
||
1938 | |||
1939 | list_vars -> list_vars ',' NAME . (rule 85) |
||
1940 | |||
1941 | $default reduce using rule 85 (list_vars) |
||
1942 | |||
1943 | |||
1944 | |||
1945 | state 145 |
||
1946 | |||
1947 | output_decl -> OUTPUT range list_vars ';' . (rule 73) |
||
1948 | |||
1949 | $default reduce using rule 73 (output_decl) |
||
1950 | |||
1951 | |||
1952 | |||
1953 | state 146 |
||
1954 | |||
1955 | inout_decl -> INOUT range list_vars ';' . (rule 75) |
||
1956 | |||
1957 | $default reduce using rule 75 (inout_decl) |
||
1958 | |||
1959 | |||
1960 | |||
1961 | state 147 |
||
1962 | |||
1963 | net_decl -> NETTYPE range delay list_vars . ';' (rule 79) |
||
1964 | list_vars -> list_vars . ',' NAME (rule 85) |
||
1965 | |||
1966 | ';' shift, and go to state 185 |
||
1967 | ',' shift, and go to state 101 |
||
1968 | |||
1969 | |||
1970 | |||
1971 | state 148 |
||
1972 | |||
1973 | net_decl -> NETTYPE range list_vars ';' . (rule 77) |
||
1974 | |||
1975 | $default reduce using rule 77 (net_decl) |
||
1976 | |||
1977 | |||
1978 | |||
1979 | state 149 |
||
1980 | |||
1981 | net_decl -> NETTYPE delay list_vars ';' . (rule 78) |
||
1982 | |||
1983 | $default reduce using rule 78 (net_decl) |
||
1984 | |||
1985 | |||
1986 | |||
1987 | state 150 |
||
1988 | |||
1989 | lvalue -> NAME '[' exp . ']' (rule 114) |
||
1990 | exp -> exp . BIN_OP exp (rule 123) |
||
1991 | |||
1992 | BIN_OP shift, and go to state 140 |
||
1993 | ']' shift, and go to state 186 |
||
1994 | |||
1995 | |||
1996 | |||
1997 | state 151 |
||
1998 | |||
1999 | dr_strength -> '(' STRENGTH0 ',' . STRENGTH1 ')' (rule 83) |
||
2000 | |||
2001 | STRENGTH1 shift, and go to state 187 |
||
2002 | |||
2003 | |||
2004 | |||
2005 | state 152 |
||
2006 | |||
2007 | dr_strength -> '(' STRENGTH1 ',' . STRENGTH0 ')' (rule 84) |
||
2008 | |||
2009 | STRENGTH0 shift, and go to state 188 |
||
2010 | |||
2011 | |||
2012 | |||
2013 | state 153 |
||
2014 | |||
2015 | exp_list -> exp_list ',' . exp (rule 118) |
||
2016 | |||
2017 | NAME shift, and go to state 88 |
||
2018 | NUMBER shift, and go to state 89 |
||
2019 | UNARY_OP shift, and go to state 90 |
||
2020 | '{' shift, and go to state 67 |
||
2021 | |||
2022 | concatenation go to state 92 |
||
2023 | exp go to state 189 |
||
2024 | primary go to state 94 |
||
2025 | number go to state 95 |
||
2026 | |||
2027 | |||
2028 | |||
2029 | state 154 |
||
2030 | |||
2031 | concatenation -> '{' exp_list '}' . (rule 117) |
||
2032 | |||
2033 | $default reduce using rule 117 (concatenation) |
||
2034 | |||
2035 | |||
2036 | |||
2037 | state 155 |
||
2038 | |||
2039 | cont_assign -> ASSIGN delay list_assigns ';' . (rule 107) |
||
2040 | |||
2041 | $default reduce using rule 107 (cont_assign) |
||
2042 | |||
2043 | |||
2044 | |||
2045 | state 156 |
||
2046 | |||
2047 | cont_assign -> ASSIGN dr_strength delay list_assigns . ';' (rule 108) |
||
2048 | list_assigns -> list_assigns . ',' assignment (rule 109) |
||
2049 | |||
2050 | ';' shift, and go to state 190 |
||
2051 | ',' shift, and go to state 121 |
||
2052 | |||
2053 | |||
2054 | |||
2055 | state 157 |
||
2056 | |||
2057 | cont_assign -> ASSIGN dr_strength list_assigns ';' . (rule 106) |
||
2058 | |||
2059 | $default reduce using rule 106 (cont_assign) |
||
2060 | |||
2061 | |||
2062 | |||
2063 | state 158 |
||
2064 | |||
2065 | list_assigns -> list_assigns ',' assignment . (rule 109) |
||
2066 | |||
2067 | $default reduce using rule 109 (list_assigns) |
||
2068 | |||
2069 | |||
2070 | |||
2071 | state 159 |
||
2072 | |||
2073 | assignment -> lvalue '=' '(' . exp ')' (rule 112) |
||
2074 | |||
2075 | NAME shift, and go to state 88 |
||
2076 | NUMBER shift, and go to state 89 |
||
2077 | UNARY_OP shift, and go to state 90 |
||
2078 | '{' shift, and go to state 67 |
||
2079 | |||
2080 | concatenation go to state 92 |
||
2081 | exp go to state 191 |
||
2082 | primary go to state 94 |
||
2083 | number go to state 95 |
||
2084 | |||
2085 | |||
2086 | |||
2087 | state 160 |
||
2088 | |||
2089 | assignment -> lvalue '=' exp . (rule 111) |
||
2090 | exp -> exp . BIN_OP exp (rule 123) |
||
2091 | |||
2092 | BIN_OP shift, and go to state 140 |
||
2093 | |||
2094 | $default reduce using rule 111 (assignment) |
||
2095 | |||
2096 | |||
2097 | |||
2098 | state 161 |
||
2099 | |||
2100 | gate_instant -> NAME '(' exp . ')' (rule 69) |
||
2101 | exp -> exp . BIN_OP exp (rule 123) |
||
2102 | |||
2103 | BIN_OP shift, and go to state 140 |
||
2104 | ')' shift, and go to state 192 |
||
2105 | |||
2106 | |||
2107 | |||
2108 | state 162 |
||
2109 | |||
2110 | gate_decl -> GATETYPE dr_strength delay gate_instant . (rule 68) |
||
2111 | |||
2112 | $default reduce using rule 68 (gate_decl) |
||
2113 | |||
2114 | |||
2115 | |||
2116 | state 163 |
||
2117 | |||
2118 | par_val -> '#' '(' exp . ')' (rule 104) |
||
2119 | exp -> exp . BIN_OP exp (rule 123) |
||
2120 | |||
2121 | BIN_OP shift, and go to state 140 |
||
2122 | ')' shift, and go to state 193 |
||
2123 | |||
2124 | |||
2125 | |||
2126 | state 164 |
||
2127 | |||
2128 | mod_inst_list -> mod_inst_list ',' mod_inst . (rule 90) |
||
2129 | |||
2130 | $default reduce using rule 90 (mod_inst_list) |
||
2131 | |||
2132 | |||
2133 | |||
2134 | state 165 |
||
2135 | |||
2136 | nam_conn -> '.' . NAME '(' sig_nam ')' (rule 99) |
||
2137 | |||
2138 | NAME shift, and go to state 194 |
||
2139 | |||
2140 | |||
2141 | |||
2142 | state 166 |
||
2143 | |||
2144 | mod_inst -> reference '(' list_mod_conn . ')' (rule 92) |
||
2145 | list_mod_conn -> list_mod_conn . ',' exp (rule 95) |
||
2146 | |||
2147 | ')' shift, and go to state 195 |
||
2148 | ',' shift, and go to state 196 |
||
2149 | |||
2150 | |||
2151 | |||
2152 | state 167 |
||
2153 | |||
2154 | mod_inst -> reference '(' list_nam_conn . ')' (rule 93) |
||
2155 | list_nam_conn -> list_nam_conn . ',' nam_conn (rule 97) |
||
2156 | |||
2157 | ')' shift, and go to state 197 |
||
2158 | ',' shift, and go to state 198 |
||
2159 | |||
2160 | |||
2161 | |||
2162 | state 168 |
||
2163 | |||
2164 | list_nam_conn -> nam_conn . (rule 98) |
||
2165 | |||
2166 | $default reduce using rule 98 (list_nam_conn) |
||
2167 | |||
2168 | |||
2169 | |||
2170 | state 169 |
||
2171 | |||
2172 | list_mod_conn -> exp . (rule 96) |
||
2173 | exp -> exp . BIN_OP exp (rule 123) |
||
2174 | |||
2175 | BIN_OP shift, and go to state 140 |
||
2176 | |||
2177 | $default reduce using rule 96 (list_mod_conn) |
||
2178 | |||
2179 | |||
2180 | |||
2181 | state 170 |
||
2182 | |||
2183 | module_instant -> name_mod par_val mod_inst_list ';' . (rule 88) |
||
2184 | |||
2185 | $default reduce using rule 88 (module_instant) |
||
2186 | |||
2187 | |||
2188 | |||
2189 | state 171 |
||
2190 | |||
2191 | primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body . ENDPRIM (rule 6) |
||
2192 | |||
2193 | ENDPRIM shift, and go to state 199 |
||
2194 | |||
2195 | |||
2196 | |||
2197 | state 172 |
||
2198 | |||
2199 | prim_body -> UDP_decl . UDP_init table_def (rule 9) |
||
2200 | prim_body -> UDP_decl . table_def (rule 10) |
||
2201 | |||
2202 | INITIAL shift, and go to state 200 |
||
2203 | TABLE shift, and go to state 201 |
||
2204 | |||
2205 | UDP_init go to state 202 |
||
2206 | table_def go to state 203 |
||
2207 | |||
2208 | |||
2209 | |||
2210 | state 173 |
||
2211 | |||
2212 | UDP_decl -> reg_decl . (rule 13) |
||
2213 | |||
2214 | $default reduce using rule 13 (UDP_decl) |
||
2215 | |||
2216 | |||
2217 | |||
2218 | state 174 |
||
2219 | |||
2220 | UDP_decl -> input_decl . (rule 12) |
||
2221 | |||
2222 | $default reduce using rule 12 (UDP_decl) |
||
2223 | |||
2224 | |||
2225 | |||
2226 | state 175 |
||
2227 | |||
2228 | UDP_decl -> output_decl . (rule 11) |
||
2229 | |||
2230 | $default reduce using rule 11 (UDP_decl) |
||
2231 | |||
2232 | |||
2233 | |||
2234 | state 176 |
||
2235 | |||
2236 | exp -> exp . BIN_OP exp (rule 123) |
||
2237 | primary -> NAME '[' exp . ']' (rule 125) |
||
2238 | |||
2239 | BIN_OP shift, and go to state 140 |
||
2240 | ']' shift, and go to state 204 |
||
2241 | |||
2242 | |||
2243 | |||
2244 | state 177 |
||
2245 | |||
2246 | number -> NUMBER ''' 'b' . NUMBER (rule 129) |
||
2247 | |||
2248 | NUMBER shift, and go to state 205 |
||
2249 | |||
2250 | |||
2251 | |||
2252 | state 178 |
||
2253 | |||
2254 | number -> NUMBER ''' 'd' . NUMBER (rule 130) |
||
2255 | |||
2256 | NUMBER shift, and go to state 206 |
||
2257 | |||
2258 | |||
2259 | |||
2260 | state 179 |
||
2261 | |||
2262 | number -> NUMBER ''' 'o' . NUMBER (rule 131) |
||
2263 | |||
2264 | NUMBER shift, and go to state 207 |
||
2265 | |||
2266 | |||
2267 | |||
2268 | state 180 |
||
2269 | |||
2270 | exp -> UNARY_OP '(' exp . ')' (rule 122) |
||
2271 | exp -> exp . BIN_OP exp (rule 123) |
||
2272 | |||
2273 | BIN_OP shift, and go to state 140 |
||
2274 | ')' shift, and go to state 208 |
||
2275 | |||
2276 | |||
2277 | |||
2278 | state 181 |
||
2279 | |||
2280 | port -> NAME '[' const_exp ':' const_exp . ']' (rule 41) |
||
2281 | |||
2282 | ']' shift, and go to state 209 |
||
2283 | |||
2284 | |||
2285 | |||
2286 | state 182 |
||
2287 | |||
2288 | exp -> exp . BIN_OP exp (rule 123) |
||
2289 | exp -> exp BIN_OP exp . (rule 123) |
||
2290 | |||
2291 | |||
2292 | $default reduce using rule 123 (exp) |
||
2293 | |||
2294 | |||
2295 | |||
2296 | state 183 |
||
2297 | |||
2298 | module -> MODULE NAME '(' list_of_ports ')' ';' mod_body ENDMODULE . (rule 36) |
||
2299 | |||
2300 | $default reduce using rule 36 (module) |
||
2301 | |||
2302 | |||
2303 | |||
2304 | state 184 |
||
2305 | |||
2306 | range -> '[' const_exp ':' const_exp . ']' (rule 80) |
||
2307 | |||
2308 | ']' shift, and go to state 210 |
||
2309 | |||
2310 | |||
2311 | |||
2312 | state 185 |
||
2313 | |||
2314 | net_decl -> NETTYPE range delay list_vars ';' . (rule 79) |
||
2315 | |||
2316 | $default reduce using rule 79 (net_decl) |
||
2317 | |||
2318 | |||
2319 | |||
2320 | state 186 |
||
2321 | |||
2322 | lvalue -> NAME '[' exp ']' . (rule 114) |
||
2323 | |||
2324 | $default reduce using rule 114 (lvalue) |
||
2325 | |||
2326 | |||
2327 | |||
2328 | state 187 |
||
2329 | |||
2330 | dr_strength -> '(' STRENGTH0 ',' STRENGTH1 . ')' (rule 83) |
||
2331 | |||
2332 | ')' shift, and go to state 211 |
||
2333 | |||
2334 | |||
2335 | |||
2336 | state 188 |
||
2337 | |||
2338 | dr_strength -> '(' STRENGTH1 ',' STRENGTH0 . ')' (rule 84) |
||
2339 | |||
2340 | ')' shift, and go to state 212 |
||
2341 | |||
2342 | |||
2343 | |||
2344 | state 189 |
||
2345 | |||
2346 | exp_list -> exp_list ',' exp . (rule 118) |
||
2347 | exp -> exp . BIN_OP exp (rule 123) |
||
2348 | |||
2349 | BIN_OP shift, and go to state 140 |
||
2350 | |||
2351 | $default reduce using rule 118 (exp_list) |
||
2352 | |||
2353 | |||
2354 | |||
2355 | state 190 |
||
2356 | |||
2357 | cont_assign -> ASSIGN dr_strength delay list_assigns ';' . (rule 108) |
||
2358 | |||
2359 | $default reduce using rule 108 (cont_assign) |
||
2360 | |||
2361 | |||
2362 | |||
2363 | state 191 |
||
2364 | |||
2365 | assignment -> lvalue '=' '(' exp . ')' (rule 112) |
||
2366 | exp -> exp . BIN_OP exp (rule 123) |
||
2367 | |||
2368 | BIN_OP shift, and go to state 140 |
||
2369 | ')' shift, and go to state 213 |
||
2370 | |||
2371 | |||
2372 | |||
2373 | state 192 |
||
2374 | |||
2375 | gate_instant -> NAME '(' exp ')' . (rule 69) |
||
2376 | |||
2377 | $default reduce using rule 69 (gate_instant) |
||
2378 | |||
2379 | |||
2380 | |||
2381 | state 193 |
||
2382 | |||
2383 | par_val -> '#' '(' exp ')' . (rule 104) |
||
2384 | |||
2385 | $default reduce using rule 104 (par_val) |
||
2386 | |||
2387 | |||
2388 | |||
2389 | state 194 |
||
2390 | |||
2391 | nam_conn -> '.' NAME . '(' sig_nam ')' (rule 99) |
||
2392 | |||
2393 | '(' shift, and go to state 214 |
||
2394 | |||
2395 | |||
2396 | |||
2397 | state 195 |
||
2398 | |||
2399 | mod_inst -> reference '(' list_mod_conn ')' . (rule 92) |
||
2400 | |||
2401 | $default reduce using rule 92 (mod_inst) |
||
2402 | |||
2403 | |||
2404 | |||
2405 | state 196 |
||
2406 | |||
2407 | list_mod_conn -> list_mod_conn ',' . exp (rule 95) |
||
2408 | |||
2409 | NAME shift, and go to state 88 |
||
2410 | NUMBER shift, and go to state 89 |
||
2411 | UNARY_OP shift, and go to state 90 |
||
2412 | '{' shift, and go to state 67 |
||
2413 | |||
2414 | concatenation go to state 92 |
||
2415 | exp go to state 215 |
||
2416 | primary go to state 94 |
||
2417 | number go to state 95 |
||
2418 | |||
2419 | |||
2420 | |||
2421 | state 197 |
||
2422 | |||
2423 | mod_inst -> reference '(' list_nam_conn ')' . (rule 93) |
||
2424 | |||
2425 | $default reduce using rule 93 (mod_inst) |
||
2426 | |||
2427 | |||
2428 | |||
2429 | state 198 |
||
2430 | |||
2431 | list_nam_conn -> list_nam_conn ',' . nam_conn (rule 97) |
||
2432 | |||
2433 | '.' shift, and go to state 165 |
||
2434 | |||
2435 | nam_conn go to state 216 |
||
2436 | |||
2437 | |||
2438 | |||
2439 | state 199 |
||
2440 | |||
2441 | primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body ENDPRIM . (rule 6) |
||
2442 | |||
2443 | $default reduce using rule 6 (primitive) |
||
2444 | |||
2445 | |||
2446 | |||
2447 | state 200 |
||
2448 | |||
2449 | UDP_init -> INITIAL . NAME '=' init_val (rule 14) |
||
2450 | |||
2451 | NAME shift, and go to state 217 |
||
2452 | |||
2453 | |||
2454 | |||
2455 | state 201 |
||
2456 | |||
2457 | table_def -> TABLE . table_entries ENDTABLE (rule 20) |
||
2458 | |||
2459 | LEV_SYM shift, and go to state 218 |
||
2460 | EDGE_SYM shift, and go to state 219 |
||
2461 | '(' shift, and go to state 220 |
||
2462 | |||
2463 | table_entries go to state 221 |
||
2464 | combin_entry go to state 222 |
||
2465 | seq_entry go to state 223 |
||
2466 | level_in_list go to state 224 |
||
2467 | edge_in_list go to state 225 |
||
2468 | edge go to state 226 |
||
2469 | |||
2470 | |||
2471 | |||
2472 | state 202 |
||
2473 | |||
2474 | prim_body -> UDP_decl UDP_init . table_def (rule 9) |
||
2475 | |||
2476 | TABLE shift, and go to state 201 |
||
2477 | |||
2478 | table_def go to state 227 |
||
2479 | |||
2480 | |||
2481 | |||
2482 | state 203 |
||
2483 | |||
2484 | prim_body -> UDP_decl table_def . (rule 10) |
||
2485 | |||
2486 | $default reduce using rule 10 (prim_body) |
||
2487 | |||
2488 | |||
2489 | |||
2490 | state 204 |
||
2491 | |||
2492 | primary -> NAME '[' exp ']' . (rule 125) |
||
2493 | |||
2494 | $default reduce using rule 125 (primary) |
||
2495 | |||
2496 | |||
2497 | |||
2498 | state 205 |
||
2499 | |||
2500 | number -> NUMBER ''' 'b' NUMBER . (rule 129) |
||
2501 | |||
2502 | $default reduce using rule 129 (number) |
||
2503 | |||
2504 | |||
2505 | |||
2506 | state 206 |
||
2507 | |||
2508 | number -> NUMBER ''' 'd' NUMBER . (rule 130) |
||
2509 | |||
2510 | $default reduce using rule 130 (number) |
||
2511 | |||
2512 | |||
2513 | |||
2514 | state 207 |
||
2515 | |||
2516 | number -> NUMBER ''' 'o' NUMBER . (rule 131) |
||
2517 | |||
2518 | $default reduce using rule 131 (number) |
||
2519 | |||
2520 | |||
2521 | |||
2522 | state 208 |
||
2523 | |||
2524 | exp -> UNARY_OP '(' exp ')' . (rule 122) |
||
2525 | |||
2526 | $default reduce using rule 122 (exp) |
||
2527 | |||
2528 | |||
2529 | |||
2530 | state 209 |
||
2531 | |||
2532 | port -> NAME '[' const_exp ':' const_exp ']' . (rule 41) |
||
2533 | |||
2534 | $default reduce using rule 41 (port) |
||
2535 | |||
2536 | |||
2537 | |||
2538 | state 210 |
||
2539 | |||
2540 | range -> '[' const_exp ':' const_exp ']' . (rule 80) |
||
2541 | |||
2542 | $default reduce using rule 80 (range) |
||
2543 | |||
2544 | |||
2545 | |||
2546 | state 211 |
||
2547 | |||
2548 | dr_strength -> '(' STRENGTH0 ',' STRENGTH1 ')' . (rule 83) |
||
2549 | |||
2550 | $default reduce using rule 83 (dr_strength) |
||
2551 | |||
2552 | |||
2553 | |||
2554 | state 212 |
||
2555 | |||
2556 | dr_strength -> '(' STRENGTH1 ',' STRENGTH0 ')' . (rule 84) |
||
2557 | |||
2558 | $default reduce using rule 84 (dr_strength) |
||
2559 | |||
2560 | |||
2561 | |||
2562 | state 213 |
||
2563 | |||
2564 | assignment -> lvalue '=' '(' exp ')' . (rule 112) |
||
2565 | |||
2566 | $default reduce using rule 112 (assignment) |
||
2567 | |||
2568 | |||
2569 | |||
2570 | state 214 |
||
2571 | |||
2572 | nam_conn -> '.' NAME '(' . sig_nam ')' (rule 99) |
||
2573 | |||
2574 | NAME shift, and go to state 228 |
||
2575 | '{' shift, and go to state 67 |
||
2576 | |||
2577 | sig_nam go to state 229 |
||
2578 | concatenation go to state 230 |
||
2579 | |||
2580 | |||
2581 | |||
2582 | state 215 |
||
2583 | |||
2584 | list_mod_conn -> list_mod_conn ',' exp . (rule 95) |
||
2585 | exp -> exp . BIN_OP exp (rule 123) |
||
2586 | |||
2587 | BIN_OP shift, and go to state 140 |
||
2588 | |||
2589 | $default reduce using rule 95 (list_mod_conn) |
||
2590 | |||
2591 | |||
2592 | |||
2593 | state 216 |
||
2594 | |||
2595 | list_nam_conn -> list_nam_conn ',' nam_conn . (rule 97) |
||
2596 | |||
2597 | $default reduce using rule 97 (list_nam_conn) |
||
2598 | |||
2599 | |||
2600 | |||
2601 | state 217 |
||
2602 | |||
2603 | UDP_init -> INITIAL NAME . '=' init_val (rule 14) |
||
2604 | |||
2605 | '=' shift, and go to state 231 |
||
2606 | |||
2607 | |||
2608 | |||
2609 | state 218 |
||
2610 | |||
2611 | level_in_list -> LEV_SYM . (rule 28) |
||
2612 | edge_in_list -> LEV_SYM . edge LEV_SYM (rule 29) |
||
2613 | |||
2614 | EDGE_SYM shift, and go to state 219 |
||
2615 | '(' shift, and go to state 220 |
||
2616 | |||
2617 | $default reduce using rule 28 (level_in_list) |
||
2618 | |||
2619 | edge go to state 232 |
||
2620 | |||
2621 | |||
2622 | |||
2623 | state 219 |
||
2624 | |||
2625 | edge -> EDGE_SYM . (rule 32) |
||
2626 | |||
2627 | $default reduce using rule 32 (edge) |
||
2628 | |||
2629 | |||
2630 | |||
2631 | state 220 |
||
2632 | |||
2633 | edge -> '(' . LEV_SYM LEV_SYM ')' (rule 31) |
||
2634 | |||
2635 | LEV_SYM shift, and go to state 233 |
||
2636 | |||
2637 | |||
2638 | |||
2639 | state 221 |
||
2640 | |||
2641 | table_def -> TABLE table_entries . ENDTABLE (rule 20) |
||
2642 | table_entries -> table_entries . combin_entry (rule 21) |
||
2643 | table_entries -> table_entries . seq_entry (rule 23) |
||
2644 | |||
2645 | ENDTABLE shift, and go to state 234 |
||
2646 | LEV_SYM shift, and go to state 218 |
||
2647 | EDGE_SYM shift, and go to state 219 |
||
2648 | '(' shift, and go to state 220 |
||
2649 | |||
2650 | combin_entry go to state 235 |
||
2651 | seq_entry go to state 236 |
||
2652 | level_in_list go to state 224 |
||
2653 | edge_in_list go to state 225 |
||
2654 | edge go to state 226 |
||
2655 | |||
2656 | |||
2657 | |||
2658 | state 222 |
||
2659 | |||
2660 | table_entries -> combin_entry . (rule 22) |
||
2661 | |||
2662 | $default reduce using rule 22 (table_entries) |
||
2663 | |||
2664 | |||
2665 | |||
2666 | state 223 |
||
2667 | |||
2668 | table_entries -> seq_entry . (rule 24) |
||
2669 | |||
2670 | $default reduce using rule 24 (table_entries) |
||
2671 | |||
2672 | |||
2673 | |||
2674 | state 224 |
||
2675 | |||
2676 | combin_entry -> level_in_list . ':' OUT_SYM ';' (rule 25) |
||
2677 | seq_entry -> level_in_list . ':' state ':' next_state ';' (rule 26) |
||
2678 | |||
2679 | ':' shift, and go to state 237 |
||
2680 | |||
2681 | |||
2682 | |||
2683 | state 225 |
||
2684 | |||
2685 | seq_entry -> edge_in_list . ':' state ':' next_state ';' (rule 27) |
||
2686 | |||
2687 | ':' shift, and go to state 238 |
||
2688 | |||
2689 | |||
2690 | |||
2691 | state 226 |
||
2692 | |||
2693 | edge_in_list -> edge . (rule 30) |
||
2694 | |||
2695 | $default reduce using rule 30 (edge_in_list) |
||
2696 | |||
2697 | |||
2698 | |||
2699 | state 227 |
||
2700 | |||
2701 | prim_body -> UDP_decl UDP_init table_def . (rule 9) |
||
2702 | |||
2703 | $default reduce using rule 9 (prim_body) |
||
2704 | |||
2705 | |||
2706 | |||
2707 | state 228 |
||
2708 | |||
2709 | sig_nam -> NAME . (rule 100) |
||
2710 | sig_nam -> NAME . '[' exp ']' (rule 101) |
||
2711 | sig_nam -> NAME . '[' exp ':' exp ']' (rule 102) |
||
2712 | |||
2713 | '[' shift, and go to state 239 |
||
2714 | |||
2715 | $default reduce using rule 100 (sig_nam) |
||
2716 | |||
2717 | |||
2718 | |||
2719 | state 229 |
||
2720 | |||
2721 | nam_conn -> '.' NAME '(' sig_nam . ')' (rule 99) |
||
2722 | |||
2723 | ')' shift, and go to state 240 |
||
2724 | |||
2725 | |||
2726 | |||
2727 | state 230 |
||
2728 | |||
2729 | sig_nam -> concatenation . (rule 103) |
||
2730 | |||
2731 | $default reduce using rule 103 (sig_nam) |
||
2732 | |||
2733 | |||
2734 | |||
2735 | state 231 |
||
2736 | |||
2737 | UDP_init -> INITIAL NAME '=' . init_val (rule 14) |
||
2738 | |||
2739 | '1' shift, and go to state 241 |
||
2740 | '0' shift, and go to state 242 |
||
2741 | |||
2742 | init_val go to state 243 |
||
2743 | |||
2744 | |||
2745 | |||
2746 | state 232 |
||
2747 | |||
2748 | edge_in_list -> LEV_SYM edge . LEV_SYM (rule 29) |
||
2749 | |||
2750 | LEV_SYM shift, and go to state 244 |
||
2751 | |||
2752 | |||
2753 | |||
2754 | state 233 |
||
2755 | |||
2756 | edge -> '(' LEV_SYM . LEV_SYM ')' (rule 31) |
||
2757 | |||
2758 | LEV_SYM shift, and go to state 245 |
||
2759 | |||
2760 | |||
2761 | |||
2762 | state 234 |
||
2763 | |||
2764 | table_def -> TABLE table_entries ENDTABLE . (rule 20) |
||
2765 | |||
2766 | $default reduce using rule 20 (table_def) |
||
2767 | |||
2768 | |||
2769 | |||
2770 | state 235 |
||
2771 | |||
2772 | table_entries -> table_entries combin_entry . (rule 21) |
||
2773 | |||
2774 | $default reduce using rule 21 (table_entries) |
||
2775 | |||
2776 | |||
2777 | |||
2778 | state 236 |
||
2779 | |||
2780 | table_entries -> table_entries seq_entry . (rule 23) |
||
2781 | |||
2782 | $default reduce using rule 23 (table_entries) |
||
2783 | |||
2784 | |||
2785 | |||
2786 | state 237 |
||
2787 | |||
2788 | combin_entry -> level_in_list ':' . OUT_SYM ';' (rule 25) |
||
2789 | seq_entry -> level_in_list ':' . state ':' next_state ';' (rule 26) |
||
2790 | |||
2791 | OUT_SYM shift, and go to state 246 |
||
2792 | LEV_SYM shift, and go to state 247 |
||
2793 | |||
2794 | state go to state 248 |
||
2795 | |||
2796 | |||
2797 | |||
2798 | state 238 |
||
2799 | |||
2800 | seq_entry -> edge_in_list ':' . state ':' next_state ';' (rule 27) |
||
2801 | |||
2802 | LEV_SYM shift, and go to state 247 |
||
2803 | |||
2804 | state go to state 249 |
||
2805 | |||
2806 | |||
2807 | |||
2808 | state 239 |
||
2809 | |||
2810 | sig_nam -> NAME '[' . exp ']' (rule 101) |
||
2811 | sig_nam -> NAME '[' . exp ':' exp ']' (rule 102) |
||
2812 | |||
2813 | NAME shift, and go to state 88 |
||
2814 | NUMBER shift, and go to state 89 |
||
2815 | UNARY_OP shift, and go to state 90 |
||
2816 | '{' shift, and go to state 67 |
||
2817 | |||
2818 | concatenation go to state 92 |
||
2819 | exp go to state 250 |
||
2820 | primary go to state 94 |
||
2821 | number go to state 95 |
||
2822 | |||
2823 | |||
2824 | |||
2825 | state 240 |
||
2826 | |||
2827 | nam_conn -> '.' NAME '(' sig_nam ')' . (rule 99) |
||
2828 | |||
2829 | $default reduce using rule 99 (nam_conn) |
||
2830 | |||
2831 | |||
2832 | |||
2833 | state 241 |
||
2834 | |||
2835 | init_val -> '1' . ''' 'b' '0' (rule 15) |
||
2836 | init_val -> '1' . ''' 'b' '1' (rule 16) |
||
2837 | init_val -> '1' . ''' 'b' 'x' (rule 17) |
||
2838 | init_val -> '1' . (rule 18) |
||
2839 | |||
2840 | ''' shift, and go to state 251 |
||
2841 | |||
2842 | $default reduce using rule 18 (init_val) |
||
2843 | |||
2844 | |||
2845 | |||
2846 | state 242 |
||
2847 | |||
2848 | init_val -> '0' . (rule 19) |
||
2849 | |||
2850 | $default reduce using rule 19 (init_val) |
||
2851 | |||
2852 | |||
2853 | |||
2854 | state 243 |
||
2855 | |||
2856 | UDP_init -> INITIAL NAME '=' init_val . (rule 14) |
||
2857 | |||
2858 | $default reduce using rule 14 (UDP_init) |
||
2859 | |||
2860 | |||
2861 | |||
2862 | state 244 |
||
2863 | |||
2864 | edge_in_list -> LEV_SYM edge LEV_SYM . (rule 29) |
||
2865 | |||
2866 | $default reduce using rule 29 (edge_in_list) |
||
2867 | |||
2868 | |||
2869 | |||
2870 | state 245 |
||
2871 | |||
2872 | edge -> '(' LEV_SYM LEV_SYM . ')' (rule 31) |
||
2873 | |||
2874 | ')' shift, and go to state 252 |
||
2875 | |||
2876 | |||
2877 | |||
2878 | state 246 |
||
2879 | |||
2880 | combin_entry -> level_in_list ':' OUT_SYM . ';' (rule 25) |
||
2881 | |||
2882 | ';' shift, and go to state 253 |
||
2883 | |||
2884 | |||
2885 | |||
2886 | state 247 |
||
2887 | |||
2888 | state -> LEV_SYM . (rule 33) |
||
2889 | |||
2890 | $default reduce using rule 33 (state) |
||
2891 | |||
2892 | |||
2893 | |||
2894 | state 248 |
||
2895 | |||
2896 | seq_entry -> level_in_list ':' state . ':' next_state ';' (rule 26) |
||
2897 | |||
2898 | ':' shift, and go to state 254 |
||
2899 | |||
2900 | |||
2901 | |||
2902 | state 249 |
||
2903 | |||
2904 | seq_entry -> edge_in_list ':' state . ':' next_state ';' (rule 27) |
||
2905 | |||
2906 | ':' shift, and go to state 255 |
||
2907 | |||
2908 | |||
2909 | |||
2910 | state 250 |
||
2911 | |||
2912 | sig_nam -> NAME '[' exp . ']' (rule 101) |
||
2913 | sig_nam -> NAME '[' exp . ':' exp ']' (rule 102) |
||
2914 | exp -> exp . BIN_OP exp (rule 123) |
||
2915 | |||
2916 | BIN_OP shift, and go to state 140 |
||
2917 | ':' shift, and go to state 256 |
||
2918 | ']' shift, and go to state 257 |
||
2919 | |||
2920 | |||
2921 | |||
2922 | state 251 |
||
2923 | |||
2924 | init_val -> '1' ''' . 'b' '0' (rule 15) |
||
2925 | init_val -> '1' ''' . 'b' '1' (rule 16) |
||
2926 | init_val -> '1' ''' . 'b' 'x' (rule 17) |
||
2927 | |||
2928 | 'b' shift, and go to state 258 |
||
2929 | |||
2930 | |||
2931 | |||
2932 | state 252 |
||
2933 | |||
2934 | edge -> '(' LEV_SYM LEV_SYM ')' . (rule 31) |
||
2935 | |||
2936 | $default reduce using rule 31 (edge) |
||
2937 | |||
2938 | |||
2939 | |||
2940 | state 253 |
||
2941 | |||
2942 | combin_entry -> level_in_list ':' OUT_SYM ';' . (rule 25) |
||
2943 | |||
2944 | $default reduce using rule 25 (combin_entry) |
||
2945 | |||
2946 | |||
2947 | |||
2948 | state 254 |
||
2949 | |||
2950 | seq_entry -> level_in_list ':' state ':' . next_state ';' (rule 26) |
||
2951 | |||
2952 | OUT_SYM shift, and go to state 259 |
||
2953 | |||
2954 | next_state go to state 260 |
||
2955 | |||
2956 | |||
2957 | |||
2958 | state 255 |
||
2959 | |||
2960 | seq_entry -> edge_in_list ':' state ':' . next_state ';' (rule 27) |
||
2961 | |||
2962 | OUT_SYM shift, and go to state 259 |
||
2963 | |||
2964 | next_state go to state 261 |
||
2965 | |||
2966 | |||
2967 | |||
2968 | state 256 |
||
2969 | |||
2970 | sig_nam -> NAME '[' exp ':' . exp ']' (rule 102) |
||
2971 | |||
2972 | NAME shift, and go to state 88 |
||
2973 | NUMBER shift, and go to state 89 |
||
2974 | UNARY_OP shift, and go to state 90 |
||
2975 | '{' shift, and go to state 67 |
||
2976 | |||
2977 | concatenation go to state 92 |
||
2978 | exp go to state 262 |
||
2979 | primary go to state 94 |
||
2980 | number go to state 95 |
||
2981 | |||
2982 | |||
2983 | |||
2984 | state 257 |
||
2985 | |||
2986 | sig_nam -> NAME '[' exp ']' . (rule 101) |
||
2987 | |||
2988 | $default reduce using rule 101 (sig_nam) |
||
2989 | |||
2990 | |||
2991 | |||
2992 | state 258 |
||
2993 | |||
2994 | init_val -> '1' ''' 'b' . '0' (rule 15) |
||
2995 | init_val -> '1' ''' 'b' . '1' (rule 16) |
||
2996 | init_val -> '1' ''' 'b' . 'x' (rule 17) |
||
2997 | |||
2998 | '1' shift, and go to state 263 |
||
2999 | '0' shift, and go to state 264 |
||
3000 | 'x' shift, and go to state 265 |
||
3001 | |||
3002 | |||
3003 | |||
3004 | state 259 |
||
3005 | |||
3006 | next_state -> OUT_SYM . (rule 34) |
||
3007 | |||
3008 | $default reduce using rule 34 (next_state) |
||
3009 | |||
3010 | |||
3011 | |||
3012 | state 260 |
||
3013 | |||
3014 | seq_entry -> level_in_list ':' state ':' next_state . ';' (rule 26) |
||
3015 | |||
3016 | ';' shift, and go to state 266 |
||
3017 | |||
3018 | |||
3019 | |||
3020 | state 261 |
||
3021 | |||
3022 | seq_entry -> edge_in_list ':' state ':' next_state . ';' (rule 27) |
||
3023 | |||
3024 | ';' shift, and go to state 267 |
||
3025 | |||
3026 | |||
3027 | |||
3028 | state 262 |
||
3029 | |||
3030 | sig_nam -> NAME '[' exp ':' exp . ']' (rule 102) |
||
3031 | exp -> exp . BIN_OP exp (rule 123) |
||
3032 | |||
3033 | BIN_OP shift, and go to state 140 |
||
3034 | ']' shift, and go to state 268 |
||
3035 | |||
3036 | |||
3037 | |||
3038 | state 263 |
||
3039 | |||
3040 | init_val -> '1' ''' 'b' '1' . (rule 16) |
||
3041 | |||
3042 | $default reduce using rule 16 (init_val) |
||
3043 | |||
3044 | |||
3045 | |||
3046 | state 264 |
||
3047 | |||
3048 | init_val -> '1' ''' 'b' '0' . (rule 15) |
||
3049 | |||
3050 | $default reduce using rule 15 (init_val) |
||
3051 | |||
3052 | |||
3053 | |||
3054 | state 265 |
||
3055 | |||
3056 | init_val -> '1' ''' 'b' 'x' . (rule 17) |
||
3057 | |||
3058 | $default reduce using rule 17 (init_val) |
||
3059 | |||
3060 | |||
3061 | |||
3062 | state 266 |
||
3063 | |||
3064 | seq_entry -> level_in_list ':' state ':' next_state ';' . (rule 26) |
||
3065 | |||
3066 | $default reduce using rule 26 (seq_entry) |
||
3067 | |||
3068 | |||
3069 | |||
3070 | state 267 |
||
3071 | |||
3072 | seq_entry -> edge_in_list ':' state ':' next_state ';' . (rule 27) |
||
3073 | |||
3074 | $default reduce using rule 27 (seq_entry) |
||
3075 | |||
3076 | |||
3077 | |||
3078 | state 268 |
||
3079 | |||
3080 | sig_nam -> NAME '[' exp ':' exp ']' . (rule 102) |
||
3081 | |||
3082 | $default reduce using rule 102 (sig_nam) |
||
3083 | |||
3084 | |||
3085 | |||
3086 | state 269 |
||
3087 | |||
3088 | $ go to state 270 |
||
3089 | |||
3090 | |||
3091 | |||
3092 | state 270 |
||
3093 | |||
3094 | $default accept |