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 389474c + ded31d0 commit b0629ebCopy full SHA for b0629eb
regression/verilog/expressions/negation1.sv
@@ -8,4 +8,7 @@ module main;
8
property06: assert final (!2'bxx===1'bx);
9
property07: assert final (!1'bz===1'bx);
10
11
+ // expression type contexts do not pass through !
12
+ initial assert(!(1'b1 + 1'b1) == 1);
13
+
14
endmodule
regression/verilog/expressions/unary_minus1.sv
@@ -3,4 +3,7 @@ module main;
3
// Any arithmetic with x or z returns x.
4
initial assert(-32'bz === 32'hxxxx_xxxx);
5
6
+ // Downwards type propagation passes through unary minus.
7
+ initial assert(-(1'sb1 + 1'sb1) == 2);
0 commit comments