File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class GemminiTile private (
191191 val gemminiSpadSizeBytes = gemminiParams.gemminiConfig.sp_capacity
192192 .asInstanceOf [CapacityInKilobytes ].kilobytes * 1024
193193 require(isPow2(gemminiSpadSizeBytes))
194- val reqSize = q.numInputLanes * q.inputBits / 8
194+ val reqSize = q.numGPUInputLanes * q.inputBits / 8
195195
196196 println(" quant manager address set" )
197197 println(AddressSet (q.baseAddr, gemminiSpadSizeBytes * q.gpuMaxFactor - 1 ))
@@ -277,7 +277,7 @@ class GemminiTileModuleImp(outer: GemminiTile) extends BaseTileModuleImp(outer)
277277
278278 // requantizer
279279 outer.gemminiParams.requantizer.foreach { q =>
280- val in = Wire (Decoupled (new RequantizerInBundle (q.numInputLanes , q.inputBits)))
280+ val in = Wire (Decoupled (new RequantizerInBundle (q.numGPUInputLanes , q.inputBits)))
281281 val out = Wire (Decoupled (new RequantizerOutBundle (q.numOutputLanes, q.maxOutputBits)))
282282
283283 { // input
@@ -341,7 +341,7 @@ class GemminiTileModuleImp(outer: GemminiTile) extends BaseTileModuleImp(outer)
341341 // lut
342342 val lutIO = outer.gemminiParams.lookupTable.map { c =>
343343 val lut = Wire (Decoupled (UInt (c.numBits.W )))
344- outer.gemmini.module.mx_io.get.lut <> lut
344+ outer.gemmini.module.mx_io.get.lut <> lut.asTypeOf(outer.gemmini.module.mx_io.get.lut.cloneType)
345345 lut
346346 }
347347
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ case class MuonCoreParams(
3636 // if true, use a bank-conflict-avoiding operand collector
3737 // if false, use a simple rs1/2/3-duplicated register file
3838 useCollector : Boolean = false ,
39- numRegBanks : Int = 4 , // when useCollector true
39+ numRegBanks : Int = 1 , // when useCollector true
4040 numCollectorEntries : Int = 1 , // when useCollector true
4141 // execute
4242 intPipe : IntPipeParams = IntPipeParams (16 , 16 ),
You can’t perform that action at this time.
0 commit comments