File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
regression/verilog/interface Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ interface myInterface;
22endinterface
33
44module main ;
5+ myInterface some_interface;
56endmodule
Original file line number Diff line number Diff line change @@ -986,6 +986,7 @@ port_direction:
986986
987987module_common_item:
988988 module_or_generate_item_declaration
989+ | interface_instantiation
989990 | assertion_item
990991 | bind_directive
991992 | continuous_assign
@@ -3021,6 +3022,16 @@ named_port_connection:
30213022 mto ($$, $4 ); }
30223023 ;
30233024
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+
30243035// System Verilog standard 1800-2017
30253036// A.4.2 Generated instantiation
30263037
You can’t perform that action at this time.
0 commit comments