anchor.diff:      //*************************** alignment operation FSM *****************
       rule afsminit_rule if (bvi_resets_reg.read() == 0);
           serdes_bitslip.send(0);
  -        ctrl_samplein_i <= 3'b000;
  +        ctrl_samplein_i <= 0;
           edge_init <= 0;
           data_init <= 0;
           data_init1 <= 0;
  
positive.code:         if (retrycounter >= 'h8000)
              begin
              let mc = maxcount;
              let cric = 3'b011;
              retrycounter <= retrycounter - 1;
              if (edge_int != 0)
                  begin
  
negative.code:                 begin
                  gencounter <= gencounter - 1;
                  serdes_bitslip.send(1);
                  serdes_setting.enq(2'b00);
                  end
              end
          astate <= as;
  