anchor.diff:  
       //*************************** alignment operation FSM *****************
       rule afsminit_rule if (bvi_resets_reg.read() == 0);
  -        ctrl_reset_inc_ce <= 3'b100;
           serdes_bitslip.send(0);
           ctrl_samplein_i <= 3'b000;
           edge_init <= 0;
           data_init <= 0;
  +        data_init1 <= 0;
  +        data_init2 <= 0;
           maxcount <= -1;
           windowcount <= 0;
           retrycounter <= -1;
  
positive.code:         if (ctrl_data != training)
              begin
              gencounter <= 8;
              serdes_bitslip.send(1);
              as = AAlign;
              ctrl_reset_inc_ce <= 3'b000;
              serdes_setting.enq(1);
              end
          astate <= as;
      endrule
  
negative.code:                 as = AEdge;
                  end
              maxcount <= mc;
              serdes_setting.enq(cric);
              end
          else
              begin
  