anchor.diff:     endrule
   
      rule checkMmuResp;
  -      let req = clientRequest.first.req;
  -      let client = clientRequest.first.client;
  +      let request <- toGet(clientRequest).get;
  +      let req = request.req;
  +      let client = request.client;
         let physAddr <- mmus[req.sglId[31:16]].response.get;
         let rename_tag <- tag_gen.getTag;
  -      clientRequest.deq();
         serverRequest.enq(RRec{req:req, pa:physAddr, client:client, rename_tag:extend(rename_tag)});
         //if (verbose) $display("mkMemWriteInternal::checkMmuResp: client=%d, rename_tag=%d", client,rename_tag);
         if (verbose) $display("mkMemWriteInternal::mmuResp %d %d", client, cycle_cnt-last_mmuResp);
  
positive.code:    interface PhysMemWriteClient client;
        interface Get writeReq;
  	 method ActionValue#(PhysMemRequest#(addrWidth)) get();
  	    let req = serverRequest.first.req;
  	    let physAddr = serverRequest.first.pa;
  	    let client = serverRequest.first.client;
  	    let rename_tag = serverRequest.first.rename_tag;
  	    serverRequest.deq;
  	    serverProcessing.enq(DRec{req_tag:req.tag, req_burstLen: req.burstLen, client:client, rename_tag:rename_tag, last: (req.burstLen == fromInteger(valueOf(dataWidthBytes))) });
  	    //$display("mkMemWriteInternal::writeReq: client=%d, rename_tag=%d", client,rename_tag);
  	    return PhysMemRequest{addr:physAddr, burstLen:req.burstLen, tag:extend(rename_tag)};
  
negative.code:       let error <- toGet(dmaErrorFifo).get();
        ind.error(extend(pack(error.errorType)), error.pref, 0, 0);
     endrule
           
     rule checkMmuResp;
        let request <- toGet(clientRequest).get();
        let physAddr <- mmus[request.req.sglId[31:16]].response.get;
        let rename_tag <- tag_gen.getTag;
        serverRequest.enq(RRec{req:request.req, pa:physAddr, client:request.client, rename_tag:extend(rename_tag)});
        if (verbose) $display("mkMemReadInternal::checkMmuResp: client=%d, rename_tag=%d", request.client,rename_tag);
        if (verbose) $display("mkMemReadInternal::mmuResp %d %d", request.client, cycle_cnt-last_mmuResp);
        last_mmuResp <= cycle_cnt;
     endrule
     
  