Blame | Last modification | View Log | Download | RSS feed
Terminals which are not used:
NL
WIRE
Conflict in state 182 between rule 123 and token BIN_OP resolved as reduce.
Grammar
rule 1 modules -> modules mod_prim
rule 2 modules -> modules error
rule 3 modules -> mod_prim
rule 4 mod_prim -> module
rule 5 mod_prim -> primitive
rule 6 primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body ENDPRIM
rule 7 list_of_vars -> list_of_vars ',' NAME
rule 8 list_of_vars -> NAME
rule 9 prim_body -> UDP_decl UDP_init table_def
rule 10 prim_body -> UDP_decl table_def
rule 11 UDP_decl -> output_decl
rule 12 UDP_decl -> input_decl
rule 13 UDP_decl -> reg_decl
rule 14 UDP_init -> INITIAL NAME '=' init_val
rule 15 init_val -> '1' ''' 'b' '0'
rule 16 init_val -> '1' ''' 'b' '1'
rule 17 init_val -> '1' ''' 'b' 'x'
rule 18 init_val -> '1'
rule 19 init_val -> '0'
rule 20 table_def -> TABLE table_entries ENDTABLE
rule 21 table_entries -> table_entries combin_entry
rule 22 table_entries -> combin_entry
rule 23 table_entries -> table_entries seq_entry
rule 24 table_entries -> seq_entry
rule 25 combin_entry -> level_in_list ':' OUT_SYM ';'
rule 26 seq_entry -> level_in_list ':' state ':' next_state ';'
rule 27 seq_entry -> edge_in_list ':' state ':' next_state ';'
rule 28 level_in_list -> LEV_SYM
rule 29 edge_in_list -> LEV_SYM edge LEV_SYM
rule 30 edge_in_list -> edge
rule 31 edge -> '(' LEV_SYM LEV_SYM ')'
rule 32 edge -> EDGE_SYM
rule 33 state -> LEV_SYM
rule 34 next_state -> OUT_SYM
rule 35 module -> MODULE NAME ';' mod_body ENDMODULE
rule 36 module -> MODULE NAME '(' list_of_ports ')' ';' mod_body ENDMODULE
rule 37 list_of_ports -> list_of_ports ',' port
rule 38 list_of_ports -> port
rule 39 port -> NAME
rule 40 port -> NAME '[' const_exp ']'
rule 41 port -> NAME '[' const_exp ':' const_exp ']'
rule 42 mod_body -> mod_body module_item
rule 43 mod_body -> module_item
rule 44 module_item -> param_decl
rule 45 module_item -> input_decl
rule 46 module_item -> output_decl
rule 47 module_item -> inout_decl
rule 48 module_item -> net_decl
rule 49 module_item -> reg_decl
rule 50 module_item -> time_decl
rule 51 module_item -> integer_decl
rule 52 module_item -> real_decl
rule 53 module_item -> event_decl
rule 54 module_item -> gate_decl
rule 55 module_item -> module_instant
rule 56 module_item -> defparm_decl
rule 57 module_item -> cont_assign
rule 58 param_decl -> PARAMETER
rule 59 reg_decl -> REG
rule 60 time_decl -> TIME
rule 61 integer_decl -> INTEGER
rule 62 real_decl -> REAL
rule 63 event_decl -> EVENT
rule 64 defparm_decl -> DEFPARAM
rule 65 gate_decl -> GATETYPE gate_instant
rule 66 gate_decl -> GATETYPE dr_strength gate_instant
rule 67 gate_decl -> GATETYPE delay gate_instant
rule 68 gate_decl -> GATETYPE dr_strength delay gate_instant
rule 69 gate_instant -> NAME '(' exp ')'
rule 70 input_decl -> INPUT list_vars ';'
rule 71 input_decl -> INPUT range list_vars ';'
rule 72 output_decl -> OUTPUT list_vars ';'
rule 73 output_decl -> OUTPUT range list_vars ';'
rule 74 inout_decl -> INOUT list_vars ';'
rule 75 inout_decl -> INOUT range list_vars ';'
rule 76 net_decl -> NETTYPE list_vars ';'
rule 77 net_decl -> NETTYPE range list_vars ';'
rule 78 net_decl -> NETTYPE delay list_vars ';'
rule 79 net_decl -> NETTYPE range delay list_vars ';'
rule 80 range -> '[' const_exp ':' const_exp ']'
rule 81 delay -> '#' number
rule 82 delay -> '#' NAME
rule 83 dr_strength -> '(' STRENGTH0 ',' STRENGTH1 ')'
rule 84 dr_strength -> '(' STRENGTH1 ',' STRENGTH0 ')'
rule 85 list_vars -> list_vars ',' NAME
rule 86 list_vars -> NAME
rule 87 module_instant -> name_mod mod_inst_list ';'
rule 88 module_instant -> name_mod par_val mod_inst_list ';'
rule 89 name_mod -> NAME
rule 90 mod_inst_list -> mod_inst_list ',' mod_inst
rule 91 mod_inst_list -> mod_inst
rule 92 mod_inst -> reference '(' list_mod_conn ')'
rule 93 mod_inst -> reference '(' list_nam_conn ')'
rule 94 reference -> NAME
rule 95 list_mod_conn -> list_mod_conn ',' exp
rule 96 list_mod_conn -> exp
rule 97 list_nam_conn -> list_nam_conn ',' nam_conn
rule 98 list_nam_conn -> nam_conn
rule 99 nam_conn -> '.' NAME '(' sig_nam ')'
rule 100 sig_nam -> NAME
rule 101 sig_nam -> NAME '[' exp ']'
rule 102 sig_nam -> NAME '[' exp ':' exp ']'
rule 103 sig_nam -> concatenation
rule 104 par_val -> '#' '(' exp ')'
rule 105 cont_assign -> ASSIGN list_assigns ';'
rule 106 cont_assign -> ASSIGN dr_strength list_assigns ';'
rule 107 cont_assign -> ASSIGN delay list_assigns ';'
rule 108 cont_assign -> ASSIGN dr_strength delay list_assigns ';'
rule 109 list_assigns -> list_assigns ',' assignment
rule 110 list_assigns -> assignment
rule 111 assignment -> lvalue '=' exp
rule 112 assignment -> lvalue '=' '(' exp ')'
rule 113 lvalue -> NAME
rule 114 lvalue -> NAME '[' exp ']'
rule 115 lvalue -> concatenation
rule 116 const_exp -> exp
rule 117 concatenation -> '{' exp_list '}'
rule 118 exp_list -> exp_list ',' exp
rule 119 exp_list -> exp
rule 120 exp -> primary
rule 121 exp -> UNARY_OP primary
rule 122 exp -> UNARY_OP '(' exp ')'
rule 123 exp -> exp BIN_OP exp
rule 124 primary -> number
rule 125 primary -> NAME '[' exp ']'
rule 126 primary -> NAME
rule 127 primary -> concatenation
rule 128 number -> NUMBER
rule 129 number -> NUMBER ''' 'b' NUMBER
rule 130 number -> NUMBER ''' 'd' NUMBER
rule 131 number -> NUMBER ''' 'o' NUMBER
Terminals, with rules where they appear
$ (-1)
'#' (35) 81 82 104
''' (39) 15 16 17 129 130 131
'(' (40) 6 31 36 69 83 84 92 93 99 104 112 122
')' (41) 6 31 36 69 83 84 92 93 99 104 112 122
',' (44) 7 37 83 84 85 90 95 97 109 118
'.' (46) 99
'0' (48) 15 19
'1' (49) 15 16 17 18
':' (58) 25 26 27 41 80 102
';' (59) 6 25 26 27 35 36 70 71 72 73 74 75 76 77 78 79 87 88 105 106
107 108
'=' (61) 14 111 112
'[' (91) 40 41 80 101 102 114 125
']' (93) 40 41 80 101 102 114 125
'b' (98) 15 16 17 129
'd' (100) 130
'o' (111) 131
'x' (120) 17
'{' (123) 117
'}' (125) 117
error (256) 2
NL (258)
NAME (259) 6 7 8 14 35 36 39 40 41 69 82 85 86 89 94 99 100 101 102
113 114 125 126
NUMBER (260) 128 129 130 131
MODULE (261) 35 36
ENDMODULE (262) 35 36
WIRE (263)
INPUT (264) 70 71
OUTPUT (265) 72 73
INOUT (266) 74 75
NETTYPE (267) 76 77 78 79
ASSIGN (268) 105 106 107 108
STRENGTH0 (269) 83 84
STRENGTH1 (270) 83 84
GATETYPE (271) 65 66 67 68
INITIAL (272) 14
PARAMETER (273) 58
REG (274) 59
TIME (275) 60
INTEGER (276) 61
REAL (277) 62
EVENT (278) 63
DEFPARAM (279) 64
BIN_OP (280) 123
UNARY_OP (281) 121 122
PRIMITIVE (282) 6
ENDPRIM (283) 6
TABLE (284) 20
ENDTABLE (285) 20
OUT_SYM (286) 25 34
LEV_SYM (287) 28 29 31 33
EDGE_SYM (288) 32
Nonterminals, with rules where they appear
modules (53)
on left: 1 2 3, on right: 1 2
mod_prim (54)
on left: 4 5, on right: 1 3
primitive (55)
on left: 6, on right: 5
list_of_vars (56)
on left: 7 8, on right: 6 7
prim_body (57)
on left: 9 10, on right: 6
UDP_decl (58)
on left: 11 12 13, on right: 9 10
UDP_init (59)
on left: 14, on right: 9
init_val (60)
on left: 15 16 17 18 19, on right: 14
table_def (61)
on left: 20, on right: 9 10
table_entries (62)
on left: 21 22 23 24, on right: 20 21 23
combin_entry (63)
on left: 25, on right: 21 22
seq_entry (64)
on left: 26 27, on right: 23 24
level_in_list (65)
on left: 28, on right: 25 26
edge_in_list (66)
on left: 29 30, on right: 27
edge (67)
on left: 31 32, on right: 29 30
state (68)
on left: 33, on right: 26 27
next_state (69)
on left: 34, on right: 26 27
module (70)
on left: 35 36, on right: 4
list_of_ports (71)
on left: 37 38, on right: 36 37
port (72)
on left: 39 40 41, on right: 37 38
mod_body (73)
on left: 42 43, on right: 35 36 42
module_item (74)
on left: 44 45 46 47 48 49 50 51 52 53 54 55 56 57,
on right: 42 43
param_decl (75)
on left: 58, on right: 44
reg_decl (76)
on left: 59, on right: 13 49
time_decl (77)
on left: 60, on right: 50
integer_decl (78)
on left: 61, on right: 51
real_decl (79)
on left: 62, on right: 52
event_decl (80)
on left: 63, on right: 53
defparm_decl (81)
on left: 64, on right: 56
gate_decl (82)
on left: 65 66 67 68, on right: 54
gate_instant (83)
on left: 69, on right: 65 66 67 68
input_decl (84)
on left: 70 71, on right: 12 45
output_decl (85)
on left: 72 73, on right: 11 46
inout_decl (86)
on left: 74 75, on right: 47
net_decl (87)
on left: 76 77 78 79, on right: 48
range (88)
on left: 80, on right: 71 73 75 77 79
delay (89)
on left: 81 82, on right: 67 68 78 79 107 108
dr_strength (90)
on left: 83 84, on right: 66 68 106 108
list_vars (91)
on left: 85 86, on right: 70 71 72 73 74 75 76 77 78 79 85
module_instant (92)
on left: 87 88, on right: 55
name_mod (93)
on left: 89, on right: 87 88
mod_inst_list (94)
on left: 90 91, on right: 87 88 90
mod_inst (95)
on left: 92 93, on right: 90 91
reference (96)
on left: 94, on right: 92 93
list_mod_conn (97)
on left: 95 96, on right: 92 95
list_nam_conn (98)
on left: 97 98, on right: 93 97
nam_conn (99)
on left: 99, on right: 97 98
sig_nam (100)
on left: 100 101 102 103, on right: 99
par_val (101)
on left: 104, on right: 88
cont_assign (102)
on left: 105 106 107 108, on right: 57
list_assigns (103)
on left: 109 110, on right: 105 106 107 108 109
assignment (104)
on left: 111 112, on right: 109 110
lvalue (105)
on left: 113 114 115, on right: 111 112
const_exp (106)
on left: 116, on right: 40 41 80
concatenation (107)
on left: 117, on right: 103 115 127
exp_list (108)
on left: 118 119, on right: 117 118
exp (109)
on left: 120 121 122 123, on right: 69 95 96 101 102 104 111 112
114 116 118 119 122 123 125
primary (110)
on left: 124 125 126 127, on right: 120 121
number (111)
on left: 128 129 130 131, on right: 81 124
state 0
MODULE shift, and go to state 1
PRIMITIVE shift, and go to state 2
modules go to state 3
mod_prim go to state 4
primitive go to state 5
module go to state 6
state 1
module -> MODULE . NAME ';' mod_body ENDMODULE (rule 35)
module -> MODULE . NAME '(' list_of_ports ')' ';' mod_body ENDMODULE (rule 36)
NAME shift, and go to state 7
state 2
primitive -> PRIMITIVE . NAME '(' list_of_vars ')' ';' prim_body ENDPRIM (rule 6)
NAME shift, and go to state 8
state 3
modules -> modules . mod_prim (rule 1)
modules -> modules . error (rule 2)
$ go to state 269
error shift, and go to state 9
MODULE shift, and go to state 1
PRIMITIVE shift, and go to state 2
mod_prim go to state 10
primitive go to state 5
module go to state 6
state 4
modules -> mod_prim . (rule 3)
$default reduce using rule 3 (modules)
state 5
mod_prim -> primitive . (rule 5)
$default reduce using rule 5 (mod_prim)
state 6
mod_prim -> module . (rule 4)
$default reduce using rule 4 (mod_prim)
state 7
module -> MODULE NAME . ';' mod_body ENDMODULE (rule 35)
module -> MODULE NAME . '(' list_of_ports ')' ';' mod_body ENDMODULE (rule 36)
'(' shift, and go to state 11
';' shift, and go to state 12
state 8
primitive -> PRIMITIVE NAME . '(' list_of_vars ')' ';' prim_body ENDPRIM (rule 6)
'(' shift, and go to state 13
state 9
modules -> modules error . (rule 2)
$default reduce using rule 2 (modules)
state 10
modules -> modules mod_prim . (rule 1)
$default reduce using rule 1 (modules)
state 11
module -> MODULE NAME '(' . list_of_ports ')' ';' mod_body ENDMODULE (rule 36)
NAME shift, and go to state 14
list_of_ports go to state 15
port go to state 16
state 12
module -> MODULE NAME ';' . mod_body ENDMODULE (rule 35)
NAME shift, and go to state 17
INPUT shift, and go to state 18
OUTPUT shift, and go to state 19
INOUT shift, and go to state 20
NETTYPE shift, and go to state 21
ASSIGN shift, and go to state 22
GATETYPE shift, and go to state 23
PARAMETER shift, and go to state 24
REG shift, and go to state 25
TIME shift, and go to state 26
INTEGER shift, and go to state 27
REAL shift, and go to state 28
EVENT shift, and go to state 29
DEFPARAM shift, and go to state 30
mod_body go to state 31
module_item go to state 32
param_decl go to state 33
reg_decl go to state 34
time_decl go to state 35
integer_decl go to state 36
real_decl go to state 37
event_decl go to state 38
defparm_decl go to state 39
gate_decl go to state 40
input_decl go to state 41
output_decl go to state 42
inout_decl go to state 43
net_decl go to state 44
module_instant go to state 45
name_mod go to state 46
cont_assign go to state 47
state 13
primitive -> PRIMITIVE NAME '(' . list_of_vars ')' ';' prim_body ENDPRIM (rule 6)
NAME shift, and go to state 48
list_of_vars go to state 49
state 14
port -> NAME . (rule 39)
port -> NAME . '[' const_exp ']' (rule 40)
port -> NAME . '[' const_exp ':' const_exp ']' (rule 41)
'[' shift, and go to state 50
$default reduce using rule 39 (port)
state 15
module -> MODULE NAME '(' list_of_ports . ')' ';' mod_body ENDMODULE (rule 36)
list_of_ports -> list_of_ports . ',' port (rule 37)
')' shift, and go to state 51
',' shift, and go to state 52
state 16
list_of_ports -> port . (rule 38)
$default reduce using rule 38 (list_of_ports)
state 17
name_mod -> NAME . (rule 89)
$default reduce using rule 89 (name_mod)
state 18
input_decl -> INPUT . list_vars ';' (rule 70)
input_decl -> INPUT . range list_vars ';' (rule 71)
NAME shift, and go to state 53
'[' shift, and go to state 54
range go to state 55
list_vars go to state 56
state 19
output_decl -> OUTPUT . list_vars ';' (rule 72)
output_decl -> OUTPUT . range list_vars ';' (rule 73)
NAME shift, and go to state 53
'[' shift, and go to state 54
range go to state 57
list_vars go to state 58
state 20
inout_decl -> INOUT . list_vars ';' (rule 74)
inout_decl -> INOUT . range list_vars ';' (rule 75)
NAME shift, and go to state 53
'[' shift, and go to state 54
range go to state 59
list_vars go to state 60
state 21
net_decl -> NETTYPE . list_vars ';' (rule 76)
net_decl -> NETTYPE . range list_vars ';' (rule 77)
net_decl -> NETTYPE . delay list_vars ';' (rule 78)
net_decl -> NETTYPE . range delay list_vars ';' (rule 79)
NAME shift, and go to state 53
'[' shift, and go to state 54
'#' shift, and go to state 61
range go to state 62
delay go to state 63
list_vars go to state 64
state 22
cont_assign -> ASSIGN . list_assigns ';' (rule 105)
cont_assign -> ASSIGN . dr_strength list_assigns ';' (rule 106)
cont_assign -> ASSIGN . delay list_assigns ';' (rule 107)
cont_assign -> ASSIGN . dr_strength delay list_assigns ';' (rule 108)
NAME shift, and go to state 65
'(' shift, and go to state 66
'#' shift, and go to state 61
'{' shift, and go to state 67
delay go to state 68
dr_strength go to state 69
list_assigns go to state 70
assignment go to state 71
lvalue go to state 72
concatenation go to state 73
state 23
gate_decl -> GATETYPE . gate_instant (rule 65)
gate_decl -> GATETYPE . dr_strength gate_instant (rule 66)
gate_decl -> GATETYPE . delay gate_instant (rule 67)
gate_decl -> GATETYPE . dr_strength delay gate_instant (rule 68)
NAME shift, and go to state 74
'(' shift, and go to state 66
'#' shift, and go to state 61
gate_instant go to state 75
delay go to state 76
dr_strength go to state 77
state 24
param_decl -> PARAMETER . (rule 58)
$default reduce using rule 58 (param_decl)
state 25
reg_decl -> REG . (rule 59)
$default reduce using rule 59 (reg_decl)
state 26
time_decl -> TIME . (rule 60)
$default reduce using rule 60 (time_decl)
state 27
integer_decl -> INTEGER . (rule 61)
$default reduce using rule 61 (integer_decl)
state 28
real_decl -> REAL . (rule 62)
$default reduce using rule 62 (real_decl)
state 29
event_decl -> EVENT . (rule 63)
$default reduce using rule 63 (event_decl)
state 30
defparm_decl -> DEFPARAM . (rule 64)
$default reduce using rule 64 (defparm_decl)
state 31
module -> MODULE NAME ';' mod_body . ENDMODULE (rule 35)
mod_body -> mod_body . module_item (rule 42)
NAME shift, and go to state 17
ENDMODULE shift, and go to state 78
INPUT shift, and go to state 18
OUTPUT shift, and go to state 19
INOUT shift, and go to state 20
NETTYPE shift, and go to state 21
ASSIGN shift, and go to state 22
GATETYPE shift, and go to state 23
PARAMETER shift, and go to state 24
REG shift, and go to state 25
TIME shift, and go to state 26
INTEGER shift, and go to state 27
REAL shift, and go to state 28
EVENT shift, and go to state 29
DEFPARAM shift, and go to state 30
module_item go to state 79
param_decl go to state 33
reg_decl go to state 34
time_decl go to state 35
integer_decl go to state 36
real_decl go to state 37
event_decl go to state 38
defparm_decl go to state 39
gate_decl go to state 40
input_decl go to state 41
output_decl go to state 42
inout_decl go to state 43
net_decl go to state 44
module_instant go to state 45
name_mod go to state 46
cont_assign go to state 47
state 32
mod_body -> module_item . (rule 43)
$default reduce using rule 43 (mod_body)
state 33
module_item -> param_decl . (rule 44)
$default reduce using rule 44 (module_item)
state 34
module_item -> reg_decl . (rule 49)
$default reduce using rule 49 (module_item)
state 35
module_item -> time_decl . (rule 50)
$default reduce using rule 50 (module_item)
state 36
module_item -> integer_decl . (rule 51)
$default reduce using rule 51 (module_item)
state 37
module_item -> real_decl . (rule 52)
$default reduce using rule 52 (module_item)
state 38
module_item -> event_decl . (rule 53)
$default reduce using rule 53 (module_item)
state 39
module_item -> defparm_decl . (rule 56)
$default reduce using rule 56 (module_item)
state 40
module_item -> gate_decl . (rule 54)
$default reduce using rule 54 (module_item)
state 41
module_item -> input_decl . (rule 45)
$default reduce using rule 45 (module_item)
state 42
module_item -> output_decl . (rule 46)
$default reduce using rule 46 (module_item)
state 43
module_item -> inout_decl . (rule 47)
$default reduce using rule 47 (module_item)
state 44
module_item -> net_decl . (rule 48)
$default reduce using rule 48 (module_item)
state 45
module_item -> module_instant . (rule 55)
$default reduce using rule 55 (module_item)
state 46
module_instant -> name_mod . mod_inst_list ';' (rule 87)
module_instant -> name_mod . par_val mod_inst_list ';' (rule 88)
NAME shift, and go to state 80
'#' shift, and go to state 81
mod_inst_list go to state 82
mod_inst go to state 83
reference go to state 84
par_val go to state 85
state 47
module_item -> cont_assign . (rule 57)
$default reduce using rule 57 (module_item)
state 48
list_of_vars -> NAME . (rule 8)
$default reduce using rule 8 (list_of_vars)
state 49
primitive -> PRIMITIVE NAME '(' list_of_vars . ')' ';' prim_body ENDPRIM (rule 6)
list_of_vars -> list_of_vars . ',' NAME (rule 7)
')' shift, and go to state 86
',' shift, and go to state 87
state 50
port -> NAME '[' . const_exp ']' (rule 40)
port -> NAME '[' . const_exp ':' const_exp ']' (rule 41)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
const_exp go to state 91
concatenation go to state 92
exp go to state 93
primary go to state 94
number go to state 95
state 51
module -> MODULE NAME '(' list_of_ports ')' . ';' mod_body ENDMODULE (rule 36)
';' shift, and go to state 96
state 52
list_of_ports -> list_of_ports ',' . port (rule 37)
NAME shift, and go to state 14
port go to state 97
state 53
list_vars -> NAME . (rule 86)
$default reduce using rule 86 (list_vars)
state 54
range -> '[' . const_exp ':' const_exp ']' (rule 80)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
const_exp go to state 98
concatenation go to state 92
exp go to state 93
primary go to state 94
number go to state 95
state 55
input_decl -> INPUT range . list_vars ';' (rule 71)
NAME shift, and go to state 53
list_vars go to state 99
state 56
input_decl -> INPUT list_vars . ';' (rule 70)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 100
',' shift, and go to state 101
state 57
output_decl -> OUTPUT range . list_vars ';' (rule 73)
NAME shift, and go to state 53
list_vars go to state 102
state 58
output_decl -> OUTPUT list_vars . ';' (rule 72)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 103
',' shift, and go to state 101
state 59
inout_decl -> INOUT range . list_vars ';' (rule 75)
NAME shift, and go to state 53
list_vars go to state 104
state 60
inout_decl -> INOUT list_vars . ';' (rule 74)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 105
',' shift, and go to state 101
state 61
delay -> '#' . number (rule 81)
delay -> '#' . NAME (rule 82)
NAME shift, and go to state 106
NUMBER shift, and go to state 89
number go to state 107
state 62
net_decl -> NETTYPE range . list_vars ';' (rule 77)
net_decl -> NETTYPE range . delay list_vars ';' (rule 79)
NAME shift, and go to state 53
'#' shift, and go to state 61
delay go to state 108
list_vars go to state 109
state 63
net_decl -> NETTYPE delay . list_vars ';' (rule 78)
NAME shift, and go to state 53
list_vars go to state 110
state 64
net_decl -> NETTYPE list_vars . ';' (rule 76)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 111
',' shift, and go to state 101
state 65
lvalue -> NAME . (rule 113)
lvalue -> NAME . '[' exp ']' (rule 114)
'[' shift, and go to state 112
$default reduce using rule 113 (lvalue)
state 66
dr_strength -> '(' . STRENGTH0 ',' STRENGTH1 ')' (rule 83)
dr_strength -> '(' . STRENGTH1 ',' STRENGTH0 ')' (rule 84)
STRENGTH0 shift, and go to state 113
STRENGTH1 shift, and go to state 114
state 67
concatenation -> '{' . exp_list '}' (rule 117)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp_list go to state 115
exp go to state 116
primary go to state 94
number go to state 95
state 68
cont_assign -> ASSIGN delay . list_assigns ';' (rule 107)
NAME shift, and go to state 65
'{' shift, and go to state 67
list_assigns go to state 117
assignment go to state 71
lvalue go to state 72
concatenation go to state 73
state 69
cont_assign -> ASSIGN dr_strength . list_assigns ';' (rule 106)
cont_assign -> ASSIGN dr_strength . delay list_assigns ';' (rule 108)
NAME shift, and go to state 65
'#' shift, and go to state 61
'{' shift, and go to state 67
delay go to state 118
list_assigns go to state 119
assignment go to state 71
lvalue go to state 72
concatenation go to state 73
state 70
cont_assign -> ASSIGN list_assigns . ';' (rule 105)
list_assigns -> list_assigns . ',' assignment (rule 109)
';' shift, and go to state 120
',' shift, and go to state 121
state 71
list_assigns -> assignment . (rule 110)
$default reduce using rule 110 (list_assigns)
state 72
assignment -> lvalue . '=' exp (rule 111)
assignment -> lvalue . '=' '(' exp ')' (rule 112)
'=' shift, and go to state 122
state 73
lvalue -> concatenation . (rule 115)
$default reduce using rule 115 (lvalue)
state 74
gate_instant -> NAME . '(' exp ')' (rule 69)
'(' shift, and go to state 123
state 75
gate_decl -> GATETYPE gate_instant . (rule 65)
$default reduce using rule 65 (gate_decl)
state 76
gate_decl -> GATETYPE delay . gate_instant (rule 67)
NAME shift, and go to state 74
gate_instant go to state 124
state 77
gate_decl -> GATETYPE dr_strength . gate_instant (rule 66)
gate_decl -> GATETYPE dr_strength . delay gate_instant (rule 68)
NAME shift, and go to state 74
'#' shift, and go to state 61
gate_instant go to state 125
delay go to state 126
state 78
module -> MODULE NAME ';' mod_body ENDMODULE . (rule 35)
$default reduce using rule 35 (module)
state 79
mod_body -> mod_body module_item . (rule 42)
$default reduce using rule 42 (mod_body)
state 80
reference -> NAME . (rule 94)
$default reduce using rule 94 (reference)
state 81
par_val -> '#' . '(' exp ')' (rule 104)
'(' shift, and go to state 127
state 82
module_instant -> name_mod mod_inst_list . ';' (rule 87)
mod_inst_list -> mod_inst_list . ',' mod_inst (rule 90)
';' shift, and go to state 128
',' shift, and go to state 129
state 83
mod_inst_list -> mod_inst . (rule 91)
$default reduce using rule 91 (mod_inst_list)
state 84
mod_inst -> reference . '(' list_mod_conn ')' (rule 92)
mod_inst -> reference . '(' list_nam_conn ')' (rule 93)
'(' shift, and go to state 130
state 85
module_instant -> name_mod par_val . mod_inst_list ';' (rule 88)
NAME shift, and go to state 80
mod_inst_list go to state 131
mod_inst go to state 83
reference go to state 84
state 86
primitive -> PRIMITIVE NAME '(' list_of_vars ')' . ';' prim_body ENDPRIM (rule 6)
';' shift, and go to state 132
state 87
list_of_vars -> list_of_vars ',' . NAME (rule 7)
NAME shift, and go to state 133
state 88
primary -> NAME . '[' exp ']' (rule 125)
primary -> NAME . (rule 126)
'[' shift, and go to state 134
$default reduce using rule 126 (primary)
state 89
number -> NUMBER . (rule 128)
number -> NUMBER . ''' 'b' NUMBER (rule 129)
number -> NUMBER . ''' 'd' NUMBER (rule 130)
number -> NUMBER . ''' 'o' NUMBER (rule 131)
''' shift, and go to state 135
$default reduce using rule 128 (number)
state 90
exp -> UNARY_OP . primary (rule 121)
exp -> UNARY_OP . '(' exp ')' (rule 122)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
'(' shift, and go to state 136
'{' shift, and go to state 67
concatenation go to state 92
primary go to state 137
number go to state 95
state 91
port -> NAME '[' const_exp . ']' (rule 40)
port -> NAME '[' const_exp . ':' const_exp ']' (rule 41)
':' shift, and go to state 138
']' shift, and go to state 139
state 92
primary -> concatenation . (rule 127)
$default reduce using rule 127 (primary)
state 93
const_exp -> exp . (rule 116)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 116 (const_exp)
state 94
exp -> primary . (rule 120)
$default reduce using rule 120 (exp)
state 95
primary -> number . (rule 124)
$default reduce using rule 124 (primary)
state 96
module -> MODULE NAME '(' list_of_ports ')' ';' . mod_body ENDMODULE (rule 36)
NAME shift, and go to state 17
INPUT shift, and go to state 18
OUTPUT shift, and go to state 19
INOUT shift, and go to state 20
NETTYPE shift, and go to state 21
ASSIGN shift, and go to state 22
GATETYPE shift, and go to state 23
PARAMETER shift, and go to state 24
REG shift, and go to state 25
TIME shift, and go to state 26
INTEGER shift, and go to state 27
REAL shift, and go to state 28
EVENT shift, and go to state 29
DEFPARAM shift, and go to state 30
mod_body go to state 141
module_item go to state 32
param_decl go to state 33
reg_decl go to state 34
time_decl go to state 35
integer_decl go to state 36
real_decl go to state 37
event_decl go to state 38
defparm_decl go to state 39
gate_decl go to state 40
input_decl go to state 41
output_decl go to state 42
inout_decl go to state 43
net_decl go to state 44
module_instant go to state 45
name_mod go to state 46
cont_assign go to state 47
state 97
list_of_ports -> list_of_ports ',' port . (rule 37)
$default reduce using rule 37 (list_of_ports)
state 98
range -> '[' const_exp . ':' const_exp ']' (rule 80)
':' shift, and go to state 142
state 99
input_decl -> INPUT range list_vars . ';' (rule 71)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 143
',' shift, and go to state 101
state 100
input_decl -> INPUT list_vars ';' . (rule 70)
$default reduce using rule 70 (input_decl)
state 101
list_vars -> list_vars ',' . NAME (rule 85)
NAME shift, and go to state 144
state 102
output_decl -> OUTPUT range list_vars . ';' (rule 73)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 145
',' shift, and go to state 101
state 103
output_decl -> OUTPUT list_vars ';' . (rule 72)
$default reduce using rule 72 (output_decl)
state 104
inout_decl -> INOUT range list_vars . ';' (rule 75)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 146
',' shift, and go to state 101
state 105
inout_decl -> INOUT list_vars ';' . (rule 74)
$default reduce using rule 74 (inout_decl)
state 106
delay -> '#' NAME . (rule 82)
$default reduce using rule 82 (delay)
state 107
delay -> '#' number . (rule 81)
$default reduce using rule 81 (delay)
state 108
net_decl -> NETTYPE range delay . list_vars ';' (rule 79)
NAME shift, and go to state 53
list_vars go to state 147
state 109
net_decl -> NETTYPE range list_vars . ';' (rule 77)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 148
',' shift, and go to state 101
state 110
net_decl -> NETTYPE delay list_vars . ';' (rule 78)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 149
',' shift, and go to state 101
state 111
net_decl -> NETTYPE list_vars ';' . (rule 76)
$default reduce using rule 76 (net_decl)
state 112
lvalue -> NAME '[' . exp ']' (rule 114)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 150
primary go to state 94
number go to state 95
state 113
dr_strength -> '(' STRENGTH0 . ',' STRENGTH1 ')' (rule 83)
',' shift, and go to state 151
state 114
dr_strength -> '(' STRENGTH1 . ',' STRENGTH0 ')' (rule 84)
',' shift, and go to state 152
state 115
concatenation -> '{' exp_list . '}' (rule 117)
exp_list -> exp_list . ',' exp (rule 118)
',' shift, and go to state 153
'}' shift, and go to state 154
state 116
exp_list -> exp . (rule 119)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 119 (exp_list)
state 117
cont_assign -> ASSIGN delay list_assigns . ';' (rule 107)
list_assigns -> list_assigns . ',' assignment (rule 109)
';' shift, and go to state 155
',' shift, and go to state 121
state 118
cont_assign -> ASSIGN dr_strength delay . list_assigns ';' (rule 108)
NAME shift, and go to state 65
'{' shift, and go to state 67
list_assigns go to state 156
assignment go to state 71
lvalue go to state 72
concatenation go to state 73
state 119
cont_assign -> ASSIGN dr_strength list_assigns . ';' (rule 106)
list_assigns -> list_assigns . ',' assignment (rule 109)
';' shift, and go to state 157
',' shift, and go to state 121
state 120
cont_assign -> ASSIGN list_assigns ';' . (rule 105)
$default reduce using rule 105 (cont_assign)
state 121
list_assigns -> list_assigns ',' . assignment (rule 109)
NAME shift, and go to state 65
'{' shift, and go to state 67
assignment go to state 158
lvalue go to state 72
concatenation go to state 73
state 122
assignment -> lvalue '=' . exp (rule 111)
assignment -> lvalue '=' . '(' exp ')' (rule 112)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'(' shift, and go to state 159
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 160
primary go to state 94
number go to state 95
state 123
gate_instant -> NAME '(' . exp ')' (rule 69)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 161
primary go to state 94
number go to state 95
state 124
gate_decl -> GATETYPE delay gate_instant . (rule 67)
$default reduce using rule 67 (gate_decl)
state 125
gate_decl -> GATETYPE dr_strength gate_instant . (rule 66)
$default reduce using rule 66 (gate_decl)
state 126
gate_decl -> GATETYPE dr_strength delay . gate_instant (rule 68)
NAME shift, and go to state 74
gate_instant go to state 162
state 127
par_val -> '#' '(' . exp ')' (rule 104)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 163
primary go to state 94
number go to state 95
state 128
module_instant -> name_mod mod_inst_list ';' . (rule 87)
$default reduce using rule 87 (module_instant)
state 129
mod_inst_list -> mod_inst_list ',' . mod_inst (rule 90)
NAME shift, and go to state 80
mod_inst go to state 164
reference go to state 84
state 130
mod_inst -> reference '(' . list_mod_conn ')' (rule 92)
mod_inst -> reference '(' . list_nam_conn ')' (rule 93)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'.' shift, and go to state 165
'{' shift, and go to state 67
list_mod_conn go to state 166
list_nam_conn go to state 167
nam_conn go to state 168
concatenation go to state 92
exp go to state 169
primary go to state 94
number go to state 95
state 131
module_instant -> name_mod par_val mod_inst_list . ';' (rule 88)
mod_inst_list -> mod_inst_list . ',' mod_inst (rule 90)
';' shift, and go to state 170
',' shift, and go to state 129
state 132
primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' . prim_body ENDPRIM (rule 6)
INPUT shift, and go to state 18
OUTPUT shift, and go to state 19
REG shift, and go to state 25
prim_body go to state 171
UDP_decl go to state 172
reg_decl go to state 173
input_decl go to state 174
output_decl go to state 175
state 133
list_of_vars -> list_of_vars ',' NAME . (rule 7)
$default reduce using rule 7 (list_of_vars)
state 134
primary -> NAME '[' . exp ']' (rule 125)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 176
primary go to state 94
number go to state 95
state 135
number -> NUMBER ''' . 'b' NUMBER (rule 129)
number -> NUMBER ''' . 'd' NUMBER (rule 130)
number -> NUMBER ''' . 'o' NUMBER (rule 131)
'b' shift, and go to state 177
'd' shift, and go to state 178
'o' shift, and go to state 179
state 136
exp -> UNARY_OP '(' . exp ')' (rule 122)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 180
primary go to state 94
number go to state 95
state 137
exp -> UNARY_OP primary . (rule 121)
$default reduce using rule 121 (exp)
state 138
port -> NAME '[' const_exp ':' . const_exp ']' (rule 41)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
const_exp go to state 181
concatenation go to state 92
exp go to state 93
primary go to state 94
number go to state 95
state 139
port -> NAME '[' const_exp ']' . (rule 40)
$default reduce using rule 40 (port)
state 140
exp -> exp BIN_OP . exp (rule 123)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 182
primary go to state 94
number go to state 95
state 141
module -> MODULE NAME '(' list_of_ports ')' ';' mod_body . ENDMODULE (rule 36)
mod_body -> mod_body . module_item (rule 42)
NAME shift, and go to state 17
ENDMODULE shift, and go to state 183
INPUT shift, and go to state 18
OUTPUT shift, and go to state 19
INOUT shift, and go to state 20
NETTYPE shift, and go to state 21
ASSIGN shift, and go to state 22
GATETYPE shift, and go to state 23
PARAMETER shift, and go to state 24
REG shift, and go to state 25
TIME shift, and go to state 26
INTEGER shift, and go to state 27
REAL shift, and go to state 28
EVENT shift, and go to state 29
DEFPARAM shift, and go to state 30
module_item go to state 79
param_decl go to state 33
reg_decl go to state 34
time_decl go to state 35
integer_decl go to state 36
real_decl go to state 37
event_decl go to state 38
defparm_decl go to state 39
gate_decl go to state 40
input_decl go to state 41
output_decl go to state 42
inout_decl go to state 43
net_decl go to state 44
module_instant go to state 45
name_mod go to state 46
cont_assign go to state 47
state 142
range -> '[' const_exp ':' . const_exp ']' (rule 80)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
const_exp go to state 184
concatenation go to state 92
exp go to state 93
primary go to state 94
number go to state 95
state 143
input_decl -> INPUT range list_vars ';' . (rule 71)
$default reduce using rule 71 (input_decl)
state 144
list_vars -> list_vars ',' NAME . (rule 85)
$default reduce using rule 85 (list_vars)
state 145
output_decl -> OUTPUT range list_vars ';' . (rule 73)
$default reduce using rule 73 (output_decl)
state 146
inout_decl -> INOUT range list_vars ';' . (rule 75)
$default reduce using rule 75 (inout_decl)
state 147
net_decl -> NETTYPE range delay list_vars . ';' (rule 79)
list_vars -> list_vars . ',' NAME (rule 85)
';' shift, and go to state 185
',' shift, and go to state 101
state 148
net_decl -> NETTYPE range list_vars ';' . (rule 77)
$default reduce using rule 77 (net_decl)
state 149
net_decl -> NETTYPE delay list_vars ';' . (rule 78)
$default reduce using rule 78 (net_decl)
state 150
lvalue -> NAME '[' exp . ']' (rule 114)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
']' shift, and go to state 186
state 151
dr_strength -> '(' STRENGTH0 ',' . STRENGTH1 ')' (rule 83)
STRENGTH1 shift, and go to state 187
state 152
dr_strength -> '(' STRENGTH1 ',' . STRENGTH0 ')' (rule 84)
STRENGTH0 shift, and go to state 188
state 153
exp_list -> exp_list ',' . exp (rule 118)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 189
primary go to state 94
number go to state 95
state 154
concatenation -> '{' exp_list '}' . (rule 117)
$default reduce using rule 117 (concatenation)
state 155
cont_assign -> ASSIGN delay list_assigns ';' . (rule 107)
$default reduce using rule 107 (cont_assign)
state 156
cont_assign -> ASSIGN dr_strength delay list_assigns . ';' (rule 108)
list_assigns -> list_assigns . ',' assignment (rule 109)
';' shift, and go to state 190
',' shift, and go to state 121
state 157
cont_assign -> ASSIGN dr_strength list_assigns ';' . (rule 106)
$default reduce using rule 106 (cont_assign)
state 158
list_assigns -> list_assigns ',' assignment . (rule 109)
$default reduce using rule 109 (list_assigns)
state 159
assignment -> lvalue '=' '(' . exp ')' (rule 112)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 191
primary go to state 94
number go to state 95
state 160
assignment -> lvalue '=' exp . (rule 111)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 111 (assignment)
state 161
gate_instant -> NAME '(' exp . ')' (rule 69)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
')' shift, and go to state 192
state 162
gate_decl -> GATETYPE dr_strength delay gate_instant . (rule 68)
$default reduce using rule 68 (gate_decl)
state 163
par_val -> '#' '(' exp . ')' (rule 104)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
')' shift, and go to state 193
state 164
mod_inst_list -> mod_inst_list ',' mod_inst . (rule 90)
$default reduce using rule 90 (mod_inst_list)
state 165
nam_conn -> '.' . NAME '(' sig_nam ')' (rule 99)
NAME shift, and go to state 194
state 166
mod_inst -> reference '(' list_mod_conn . ')' (rule 92)
list_mod_conn -> list_mod_conn . ',' exp (rule 95)
')' shift, and go to state 195
',' shift, and go to state 196
state 167
mod_inst -> reference '(' list_nam_conn . ')' (rule 93)
list_nam_conn -> list_nam_conn . ',' nam_conn (rule 97)
')' shift, and go to state 197
',' shift, and go to state 198
state 168
list_nam_conn -> nam_conn . (rule 98)
$default reduce using rule 98 (list_nam_conn)
state 169
list_mod_conn -> exp . (rule 96)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 96 (list_mod_conn)
state 170
module_instant -> name_mod par_val mod_inst_list ';' . (rule 88)
$default reduce using rule 88 (module_instant)
state 171
primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body . ENDPRIM (rule 6)
ENDPRIM shift, and go to state 199
state 172
prim_body -> UDP_decl . UDP_init table_def (rule 9)
prim_body -> UDP_decl . table_def (rule 10)
INITIAL shift, and go to state 200
TABLE shift, and go to state 201
UDP_init go to state 202
table_def go to state 203
state 173
UDP_decl -> reg_decl . (rule 13)
$default reduce using rule 13 (UDP_decl)
state 174
UDP_decl -> input_decl . (rule 12)
$default reduce using rule 12 (UDP_decl)
state 175
UDP_decl -> output_decl . (rule 11)
$default reduce using rule 11 (UDP_decl)
state 176
exp -> exp . BIN_OP exp (rule 123)
primary -> NAME '[' exp . ']' (rule 125)
BIN_OP shift, and go to state 140
']' shift, and go to state 204
state 177
number -> NUMBER ''' 'b' . NUMBER (rule 129)
NUMBER shift, and go to state 205
state 178
number -> NUMBER ''' 'd' . NUMBER (rule 130)
NUMBER shift, and go to state 206
state 179
number -> NUMBER ''' 'o' . NUMBER (rule 131)
NUMBER shift, and go to state 207
state 180
exp -> UNARY_OP '(' exp . ')' (rule 122)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
')' shift, and go to state 208
state 181
port -> NAME '[' const_exp ':' const_exp . ']' (rule 41)
']' shift, and go to state 209
state 182
exp -> exp . BIN_OP exp (rule 123)
exp -> exp BIN_OP exp . (rule 123)
$default reduce using rule 123 (exp)
state 183
module -> MODULE NAME '(' list_of_ports ')' ';' mod_body ENDMODULE . (rule 36)
$default reduce using rule 36 (module)
state 184
range -> '[' const_exp ':' const_exp . ']' (rule 80)
']' shift, and go to state 210
state 185
net_decl -> NETTYPE range delay list_vars ';' . (rule 79)
$default reduce using rule 79 (net_decl)
state 186
lvalue -> NAME '[' exp ']' . (rule 114)
$default reduce using rule 114 (lvalue)
state 187
dr_strength -> '(' STRENGTH0 ',' STRENGTH1 . ')' (rule 83)
')' shift, and go to state 211
state 188
dr_strength -> '(' STRENGTH1 ',' STRENGTH0 . ')' (rule 84)
')' shift, and go to state 212
state 189
exp_list -> exp_list ',' exp . (rule 118)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 118 (exp_list)
state 190
cont_assign -> ASSIGN dr_strength delay list_assigns ';' . (rule 108)
$default reduce using rule 108 (cont_assign)
state 191
assignment -> lvalue '=' '(' exp . ')' (rule 112)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
')' shift, and go to state 213
state 192
gate_instant -> NAME '(' exp ')' . (rule 69)
$default reduce using rule 69 (gate_instant)
state 193
par_val -> '#' '(' exp ')' . (rule 104)
$default reduce using rule 104 (par_val)
state 194
nam_conn -> '.' NAME . '(' sig_nam ')' (rule 99)
'(' shift, and go to state 214
state 195
mod_inst -> reference '(' list_mod_conn ')' . (rule 92)
$default reduce using rule 92 (mod_inst)
state 196
list_mod_conn -> list_mod_conn ',' . exp (rule 95)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 215
primary go to state 94
number go to state 95
state 197
mod_inst -> reference '(' list_nam_conn ')' . (rule 93)
$default reduce using rule 93 (mod_inst)
state 198
list_nam_conn -> list_nam_conn ',' . nam_conn (rule 97)
'.' shift, and go to state 165
nam_conn go to state 216
state 199
primitive -> PRIMITIVE NAME '(' list_of_vars ')' ';' prim_body ENDPRIM . (rule 6)
$default reduce using rule 6 (primitive)
state 200
UDP_init -> INITIAL . NAME '=' init_val (rule 14)
NAME shift, and go to state 217
state 201
table_def -> TABLE . table_entries ENDTABLE (rule 20)
LEV_SYM shift, and go to state 218
EDGE_SYM shift, and go to state 219
'(' shift, and go to state 220
table_entries go to state 221
combin_entry go to state 222
seq_entry go to state 223
level_in_list go to state 224
edge_in_list go to state 225
edge go to state 226
state 202
prim_body -> UDP_decl UDP_init . table_def (rule 9)
TABLE shift, and go to state 201
table_def go to state 227
state 203
prim_body -> UDP_decl table_def . (rule 10)
$default reduce using rule 10 (prim_body)
state 204
primary -> NAME '[' exp ']' . (rule 125)
$default reduce using rule 125 (primary)
state 205
number -> NUMBER ''' 'b' NUMBER . (rule 129)
$default reduce using rule 129 (number)
state 206
number -> NUMBER ''' 'd' NUMBER . (rule 130)
$default reduce using rule 130 (number)
state 207
number -> NUMBER ''' 'o' NUMBER . (rule 131)
$default reduce using rule 131 (number)
state 208
exp -> UNARY_OP '(' exp ')' . (rule 122)
$default reduce using rule 122 (exp)
state 209
port -> NAME '[' const_exp ':' const_exp ']' . (rule 41)
$default reduce using rule 41 (port)
state 210
range -> '[' const_exp ':' const_exp ']' . (rule 80)
$default reduce using rule 80 (range)
state 211
dr_strength -> '(' STRENGTH0 ',' STRENGTH1 ')' . (rule 83)
$default reduce using rule 83 (dr_strength)
state 212
dr_strength -> '(' STRENGTH1 ',' STRENGTH0 ')' . (rule 84)
$default reduce using rule 84 (dr_strength)
state 213
assignment -> lvalue '=' '(' exp ')' . (rule 112)
$default reduce using rule 112 (assignment)
state 214
nam_conn -> '.' NAME '(' . sig_nam ')' (rule 99)
NAME shift, and go to state 228
'{' shift, and go to state 67
sig_nam go to state 229
concatenation go to state 230
state 215
list_mod_conn -> list_mod_conn ',' exp . (rule 95)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
$default reduce using rule 95 (list_mod_conn)
state 216
list_nam_conn -> list_nam_conn ',' nam_conn . (rule 97)
$default reduce using rule 97 (list_nam_conn)
state 217
UDP_init -> INITIAL NAME . '=' init_val (rule 14)
'=' shift, and go to state 231
state 218
level_in_list -> LEV_SYM . (rule 28)
edge_in_list -> LEV_SYM . edge LEV_SYM (rule 29)
EDGE_SYM shift, and go to state 219
'(' shift, and go to state 220
$default reduce using rule 28 (level_in_list)
edge go to state 232
state 219
edge -> EDGE_SYM . (rule 32)
$default reduce using rule 32 (edge)
state 220
edge -> '(' . LEV_SYM LEV_SYM ')' (rule 31)
LEV_SYM shift, and go to state 233
state 221
table_def -> TABLE table_entries . ENDTABLE (rule 20)
table_entries -> table_entries . combin_entry (rule 21)
table_entries -> table_entries . seq_entry (rule 23)
ENDTABLE shift, and go to state 234
LEV_SYM shift, and go to state 218
EDGE_SYM shift, and go to state 219
'(' shift, and go to state 220
combin_entry go to state 235
seq_entry go to state 236
level_in_list go to state 224
edge_in_list go to state 225
edge go to state 226
state 222
table_entries -> combin_entry . (rule 22)
$default reduce using rule 22 (table_entries)
state 223
table_entries -> seq_entry . (rule 24)
$default reduce using rule 24 (table_entries)
state 224
combin_entry -> level_in_list . ':' OUT_SYM ';' (rule 25)
seq_entry -> level_in_list . ':' state ':' next_state ';' (rule 26)
':' shift, and go to state 237
state 225
seq_entry -> edge_in_list . ':' state ':' next_state ';' (rule 27)
':' shift, and go to state 238
state 226
edge_in_list -> edge . (rule 30)
$default reduce using rule 30 (edge_in_list)
state 227
prim_body -> UDP_decl UDP_init table_def . (rule 9)
$default reduce using rule 9 (prim_body)
state 228
sig_nam -> NAME . (rule 100)
sig_nam -> NAME . '[' exp ']' (rule 101)
sig_nam -> NAME . '[' exp ':' exp ']' (rule 102)
'[' shift, and go to state 239
$default reduce using rule 100 (sig_nam)
state 229
nam_conn -> '.' NAME '(' sig_nam . ')' (rule 99)
')' shift, and go to state 240
state 230
sig_nam -> concatenation . (rule 103)
$default reduce using rule 103 (sig_nam)
state 231
UDP_init -> INITIAL NAME '=' . init_val (rule 14)
'1' shift, and go to state 241
'0' shift, and go to state 242
init_val go to state 243
state 232
edge_in_list -> LEV_SYM edge . LEV_SYM (rule 29)
LEV_SYM shift, and go to state 244
state 233
edge -> '(' LEV_SYM . LEV_SYM ')' (rule 31)
LEV_SYM shift, and go to state 245
state 234
table_def -> TABLE table_entries ENDTABLE . (rule 20)
$default reduce using rule 20 (table_def)
state 235
table_entries -> table_entries combin_entry . (rule 21)
$default reduce using rule 21 (table_entries)
state 236
table_entries -> table_entries seq_entry . (rule 23)
$default reduce using rule 23 (table_entries)
state 237
combin_entry -> level_in_list ':' . OUT_SYM ';' (rule 25)
seq_entry -> level_in_list ':' . state ':' next_state ';' (rule 26)
OUT_SYM shift, and go to state 246
LEV_SYM shift, and go to state 247
state go to state 248
state 238
seq_entry -> edge_in_list ':' . state ':' next_state ';' (rule 27)
LEV_SYM shift, and go to state 247
state go to state 249
state 239
sig_nam -> NAME '[' . exp ']' (rule 101)
sig_nam -> NAME '[' . exp ':' exp ']' (rule 102)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 250
primary go to state 94
number go to state 95
state 240
nam_conn -> '.' NAME '(' sig_nam ')' . (rule 99)
$default reduce using rule 99 (nam_conn)
state 241
init_val -> '1' . ''' 'b' '0' (rule 15)
init_val -> '1' . ''' 'b' '1' (rule 16)
init_val -> '1' . ''' 'b' 'x' (rule 17)
init_val -> '1' . (rule 18)
''' shift, and go to state 251
$default reduce using rule 18 (init_val)
state 242
init_val -> '0' . (rule 19)
$default reduce using rule 19 (init_val)
state 243
UDP_init -> INITIAL NAME '=' init_val . (rule 14)
$default reduce using rule 14 (UDP_init)
state 244
edge_in_list -> LEV_SYM edge LEV_SYM . (rule 29)
$default reduce using rule 29 (edge_in_list)
state 245
edge -> '(' LEV_SYM LEV_SYM . ')' (rule 31)
')' shift, and go to state 252
state 246
combin_entry -> level_in_list ':' OUT_SYM . ';' (rule 25)
';' shift, and go to state 253
state 247
state -> LEV_SYM . (rule 33)
$default reduce using rule 33 (state)
state 248
seq_entry -> level_in_list ':' state . ':' next_state ';' (rule 26)
':' shift, and go to state 254
state 249
seq_entry -> edge_in_list ':' state . ':' next_state ';' (rule 27)
':' shift, and go to state 255
state 250
sig_nam -> NAME '[' exp . ']' (rule 101)
sig_nam -> NAME '[' exp . ':' exp ']' (rule 102)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
':' shift, and go to state 256
']' shift, and go to state 257
state 251
init_val -> '1' ''' . 'b' '0' (rule 15)
init_val -> '1' ''' . 'b' '1' (rule 16)
init_val -> '1' ''' . 'b' 'x' (rule 17)
'b' shift, and go to state 258
state 252
edge -> '(' LEV_SYM LEV_SYM ')' . (rule 31)
$default reduce using rule 31 (edge)
state 253
combin_entry -> level_in_list ':' OUT_SYM ';' . (rule 25)
$default reduce using rule 25 (combin_entry)
state 254
seq_entry -> level_in_list ':' state ':' . next_state ';' (rule 26)
OUT_SYM shift, and go to state 259
next_state go to state 260
state 255
seq_entry -> edge_in_list ':' state ':' . next_state ';' (rule 27)
OUT_SYM shift, and go to state 259
next_state go to state 261
state 256
sig_nam -> NAME '[' exp ':' . exp ']' (rule 102)
NAME shift, and go to state 88
NUMBER shift, and go to state 89
UNARY_OP shift, and go to state 90
'{' shift, and go to state 67
concatenation go to state 92
exp go to state 262
primary go to state 94
number go to state 95
state 257
sig_nam -> NAME '[' exp ']' . (rule 101)
$default reduce using rule 101 (sig_nam)
state 258
init_val -> '1' ''' 'b' . '0' (rule 15)
init_val -> '1' ''' 'b' . '1' (rule 16)
init_val -> '1' ''' 'b' . 'x' (rule 17)
'1' shift, and go to state 263
'0' shift, and go to state 264
'x' shift, and go to state 265
state 259
next_state -> OUT_SYM . (rule 34)
$default reduce using rule 34 (next_state)
state 260
seq_entry -> level_in_list ':' state ':' next_state . ';' (rule 26)
';' shift, and go to state 266
state 261
seq_entry -> edge_in_list ':' state ':' next_state . ';' (rule 27)
';' shift, and go to state 267
state 262
sig_nam -> NAME '[' exp ':' exp . ']' (rule 102)
exp -> exp . BIN_OP exp (rule 123)
BIN_OP shift, and go to state 140
']' shift, and go to state 268
state 263
init_val -> '1' ''' 'b' '1' . (rule 16)
$default reduce using rule 16 (init_val)
state 264
init_val -> '1' ''' 'b' '0' . (rule 15)
$default reduce using rule 15 (init_val)
state 265
init_val -> '1' ''' 'b' 'x' . (rule 17)
$default reduce using rule 17 (init_val)
state 266
seq_entry -> level_in_list ':' state ':' next_state ';' . (rule 26)
$default reduce using rule 26 (seq_entry)
state 267
seq_entry -> edge_in_list ':' state ':' next_state ';' . (rule 27)
$default reduce using rule 27 (seq_entry)
state 268
sig_nam -> NAME '[' exp ':' exp ']' . (rule 102)
$default reduce using rule 102 (sig_nam)
state 269
$ go to state 270
state 270
$default accept