Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtl] fix source with for load unit source queue. #859

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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