module p_unpack_start_stop #( parameter PipeSpec = `PS_def ) (
        inout [`P_m(PipeSpec):0] pipe,
        output                   start,
        output                   stop
    );

    generate
        if ( `P_Start_w( PipeSpec ) )
            assign start = pipe[ `P_Start_b(PipeSpec) ];
        else
            assign start = 1'B0;
        if ( `P_Stop_w( PipeSpec ) )
            assign stop  = pipe[ `P_Stop_b(PipeSpec) ];
        else
            assign stop = 1'B0;
    endgenerate

endmodule