Fix some test suite handling
This commit is contained in:
@@ -21,11 +21,11 @@ lazy val commonSettings = Seq(
|
|||||||
|
|
||||||
val rocketChipDir = file("generators/rocket-chip")
|
val rocketChipDir = file("generators/rocket-chip")
|
||||||
|
|
||||||
lazy val firesimAsLibrary = sys.env.get("FIRESIM_IS_TOP") == None
|
lazy val firesimAsLibrary = sys.env.get("FIRESIM_STANDALONE") == None
|
||||||
lazy val firesimDir = if (firesimAsLibrary) {
|
lazy val firesimDir = if (firesimAsLibrary) {
|
||||||
file("sims/firesim/sim/")
|
file("sims/firesim/sim/")
|
||||||
} else {
|
} else {
|
||||||
file("../../sim/")
|
file("../../")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checks for -DROCKET_USE_MAVEN.
|
// Checks for -DROCKET_USE_MAVEN.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import icenet._
|
|||||||
class WithBootROM extends Config((site, here, up) => {
|
class WithBootROM extends Config((site, here, up) => {
|
||||||
case BootROMParams => {
|
case BootROMParams => {
|
||||||
val rebarBootROM = new File(s"./generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
|
val rebarBootROM = new File(s"./generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
|
||||||
val firesimBootROM = new File(s"./target-rtl/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
|
val firesimBootROM = new File(s"./target-rtl/firechip/generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
|
||||||
|
|
||||||
val bootROMPath = if (rebarBootROM.exists()) {
|
val bootROMPath = if (rebarBootROM.exists()) {
|
||||||
rebarBootROM.getAbsolutePath()
|
rebarBootROM.getAbsolutePath()
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ abstract class FireSimTestSuite(
|
|||||||
targetConfigs: String,
|
targetConfigs: String,
|
||||||
platformConfigs: String,
|
platformConfigs: String,
|
||||||
N: Int = 8
|
N: Int = 8
|
||||||
) extends firesim.midasexamples.TestSuiteCommon with HasFireSimGeneratorUtilities {
|
) extends firesim.TestSuiteCommon with IsFireSimGeneratorLike {
|
||||||
import scala.concurrent.duration._
|
import scala.concurrent.duration._
|
||||||
import ExecutionContext.Implicits.global
|
import ExecutionContext.Implicits.global
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user