Skip to content

Commit

Permalink
[rtl] fix source with for load unit source queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Nov 21, 2024
1 parent a5df36a commit e1eb983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/lsu/LSU.scala
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class LSU(param: LSUParameter) extends Module {
p := VecInit(queueCount.map(_ =/= 0.U)).asUInt | dataInMSHR
}

val sourceQueue = Queue.io(UInt(param.mshrParam.sourceWidth.W), param.sourceQueueSize)
val sourceQueue = Queue.io(UInt(param.mshrParam.cacheLineIndexBits.W), param.sourceQueueSize)
// load unit connect
axi4Port.ar.valid := loadUnit.memRequest.valid && sourceQueue.enq.ready
axi4Port.ar.bits <> DontCare
Expand Down

0 comments on commit e1eb983

Please sign in to comment.