anchor.diff:           debug_from_host <= host_data;
   
            if (host_data[52] == 0) begin
  -//             Bit#(52) tmp;
  -//              if (is_switch_mode) begin
  -//                tmp = c_global[51:0] + 1;
  -//             end
  -//             else begin
  -//                tmp = c_local[51:0] + 1;
  -//             end
                Bit#(52) tmp = c_local[51:0] + 1;
                encodeOut = {1'b0, tmp, log_type, block_type};
                if(verbose) $display("%d: %d, sending a log message %d", cycle, id, tmp);
  
positive.code:       if(verbose) $display("%d: isGR=%d, isGL=%d, isLR=%d, isLG=%d, isRG=%d, isRL=%d", cycle, isGR, isGL, isLR, isLG, isRG, isRL);
        if (isGR && isGL) begin
           c_local_next <= v_global + global_delay;
  //        err = True;
        end
        else if (isLR && isLG) begin
           c_local_next <= v_local + 1;
  
negative.code:    FIFOF#(Bit#(53)) cLocalFifo   <- mkSizedFIFOF(1);
     FIFOF#(Bit#(32)) intervalFifo <- mkSizedFIFOF(1);
  
     rule cyc;
        cycle <= cycle + 1;
     endrule
  