Skip to content

Commit

Permalink
[rtl] Fix the arrival time of lsu's lastreport.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Dec 24, 2024
1 parent 0ed15ef commit 444d8c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t1/src/T1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,10 @@ class T1(val parameter: T1Parameter)
maskUnit.io.v0UpdateVec(index) <> lane.v0Update
lsu.v0UpdateVec(index) <> lane.v0Update

lane.lsuLastReport := lsu.lastReport | maskUnit.io.lastReport
// Must arrive after the instruction request
val lsuLastPipe: UInt = Pipe(true.B, lsu.lastReport, parameter.laneRequestShifterSize(index)).bits
val maskLastPipe: UInt = Pipe(true.B, maskUnit.io.lastReport, parameter.laneRequestShifterSize(index)).bits
lane.lsuLastReport := lsuLastPipe | maskLastPipe

lane.loadDataInLSUWriteQueue := lsu.dataInWriteQueue(index)
// 2 + 3 = 5
Expand Down

0 comments on commit 444d8c8

Please sign in to comment.