Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions regression/verilog/expressions/power3.desc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
KNOWNBUG
CORE broken-smt-backend
power3.sv

^EXIT=0$
^SIGNAL=0$
--
^warning: ignoring
--
The result is wrong.
8 changes: 4 additions & 4 deletions regression/verilog/expressions/power3.sv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module main;

// Any arithmetic with x or z returns x.
initial assert('bx ** 1 === 'x);
initial assert('bz ** 1 === 'x);
initial assert(1 ** 'bx === 'x);
initial assert(1 ** 'bz === 'x);
initial assert('bx ** 1 === 32'hxxxx_xxxx);
initial assert('bz ** 1 === 32'hxxxx_xxxx);
initial assert(1 ** 'bx === 32'hxxxx_xxxx);
initial assert(1 ** 'bz === 32'hxxxx_xxxx);

endmodule
Loading