Skip to content

Commit

Permalink
RemotePort declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
esmeii committed Sep 5, 2023
1 parent a4c4159 commit 5c27ff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions timing/rob/rob.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type ReorderBuffer struct {
bottomPort sim.Port
controlPort sim.Port

BottomUnit sim.Port
RemotePort sim.Port //RemotePort

bufferSize int
numReqPerCycle int
Expand Down Expand Up @@ -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()
}

Expand All @@ -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()
}

Expand Down

0 comments on commit 5c27ff3

Please sign in to comment.