multi-bank working when nBanks=2, encountered a putPartial error, need to pull latest change

This commit is contained in:
Vamber Yang
2023-11-06 20:51:23 -08:00
parent be5134cd8a
commit e958ede277
3 changed files with 211 additions and 129 deletions

View File

@@ -56,15 +56,9 @@ trait CanHaveMemtraceCore { this: BaseSubsystem =>
case None => coalescerNode
}
val vortexBank = p(VortexFatBankKey) match {
case Some(fatBankParam) =>{
val vx_fatbank = LazyModule(new VortexFatBank(fatBankParam))
println(s"============ Using Vortex FatBank as L1 ")
vx_fatbank.coalToVxCacheNode :=* coalXbar
vx_fatbank.vxCacheToL2Node
}
case None => coalXbar
}
val vortexBank = coalXbar
//If there is only 1 bank, the code below is useless