Skip to content

Commit 0f7cfc1

Browse files
authored
Merge pull request #1349 from diffblue/power3-works
Verilog: make power3 test work
2 parents 24b77e9 + 2e605e5 commit 0f7cfc1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
KNOWNBUG
1+
CORE broken-smt-backend
22
power3.sv
33

44
^EXIT=0$
55
^SIGNAL=0$
66
--
77
^warning: ignoring
88
--
9-
The result is wrong.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module main;
22

33
// Any arithmetic with x or z returns x.
4-
initial assert('bx ** 1 === 'x);
5-
initial assert('bz ** 1 === 'x);
6-
initial assert(1 ** 'bx === 'x);
7-
initial assert(1 ** 'bz === 'x);
4+
initial assert('bx ** 1 === 32'hxxxx_xxxx);
5+
initial assert('bz ** 1 === 32'hxxxx_xxxx);
6+
initial assert(1 ** 'bx === 32'hxxxx_xxxx);
7+
initial assert(1 ** 'bz === 32'hxxxx_xxxx);
88

99
endmodule

0 commit comments

Comments
 (0)