From 5c27ff3c3b1d0071de94bb8fce0fe84f5091877b Mon Sep 17 00:00:00 2001 From: esmeii Date: Tue, 5 Sep 2023 17:38:09 +0900 Subject: [PATCH] RemotePort declaration --- go.mod | 2 +- timing/rob/rob.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index d789fb00..8d9fc071 100644 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ require ( // replace github.com/syifan/goseth => ../goseth -// replace github.com/sarchlab/akita/v3 => ../akita +replace github.com/sarchlab/akita/v4 => ../akita // replace github.com/sarchlab/mgpusim/v3/noc/ => ../noc diff --git a/timing/rob/rob.go b/timing/rob/rob.go index ff8101dd..58bde7e5 100644 --- a/timing/rob/rob.go +++ b/timing/rob/rob.go @@ -23,7 +23,7 @@ type ReorderBuffer struct { bottomPort sim.Port controlPort sim.Port - BottomUnit sim.Port + RemotePort sim.Port //RemotePort bufferSize int numReqPerCycle int @@ -255,7 +255,7 @@ func (b *ReorderBuffer) duplicateReadReq(req *mem.ReadReq) *mem.ReadReq { WithAddress(req.Address). WithByteSize(req.AccessByteSize). WithPID(req.PID). - WithDst(b.BottomUnit). + WithDst(b.RemotePort). Build() } @@ -265,7 +265,7 @@ func (b *ReorderBuffer) duplicateWriteReq(req *mem.WriteReq) *mem.WriteReq { WithPID(req.PID). WithData(req.Data). WithDirtyMask(req.DirtyMask). - WithDst(b.BottomUnit). + WithDst(b.RemotePort). Build() }