1
0

[unittest] Config import tweaks

This commit is contained in:
Henry Cook 2016-09-21 17:40:39 -07:00
parent fd5e00fed9
commit 64fe010369

View File

@ -4,8 +4,8 @@ package unittest
import Chisel._ import Chisel._
import cde.{Parameters, Config, CDEMatchError} import cde.{Parameters, Config, CDEMatchError}
import coreplex._ import coreplex.{TestGeneration, DefaultTestSuites}
import rocketchip._ import rocketchip.BaseConfig
class WithJunctionsUnitTests extends Config( class WithJunctionsUnitTests extends Config(
(pname, site, here) => pname match { (pname, site, here) => pname match {
@ -22,7 +22,7 @@ class WithJunctionsUnitTests extends Config(
class WithUncoreUnitTests extends Config( class WithUncoreUnitTests extends Config(
(pname, site, here) => pname match { (pname, site, here) => pname match {
case NCoreplexExtClients => 0 case rocketchip.NCoreplexExtClients => 0
case uncore.tilelink.TLId => "L1toL2" case uncore.tilelink.TLId => "L1toL2"
case UnitTests => (p: Parameters) => { case UnitTests => (p: Parameters) => {
TestGeneration.addSuite(DefaultTestSuites.groundtest64("p")) // TODO why TestGeneration.addSuite(DefaultTestSuites.groundtest64("p")) // TODO why