Skip to content

Commit 88588ee

Browse files
committed
Verilog: KNOWNBUG test for negation
1 parent f25aad5 commit 88588ee

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
negation1.sv
3+
--bound 0
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
--
9+
Lowering for negation on three-valued logic is missing.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module main;
2+
3+
property01: assert final (!0===1);
4+
property02: assert final (!1===0);
5+
property03: assert final (!2===0);
6+
property04: assert final ($bits(!4'd1)==1);
7+
property05: assert final (!1'bx===1'bx);
8+
property06: assert final (!2'bxx===1'bx);
9+
property07: assert final (!1'bz===1'bx);
10+
11+
endmodule

0 commit comments

Comments
 (0)