module p_unpack_rev_data_size #( parameter PipeSpec = `PS_def ) (
        inout [`P_m(PipeSpec):0]            pipe,
        input [`P_RevDataSize_w(PipeSpec)-1:0] rev_data_size
    );

    if ( `PS_Reverse_v( PipeSpec ) ) begin
        if ( `P_RevDataSize_w( PipeSpec ) )
            assign pipe[`P_RevDataSize_m(PipeSpec):`P_RevDataSize_l(PipeSpec)] = rev_data_size;
    end

endmodule