Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoling-yi committed Sep 26, 2024
1 parent 0246697 commit 005769e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hw/chisel_acc/src/main/scala/snax_acc/gemm/BlockGemm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class BlockGemm(params: GemmParams) extends Module with RequireAsyncReset {
def a_bits_len = params.meshRow * params.tileSize * params.dataWidthA
def b_bits_len = params.tileSize * params.meshCol * params.dataWidthB
def a_b_bits_len = a_bits_len + b_bits_len
val combined_a_b_bits = WireInit(0.U(a_b_bits_len.W))

val combined_decoupled_a_b_in = Wire(Decoupled(UInt(a_b_bits_len.W)))
val combined_decoupled_a_b_out = Wire(Decoupled(UInt(a_b_bits_len.W)))
Expand Down Expand Up @@ -278,10 +277,6 @@ class BlockGemm(params: GemmParams) extends Module with RequireAsyncReset {
gemm_array.io.data.b_i := b_split_out.bits
gemm_array.io.data.c_i := io.data.c_i.bits

// ready for pop out the data from outside
// io.data.a_i.ready := cstate === sBUSY && gemm_a_b_input_fire
// io.data.b_i.ready := cstate === sBUSY && gemm_a_b_input_fire

a_split_out.ready := cstate === sBUSY && gemm_a_b_input_fire
b_split_out.ready := cstate === sBUSY && gemm_a_b_input_fire

Expand Down

0 comments on commit 005769e

Please sign in to comment.