anchor.diff:     // send delay measurement to host
      Vector#(4, SyncFIFOIfc#(Bit#(32))) delayFifo <- replicateM(mkSyncFIFO(8, clk_156_25, rst_156_n, defaultClock));
      for (Integer i=0; i<4; i=i+1) begin
  -//      mkConnection(net.phys[i].delayOut, toPipeIn(delayFifo[i]));
         mkConnection(net.phys[i].delayOut, toPipeIn(delayFifo[i]));
  -      mkConnection(toPipeOut(delayFifo[i]), toPipeIn(tDelayFifo[i]));
      end
   
      // send dtp state to host
  
positive.code:    Vector#(4, Reg#(Bit#(32))) delay_reg <- replicateM(mkReg(0));
     for (Integer i=0; i<4; i=i+1) begin
        rule snapshot_delay;
           let v <- toGet(tDelayFifo[i]).get;
           delay_reg[i] <= v;
        endrule
     end
  
negative.code:       cycle_count <= cycle_count + 1;
     endrule
  
     // clear all fifo on reset
     rule clearOnReset(dtpResetOut.isAsserted);
        for (Integer i=0; i<4; i=i+1) begin
           lread_data_cycle1[i].clear();
           lread_data_cycle2[i].clear();
           lread_data_timestamp[i].clear();
  