Accept coalescer enable at WithCoalescer config

This commit is contained in:
Hansung Kim
2023-12-01 19:01:06 -08:00
parent 4eb9973b2c
commit 2879108804

View File

@@ -262,7 +262,7 @@ class VortexTile private (
val coalescerNode = p(CoalescerKey) match {
case Some(coalescerParam) => {
val coal = LazyModule(
new CoalescingUnit(coalescerParam.copy(enable = true))
new CoalescingUnit(coalescerParam)
)
coal.cpuNode :=* dmemAggregateNode
coal.aggregateNode // N+1 lanes
@@ -276,10 +276,10 @@ class VortexTile private (
println(
s"============ Using Vortex L1 cache ================="
)
require(
p(CoalescerKey).isDefined,
"Vortex L1 configuration currently only works when coalescer is also enabled."
)
// require(
// p(CoalescerKey).isDefined,
// "Vortex L1 configuration currently only works when coalescer is also enabled."
// )
val icache = LazyModule(new VortexL1Cache(vortexL1Config))
val dcache = LazyModule(new VortexL1Cache(vortexL1Config))