1
0

junctions: get unit tests running again

This commit is contained in:
Wesley W. Terpstra 2016-11-18 17:38:46 -08:00
parent 10dd6070ad
commit 13ec3853ed

View File

@ -4,10 +4,14 @@ package unittest
import Chisel._ import Chisel._
import config._ import config._
import junctions._
import rocketchip.{BaseConfig, BasePlatformConfig} import rocketchip.{BaseConfig, BasePlatformConfig}
class WithJunctionsUnitTests extends Config( class WithJunctionsUnitTests extends Config(
(pname, site, here) => pname match { (pname, site, here) => pname match {
case HastiId => "HastiTest"
case HastiKey("HastiTest") => HastiParameters(addrBits = 32, dataBits = 64)
case NastiKey => NastiParameters(addrBits = 32, dataBits = 64, idBits = 4)
case junctions.PAddrBits => 32 case junctions.PAddrBits => 32
case rocket.XLen => 64 case rocket.XLen => 64
case UnitTests => (p: Parameters) => Seq( case UnitTests => (p: Parameters) => Seq(