File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ def p_modulename(self, p):
111111 'modulename : ID'
112112 p [0 ] = p [1 ]
113113
114+ def p_modulename_or (self , p ):
115+ 'modulename : SENS_OR' # or primitive
116+ p [0 ] = p [1 ]
117+
114118 def p_paramlist (self , p ):
115119 'paramlist : DELAY LPAREN params RPAREN'
116120 p [0 ] = Paramlist (params = p [3 ])
@@ -1311,6 +1315,10 @@ def p_instance(self, p):
13111315 'instance : ID parameterlist ID LPAREN instance_ports RPAREN SEMICOLON'
13121316 p [0 ] = Instance (p [1 ], p [3 ], p [5 ], p [2 ])
13131317
1318+ def p_instance_or (self , p ):
1319+ 'instance : SENS_OR parameterlist ID LPAREN instance_ports RPAREN SEMICOLON'
1320+ p [0 ] = Instance (p [1 ], p [3 ], p [5 ], p [2 ])
1321+
13141322 def p_parameterlist (self , p ):
13151323 'parameterlist : DELAY LPAREN param_args RPAREN'
13161324 p [0 ] = p [3 ]
You can’t perform that action at this time.
0 commit comments