From 930bdf9ddab5301d8ce3b34f3cdd57775287bc7c Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 1 Jan 2021 23:59:00 +0100 Subject: [PATCH] DataCache increase syncPendingMax to 32 and use a sync queue instead of async one --- src/main/scala/vexriscv/ip/DataCache.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/vexriscv/ip/DataCache.scala b/src/main/scala/vexriscv/ip/DataCache.scala index d0f7abd..eff1097 100644 --- a/src/main/scala/vexriscv/ip/DataCache.scala +++ b/src/main/scala/vexriscv/ip/DataCache.scala @@ -369,7 +369,7 @@ case class DataCacheMemBus(p : DataCacheConfig) extends Bundle with IMasterSlave } - def toBmb(syncPendingMax : Int = 16, + def toBmb(syncPendingMax : Int = 32, timeoutCycles : Int = 16) : Bmb = new Area{ setCompositeName(DataCacheMemBus.this, "Bridge", true) val pipelinedMemoryBusConfig = p.getBmbParameter() @@ -489,7 +489,7 @@ case class DataCacheMemBus(p : DataCacheConfig) extends Bundle with IMasterSlave cmdCtx.payload := aggregationCounter halt setWhen(!cmdCtx.ready) - val syncCtx = cmdCtx.queueLowLatency(syncPendingMax, latency = 1) + val syncCtx = cmdCtx.queue(syncPendingMax) syncCtx.ready := bus.sync.fire sync.arbitrationFrom(bus.sync)