Add various granular and composable configs.

This commit is contained in:
Richard Xia committed 2016-11-18 11:30:07 -08:00
1 parent 81d98304dc
commit bab504cc3f
2 files changed
+85

No files matched your search

+14
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
}
)