blob: 2219315a735458879cd01c685384ade07cc8c9be [file] [log] [blame] [edit]
module test;
reg [1:0] r1, r2;
initial begin
r1 = 2'd2;
r2 = 2'd0;
if (r1 || r2)
$display("PASSED");
else
$display("FAILED");
r1 = 2'd2;
r2 = 2'd1;
if (r1 && r2)
$display("PASSED");
else
$display("FAILED");
end
endmodule