always merge Puts
This commit is contained in:
parent
d48775eecb
commit
0e4cf74d8a
@ -173,7 +173,6 @@ abstract trait L2HellaCacheParameters extends CacheParameters with CoherenceAgen
|
||||
require(rowBits == innerDataBits) // TODO: relax this by improving s_data_* states
|
||||
val nSecondaryMisses = 4
|
||||
val enableGetMerging = false
|
||||
val enablePutMerging = true
|
||||
}
|
||||
|
||||
abstract class L2HellaCacheBundle extends Bundle with L2HellaCacheParameters
|
||||
@ -709,9 +708,8 @@ class L2AcquireTracker(trackerId: Int, bankId: Int) extends L2XactTracker {
|
||||
do_allocate &&
|
||||
ignt_q.io.enq.ready
|
||||
//TODO: mix Puts and PutBlocks
|
||||
val can_merge_iacq_put = ((Bool(enablePutMerging) &&
|
||||
(xact.isBuiltInType(Acquire.putType) &&
|
||||
io.iacq().isBuiltInType(Acquire.putType))) ||
|
||||
val can_merge_iacq_put = ((xact.isBuiltInType(Acquire.putType) &&
|
||||
io.iacq().isBuiltInType(Acquire.putType)) ||
|
||||
(xact.isBuiltInType(Acquire.putBlockType) &&
|
||||
io.iacq().isBuiltInType(Acquire.putBlockType))) &&
|
||||
(xact_src === io.inner.acquire.bits.header.src) &&
|
||||
|
Loading…
Reference in New Issue
Block a user