anchor.diff:          this_start_align_reg.deq();
           windowcount <= 0;
           retrycounter <= 32765;
  -        start_handshake.enq(1);
  +        serdes_setting.enq(1);
           ctrl_reset_inc_ce <= 3'b100;
           maxcount <= 31;
           ctrl_samplein_i <= 3'b000;
  
positive.code:     endrule
      rule afsmcedge_rule if (bvi_resets_reg.read() != 0 && astate == ACEdge);
          let as = AIdle;
          let mc = maxcount;
          if (retrycounter >= 'h8000)
              begin
              let cric = 3'b011;
              retrycounter <= retrycounter - 1;
              start_handshake.enq(1);
              if (edge_intor_reg == 1)
                  begin
                  data_init <= ctrl_data;
  
negative.code:             astate <= AStart;
          else
              begin
              serdes_setting.enq(1);
              ctrl_reset_inc_ce <= 3'b011;
              gencounter <= gencounter - 1;
              end
  