module p_unpack_rev_start_stop #( parameter PipeSpec = `PS_def ) (
        inout [`P_m(PipeSpec):0] pipe,
        input                    rev_start,
        input                    rev_stop
    );

    if ( `PS_Reverse_v( PipeSpec ) ) begin
        if ( `P_RevStart_w( PipeSpec ) )
            assign pipe[ `P_RevStart_l(PipeSpec) ] = rev_start;
        if ( `P_RevStop_w( PipeSpec ) )
            assign pipe[ `P_RevStop_l(PipeSpec) ]  = rev_stop;
    end

endmodule