1
0

[rocket] require refillcycesperbeat == 1 and remove flowthroughserializer

This commit is contained in:
Henry Cook
2016-11-20 19:36:51 -08:00
parent ff9b5bf8fc
commit 28c6be90ab
2 changed files with 2 additions and 70 deletions

View File

@ -72,7 +72,8 @@ class ICache(latency: Int)(implicit p: Parameters) extends CoreModule()(p) with
}
val refill_tag = refill_addr(tagBits+untagBits-1,untagBits)
val narrow_grant = FlowThroughSerializer(io.mem.grant, refillCyclesPerBeat)
require(refillCyclesPerBeat == 1)
val narrow_grant = io.mem.grant
val (refill_cnt, refill_wrap) = Counter(narrow_grant.fire(), refillCycles)
val refill_done = state === s_refill && refill_wrap
narrow_grant.ready := Bool(true)