blob: f2fccf89cb5f8b101ffcdc984bd7aa4570289349 [file] [log] [blame]
/*
* Based on PR#585.
*/
module main();
reg [7:0] ram_temp;
reg mem;
initial begin
ram_temp = 8'h08;
mem = (ram_temp & 8'h08) >> 3;
$write("Calculated: %b\nActually in mem: %b\n",((ram_temp & 8'h08) >> 3),
mem);
if (mem !== 1'b1) begin
$display("FAILED == mem = %b", mem);
$finish;
end
$display("PASSED");
$finish;
end
endmodule