diff --git a/groundtest/src/main/scala/cachetest.scala b/groundtest/src/main/scala/cachetest.scala index 84eea29d..4b65a4de 100644 --- a/groundtest/src/main/scala/cachetest.scala +++ b/groundtest/src/main/scala/cachetest.scala @@ -23,7 +23,7 @@ class CacheFillTest(implicit p: Parameters) extends GroundTest()(p) io.mem.acquire.bits := Mux(state === s_prefetch, GetPrefetch(xact_id, UInt(memStartBlock) + req_block), GetBlock(xact_id, UInt(memStartBlock) + req_block)) - io.mem.grant.ready := active + io.mem.grant.ready := inflight when (io.mem.acquire.fire()) { inflight := Bool(true)