We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 106dac2 + 90c803b commit d539aa9Copy full SHA for d539aa9
regression/verilog/assignments/implicit_declaration1.desc
@@ -0,0 +1,9 @@
1
+KNOWNBUG
2
+implicit_declaration1.sv
3
+
4
+^EXIT=0$
5
+^SIGNAL=0$
6
+--
7
+^warning: ignoring
8
9
+This gives the wrong answer.
regression/verilog/assignments/implicit_declaration1.sv
@@ -0,0 +1,11 @@
+module main;
+ // 1800-2017 6.10: continuous assignment statements can trigger an
+ // implicit declaration of a "scalar net of default net type".
+ assign some_net0 = 'b10;
+ assign some_net1 = 'b11;
+ initial assert($bits(some_net0) == 1 && some_net0 == 0);
+ initial assert($bits(some_net1) == 1 && some_net1 == 1);
10
11
+endmodule
0 commit comments