1
0

add required cloneType methods in non-blocking L1

This commit is contained in:
Howard Mao 2016-08-19 13:44:53 -07:00
parent 114226252b
commit f78da0b0ea

View File

@ -139,10 +139,15 @@ class L1Metadata(implicit p: Parameters) extends Metadata()(p) with HasL1HellaCa
class Replay(implicit p: Parameters) extends HellaCacheReqInternal()(p) with HasCoreData class Replay(implicit p: Parameters) extends HellaCacheReqInternal()(p) with HasCoreData
class ReplayInternal(cfg: DCacheConfig)(implicit p: Parameters) extends HellaCacheReqInternal()(p) { class ReplayInternal(cfg: DCacheConfig)(implicit p: Parameters) extends HellaCacheReqInternal()(p) {
val sdq_id = UInt(width = log2Up(cfg.nSDQ)) val sdq_id = UInt(width = log2Up(cfg.nSDQ))
override def cloneType = new ReplayInternal(cfg)(p).asInstanceOf[this.type]
} }
class MSHRReq(implicit p: Parameters) extends Replay()(p) with HasMissInfo class MSHRReq(implicit p: Parameters) extends Replay()(p) with HasMissInfo
class MSHRReqInternal(cfg: DCacheConfig)(implicit p: Parameters) extends ReplayInternal(cfg)(p) with HasMissInfo class MSHRReqInternal(cfg: DCacheConfig)(implicit p: Parameters)
extends ReplayInternal(cfg)(p) with HasMissInfo {
override def cloneType = new MSHRReqInternal(cfg)(p).asInstanceOf[this.type]
}
class ProbeInternal(implicit p: Parameters) extends Probe()(p) with HasClientTransactionId class ProbeInternal(implicit p: Parameters) extends Probe()(p) with HasClientTransactionId