Skip to content

Commit

Permalink
[rtl] fix the stall of sourceQueue.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li authored and sequencer committed May 25, 2024
1 parent 5e9c898 commit 98e4c7a
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 @@ -399,7 +399,7 @@ class LSU(param: LSUParameter) extends Module {

// 选出一个请求连到 a 通道上
val selectBits = Mux1H(requestSelect, Seq(loadUnit.tlPortA.bits, storeRequest.bits, otherUnit.tlPort.a.bits))
port.valid := storeRequest.valid || ((loadTryToUse || otherTryToUse) && portFree)
port.valid := (storeRequest.valid || ((loadTryToUse || otherTryToUse) && portFree)) && sourceQueue.io.enq.ready
port.bits := selectBits
port.bits.source := selectIndex

Expand Down

0 comments on commit 98e4c7a

Please sign in to comment.