Skip to content

Commit

Permalink
fix-gemm-control-critical-path (#341)
Browse files Browse the repository at this point in the history
* fix-gemm-control-critical-path

* fix-gemm-control-critical-path
  • Loading branch information
xiaoling-yi authored Sep 20, 2024
1 parent a182ddc commit fb7ce74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/chisel_acc/src/main/scala/snax_acc/gemm/BlockGemm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ class BlockGemm(params: GemmParams) extends Module with RequireAsyncReset {
val subtraction_b = RegInit(0.U(params.dataWidthB.W))

// useful counters
val compute_fire_counter = RegInit(0.U((3 * params.sizeConfigWidth).W))
val compute_fire_counter = RegInit(0.U((params.sizeConfigWidth).W))
// counter used to record if need to output to outside
val d_output_ifvalid_counter = RegInit(0.U(params.sizeConfigWidth.W))
// counter to record how many output data has been written
val d_output_counter = RegInit(0.U((3 * params.sizeConfigWidth).W))
val d_output_counter = RegInit(0.U((2 * params.sizeConfigWidth).W))

val performance_counter = RegInit(0.U(32.W))

Expand Down

0 comments on commit fb7ce74

Please sign in to comment.