From 71ea647baec456c1fd524a627c49b8ee95b3a940 Mon Sep 17 00:00:00 2001 From: David Biancolin Date: Tue, 14 Dec 2021 22:47:45 +0000 Subject: [PATCH] Update build.sbt to use X.5-RC1 --- build.sbt | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/build.sbt b/build.sbt index afb82b5d4a..f790d5343a 100644 --- a/build.sbt +++ b/build.sbt @@ -60,25 +60,19 @@ def isolateAllTests(tests: Seq[TestDefinition]) = tests map { test => new Group(test.name, Seq(test), SubProcess(options)) } toSeq -val chiselVersion = "3.4.4" +val chiselVersion = "3.5.0-RC1" lazy val chiselSettings = Seq( libraryDependencies ++= Seq("edu.berkeley.cs" %% "chisel3" % chiselVersion), addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full)) -val firrtlVersion = "1.4.4" +val firrtlVersion = "1.5.0-RC1" lazy val firrtlSettings = Seq(libraryDependencies ++= Seq("edu.berkeley.cs" %% "firrtl" % firrtlVersion)) -// In some projects we override the default versions of Chisel and friends. -// This map captures the expected defaults used by projects under Chipyard. -lazy val chipyardMandatedVersions = Map( - "chisel-iotesters" -> "1.5.4", - "firrtl-interpreter" -> "1.4.4", - "treadle" -> "1.3.4", - "chisel3" -> chiselVersion, - "firrtl" -> firrtlVersion -) +val chiselTestVersion = "2.5.0-RC1" + +lazy val chiselTestSettings = Seq(libraryDependencies ++= Seq("edu.berkeley.cs" %% "chisel-iotesters" % chiselTestVersion)) // Subproject definitions begin @@ -138,19 +132,6 @@ lazy val rocketLibDeps = (rocketchip / Keys.libraryDependencies) // -- Chipyard-managed External Projects -- -// Because we're not using a release version of iotesters to work around a -// scala test version problem, override it's libdeps to prevent using snapshots -lazy val chisel_testers = (project in file("tools/chisel-testers")) - .settings(chiselSettings) - .settings( - allDependencies := allDependencies.value.map { - case dep if chipyardMandatedVersions.isDefinedAt(dep.name) => - dep.organization %% dep.name % chipyardMandatedVersions(dep.name) - case o => o - }) - -// -- Normal Projects -- - // Contains annotations & firrtl passes you may wish to use in rocket-chip without // introducing a circular dependency between RC and MIDAS lazy val midasTargetUtils = ProjectRef(firesimDir, "targetutils") @@ -204,13 +185,15 @@ lazy val sodor = (project in file("generators/riscv-sodor")) .settings(commonSettings) lazy val sha3 = (project in file("generators/sha3")) - .dependsOn(rocketchip, chisel_testers, midasTargetUtils) + .dependsOn(rocketchip, midasTargetUtils) .settings(libraryDependencies ++= rocketLibDeps.value) + .settings(chiselTestSettings) .settings(commonSettings) lazy val gemmini = (project in file("generators/gemmini")) - .dependsOn(testchipip, rocketchip, chisel_testers) + .dependsOn(testchipip, rocketchip) .settings(libraryDependencies ++= rocketLibDeps.value) + .settings(chiselTestSettings) .settings(commonSettings) lazy val nvdla = (project in file("generators/nvdla")) @@ -223,7 +206,8 @@ lazy val iocell = (project in file("./tools/barstools/iocell/")) .settings(commonSettings) lazy val tapeout = (project in file("./tools/barstools/tapeout/")) - .dependsOn(chisel_testers, chipyard) // must depend on chipyard to get scala resources + .dependsOn(chipyard) // must depend on chipyard to get scala resources + .settings(chiselTestSettings) .settings(commonSettings) lazy val mdf = (project in file("./tools/barstools/mdf/scalalib/")) @@ -236,7 +220,7 @@ lazy val barstoolsMacros = (project in file("./tools/barstools/macros/")) .settings(commonSettings) lazy val dsptools = freshProject("dsptools", file("./tools/dsptools")) - .dependsOn(chisel_testers) + .settings(chiselTestSettings) .settings( commonSettings, libraryDependencies ++= Seq(