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 214fc99 + 92c8150 commit fe49803Copy full SHA for fe49803
regression/verilog/for/for_with_reg.desc
@@ -0,0 +1,7 @@
1
+KNOWNBUG
2
+for_with_reg.v
3
+--bound 0
4
+^EXIT=0$
5
+^SIGNAL=0$
6
+--
7
+^warning: ignoring
regression/verilog/for/for_with_reg.v
@@ -0,0 +1,14 @@
+module main(input [7:0] data);
+
+ reg [31:0] counter;
+ reg is_zero;
+ always @data begin
+ is_zero = 1;
8
+ for(counter = 0; counter < 8; counter = counter + 1)
9
+ is_zero = is_zero && (data[counter] == 0);
10
+ end
11
12
+ always assert a1: is_zero == (data == 0);
13
14
+endmodule
0 commit comments