1
0

rocketchip: RTCPeriod config

This commit is contained in:
Wesley W. Terpstra 2016-11-23 16:04:54 -08:00
parent e87f54d4f7
commit 566cc9e60b

View File

@ -169,3 +169,9 @@ class WithNBreakpoints(hwbp: Int) extends Config (
case _ => throw new CDEMatchError
}
)
class WithRTCPeriod(nCycles: Int) extends Config(
(pname, site, here) => pname match {
case RTCPeriod => nCycles
case _ => throw new CDEMatchError
})