From fd972f5c67cb8cabb2663e9f3da6f7eb6913f3e1 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 24 Feb 2017 21:01:56 -0800 Subject: [PATCH] icache: back-pressure is unnecessary (#564) * icache: back-pressure is unnecessary * icache: require that the response arrives after the request --- src/main/scala/rocket/ICache.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/rocket/ICache.scala b/src/main/scala/rocket/ICache.scala index d5dc6306..aed5e7b9 100644 --- a/src/main/scala/rocket/ICache.scala +++ b/src/main/scala/rocket/ICache.scala @@ -95,7 +95,8 @@ class ICacheModule(outer: ICache) extends LazyModuleImp(outer) } val refill_tag = refill_addr(tagBits+untagBits-1,untagBits) val (_, _, refill_done, refill_cnt) = edge.count(tl_out.d) - tl_out.d.ready := state === s_refill + tl_out.d.ready := Bool(true) + require (edge.manager.minLatency > 0) val repl_way = if (isDM) UInt(0) else LFSR16(s1_miss)(log2Up(nWays)-1,0) val entagbits = code.width(tagBits)