Author Name: Clifford Wolf (@cliffordwolf)
Original Redmine Issue: 733 from https://www.veripool.org
Original Date: 2014-04-06
The following module should output 4'b1111 but Verilator GIT 14fcfd8 outputs 4'b0001 instead.
module issue_005(y);
wire [3:0] a;
output [3:0] y;
assign a = 4'b0010;
assign y = $signed(|a);
endmodule
A self-contained test can be found here:
http://svn.clifford.at/handicraft/2014/verilatortest/ test003.{v,cc,sh}
Author Name: Clifford Wolf (@cliffordwolf)
Original Redmine Issue: 733 from https://www.veripool.org
Original Date: 2014-04-06
The following module should output 4'b1111 but Verilator GIT 14fcfd8 outputs 4'b0001 instead.
A self-contained test can be found here:
http://svn.clifford.at/handicraft/2014/verilatortest/ test003.{v,cc,sh}