File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
regression/verilog/modules Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ KNOWNBUG
2+ instance_array2.sv
3+
4+ ^file .* line 9: no support for instance arrays$
5+ ^EXIT=2$
6+ ^SIGNAL=0$
7+ --
8+ --
9+ This does not parse.
Original file line number Diff line number Diff line change 1+ // 1800-2017 23.3.3.5
2+
3+ module sub (input i);
4+ endmodule
5+
6+ module main ;
7+
8+ sub my_instance [8 :1 ](8'b1111_0000 );
9+
10+ initial # 1 assert (my_instance[1 ].i == 0 );
11+ initial # 1 assert (my_instance[2 ].i == 0 );
12+ initial # 1 assert (my_instance[3 ].i == 0 );
13+ initial # 1 assert (my_instance[4 ].i == 0 );
14+ initial # 1 assert (my_instance[5 ].i == 1 );
15+ initial # 1 assert (my_instance[6 ].i == 1 );
16+ initial # 1 assert (my_instance[7 ].i == 1 );
17+ initial # 1 assert (my_instance[8 ].i == 1 );
18+
19+ endmodule
You can’t perform that action at this time.
0 commit comments