1
0

Add various granular and composable configs.

This commit is contained in:
Richard Xia
2016-11-18 10:49:42 -08:00
parent 81d98304dc
commit bab504cc3f
2 changed files with 85 additions and 0 deletions

View File

@ -199,3 +199,17 @@ class WithoutTLMonitors extends Config (
case _ => throw new CDEMatchError
}
)
class WithNExtTopInterrupts(nExtInts: Int) extends Config(
(pname, site, here) => pname match {
case NExtTopInterrupts => nExtInts
case _ => throw new CDEMatchError
}
)
class WithNBreakpoints(hwbp: Int) extends Config (
(pname,site,here) => pname match {
case NBreakpoints => hwbp
case _ => throw new CDEMatchError
}
)