Skip to content

Commit

Permalink
ex/acc critical path
Browse files Browse the repository at this point in the history
  • Loading branch information
Seah Kim authored and Seah Kim committed Oct 16, 2023
1 parent 6193a7a commit 3157503
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/scala/gemmini/AccumulatorMem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ class AccumulatorMem[T <: Data, U <: Data](
!block_read_req
)

io.write.ready := !block_write_req &&
!pipelined_writes.map(r => r.valid && r.bits.addr === io.write.bits.addr && io.write.bits.acc).reduce(_||_)
//io.write.ready := !block_write_req &&
// !pipelined_writes.map(r => r.valid && r.bits.addr === io.write.bits.addr && io.write.bits.acc).reduce(_||_)
io.write.ready := true.B

when (reset.asBool) {
pipelined_writes.foreach(_.valid := false.B)
Expand Down

0 comments on commit 3157503

Please sign in to comment.