File tree 2 files changed +12
-0
lines changed
regression/verilog/interface
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ interface myInterface;
2
2
endinterface
3
3
4
4
module main ;
5
+ myInterface some_interface;
5
6
endmodule
Original file line number Diff line number Diff line change @@ -986,6 +986,7 @@ port_direction:
986
986
987
987
module_common_item:
988
988
module_or_generate_item_declaration
989
+ | interface_instantiation
989
990
| assertion_item
990
991
| bind_directive
991
992
| continuous_assign
@@ -3021,6 +3022,16 @@ named_port_connection:
3021
3022
mto ($$, $4 ); }
3022
3023
;
3023
3024
3025
+ hierarchical_instance: name_of_instance
3026
+ ;
3027
+
3028
+ // System Verilog standard 1800-2017
3029
+ // A.4.1.2 Interface instantiation
3030
+
3031
+ interface_instantiation:
3032
+ interface_identifier hierarchical_instance ' ;'
3033
+ ;
3034
+
3024
3035
// System Verilog standard 1800-2017
3025
3036
// A.4.2 Generated instantiation
3026
3037
You can’t perform that action at this time.
0 commit comments