1
0

fix CacheFillTest

This commit is contained in:
Howard Mao 2016-05-03 13:35:38 -07:00
parent 518d510622
commit 6cb0979ac4

View File

@ -23,7 +23,7 @@ class CacheFillTest(implicit p: Parameters) extends GroundTest()(p)
io.mem.acquire.bits := Mux(state === s_prefetch, io.mem.acquire.bits := Mux(state === s_prefetch,
GetPrefetch(xact_id, UInt(memStartBlock) + req_block), GetPrefetch(xact_id, UInt(memStartBlock) + req_block),
GetBlock(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()) { when (io.mem.acquire.fire()) {
inflight := Bool(true) inflight := Bool(true)