junctions: get unit tests running again
This commit is contained in:
parent
10dd6070ad
commit
13ec3853ed
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user