Skip to content

Commit

Permalink
[rtl] fix source for SimpleAccessUnit.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Jul 10, 2024
1 parent ac9db6b commit c4c7f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t1/src/lsu/LSU.scala
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ class LSU(param: LSUParameter) extends Module {
otherUnit.memReadResponse.bits.source := simpleSourceQueue.io.deq.bits
simpleAccessPorts.r.ready := otherUnit.memReadResponse.ready

simpleSourceQueue.io.enq.valid := otherUnit.memReadResponse.valid && simpleAccessPorts.ar.ready
simpleSourceQueue.io.enq.bits := otherUnit.memReadResponse.bits.source
simpleSourceQueue.io.enq.valid := otherUnit.memReadRequest.valid && simpleAccessPorts.ar.ready
simpleSourceQueue.io.enq.bits := otherUnit.memReadRequest.bits.source
simpleSourceQueue.io.deq.ready := simpleAccessPorts.r.fire

val simpleDataQueue: Queue[SimpleMemWrite] = Module(new Queue(chiselTypeOf(otherUnit.memWriteRequest.bits), 2))
Expand Down

0 comments on commit c4c7f64

Please sign in to comment.