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.
1 parent edcbc8d commit 11d1dc0Copy full SHA for 11d1dc0
regression/verilog/expressions/shl4.sv
@@ -9,4 +9,7 @@ module main;
9
assert final (1'b1 << 6 === 64);
10
assert final (1'b1 << 6 === 1'b0);
11
12
+ // The shift will have 16 bits!
13
+ initial assert(8'b0 + (1'sb1 << 15) === 16'b1000_0000_0000_0000);
14
+
15
endmodule
0 commit comments