From 13ec3853ed7ae1bbebe41dcb3e0643771d66a6d4 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 18 Nov 2016 17:38:46 -0800 Subject: [PATCH] junctions: get unit tests running again --- src/main/scala/unittest/Configs.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/scala/unittest/Configs.scala b/src/main/scala/unittest/Configs.scala index 393f0cfe..48fbf81f 100644 --- a/src/main/scala/unittest/Configs.scala +++ b/src/main/scala/unittest/Configs.scala @@ -4,10 +4,14 @@ package unittest import Chisel._ import config._ +import junctions._ import rocketchip.{BaseConfig, BasePlatformConfig} class WithJunctionsUnitTests extends Config( (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 rocket.XLen => 64 case UnitTests => (p: Parameters) => Seq(