Skip to content

Commit

Permalink
Shrink write queue back to 4 with clock gate fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hansungk committed Nov 10, 2024
1 parent 38a2bc2 commit d9a10e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/gemmini/Scratchpad.scala
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ScratchpadBank(n: Int, w: Int, aligned_to: Int, single_ported: Boolean, us
ext_mem.read_resp.ready := q.io.enq.ready

/* WRITE */
val wq = Module(new Queue(ext_mem.write_req.bits.cloneType, 32, pipe=true, flow=true))
val wq = Module(new Queue(ext_mem.write_req.bits.cloneType, 4, pipe=true, flow=true))
ext_mem.write_req <> wq.io.deq

wq.io.enq.valid := io.write.valid
Expand Down

0 comments on commit d9a10e4

Please sign in to comment.