rocketchip: RTCPeriod config
This commit is contained in:
parent
e87f54d4f7
commit
566cc9e60b
@ -169,3 +169,9 @@ class WithNBreakpoints(hwbp: Int) extends Config (
|
|||||||
case _ => throw new CDEMatchError
|
case _ => throw new CDEMatchError
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
class WithRTCPeriod(nCycles: Int) extends Config(
|
||||||
|
(pname, site, here) => pname match {
|
||||||
|
case RTCPeriod => nCycles
|
||||||
|
case _ => throw new CDEMatchError
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user