Skip to content

Commit

Permalink
improve fp gemmini critical path
Browse files Browse the repository at this point in the history
  • Loading branch information
Seah Kim authored and Seah Kim committed Oct 22, 2023
1 parent 3157503 commit 69456b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/scala/gemmini/VectorScalarMultiplier.scala
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ object VectorScalarMultiplier {
) = {
assert(!is_acc || is_mvin)
val vsm = Module(new VectorScalarMultiplier(scale_args, cols, t, tag_t))
(vsm.io.req, vsm.io.resp)
val vsm_in_q = Module(new Queue(chiselTypeOf(vsm.io.req.bits), 2))
//val vsm_in_q = Queue(vsm.io.req, 1)
vsm.io.req <> vsm_in_q.io.deq
(vsm_in_q.io.enq, vsm.io.resp)
}
}

0 comments on commit 69456b0

Please sign in to comment.