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