module p_pack_request #( parameter PipeSpec = `PS_def ) (
        output [`P_Request_w(PipeSpec)-1:0] request,
        inout [`P_m(PipeSpec):0]      pipe
    );

    generate
        if ( `P_Request_w( PipeSpec ) )
            assign request  = pipe[ `P_Request_m(PipeSpec):`P_Request_l(PipeSpec) ];
    endgenerate

endmodule