File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
regression/verilog/modules Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ CORE
2
+ parameter_ports3.v
3
+ --bound 0
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ --
7
+ The type of the parameter needs to be processed.
Original file line number Diff line number Diff line change
1
+ module sub #(parameter p = 1 , localparam derived = p+ 1 )();
2
+
3
+ always assert p1: derived == 124 ;
4
+
5
+ endmodule
6
+
7
+ module main ;
8
+
9
+ sub #(123 ) submodule ();
10
+
11
+ endmodule // main
Original file line number Diff line number Diff line change @@ -1537,6 +1537,8 @@ list_of_variable_identifiers:
1537
1537
parameter_port_declaration :
1538
1538
TOK_PARAMETER data_type_or_implicit param_assignment
1539
1539
{ $$ = $3 ; }
1540
+ | TOK_LOCALPARAM data_type_or_implicit param_assignment
1541
+ { $$ = $3 ; }
1540
1542
| data_type param_assignment
1541
1543
{ $$ = $2 ; }
1542
1544
| param_assignment
You can’t perform that action at this time.
0 commit comments