anchor.diff:  		 tlp.data = pack(hdr_3dw);
   	      end
   	      tlpWriteHeaderFifo.enq(tlp);
  +	      writeDwCountFifo.enq(tlplen);
  +	      writeIs3dwFifo.enq(writeIs3dw);
   	      writeBurstCount <= zeroExtend(burstLen);
   	      writeTag.enq(extend(awid));
              endmethod
  
positive.code:     endfunction
  
     rule writeHeaderTlp if (!writeInProgress && writeDataMimo.deqReadyN(1));
        let tlp = tlpWriteHeaderFifo.first;
  
        TLPMemory4DWHeader hdr_4dw = unpack(tlp.data);
        TLPLength dwCount = hdr_4dw.length;
  
        TLPMemoryIO3DWHeader hdr_3dw = unpack(tlp.data);
        if (hdr_3dw.format == MEM_WRITE_3DW_DATA) begin
  	 dwCount = hdr_3dw.length;
  	 Vector#(4, Bit#(32)) v = writeDataMimo.first();
  	 writeDataMimo.deq(1);
  	 hdr_3dw.data = byteSwap(v[0]);
  
negative.code: // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  // SOFTWARE.
  
  import FIFO         :: *;
  import FIFOF        :: *;
  import GetPut       :: *;
  import Connectable  :: *;
  