Display portion of the variable

In reply to megamind:

$display("var = %x",var_64[31:0]);
$display("var = %x",32'(var_64));