File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
regression/verilog/expressions Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ KNOWNBUG
2
+ wildcard_equality1.sv
3
+ --bound 0
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ --
7
+ ^warning: ignoring
8
+ --
9
+ Missing SystemVerilog wildcard equality implementation.
Original file line number Diff line number Diff line change
1
+ module main ;
2
+
3
+ // wildcard equality operator
4
+ // 1800-2017 11.4.6
5
+ property01 : assert final ((10 == ? 10 )=== 1 );
6
+ property02 : assert final ((10 == ? 20 )=== 0 );
7
+ property03 : assert final ((10 != ? 20 )=== 1 );
8
+ property04 : assert final ((10 == ? 20 )=== 0 );
9
+ property05 : assert final ((2'b00 == ? 2'b0x )=== 1 );
10
+ property06 : assert final ((2'b10 == ? 2'b0x )=== 0 );
11
+ property07 : assert final ((2'b00 != ? 2'b0x )=== 0 );
12
+ property08 : assert final ((2'b10 != ? 2'b0x )=== 1 );
13
+ property09 : assert final ((1'sb1 == ? 2'b11 )=== 0 ); // zero extension
14
+ property10 : assert final ((1'sb1 == ? 2'sb11 )=== 1 ); // sign extension
15
+
16
+ endmodule
You can’t perform that action at this time.
0 commit comments