1
0

Use CDEMatchError for improved performance (#304)

This commit is contained in:
Jack Koenig
2016-09-15 19:47:18 -07:00
committed by Andrew Waterman
parent 29ce599ea2
commit f2fe437fa4
3 changed files with 15 additions and 8 deletions

View File

@ -152,6 +152,7 @@ class RoccExampleConfig extends Config(new WithRoccExample ++ new BaseConfig)
class WithMIFDataBits(n: Int) extends Config(
(pname, site, here) => pname match {
case MIFDataBits => Dump("MIF_DATA_BITS", n)
case _ => throw new CDEMatchError
})
class MIF128BitConfig extends Config(
@ -182,12 +183,14 @@ class TinyConfig extends Config(
class WithAsyncDebug extends Config (
(pname, site, here) => pname match {
case AsyncDebugBus => true
case AsyncDebugBus => true
case _ => throw new CDEMatchError
}
)
class WithJtagDTM extends Config (
(pname, site, here) => pname match {
case IncludeJtagDTM => true
case IncludeJtagDTM => true
case _ => throw new CDEMatchError
}
)