Skip to content

Commit e1ed62f

Browse files
authored
Merge pull request #1495 from diffblue/multiple_instances1
Verilog: test for gate instantiation with multiple instances
2 parents 12187bc + 8e0705b commit e1ed62f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
multiple_instances1.sv
3+
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
--
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module main;
2+
3+
wire w1, w2;
4+
5+
and a1(w1, 1, 1), a2(w2, 1, 0);
6+
7+
initial assert(w1==1);
8+
initial assert(w2==0);
9+
10+
endmodule

0 commit comments

Comments
 (0)