Skip to content

Commit

Permalink
[sbt] Update comments about mandatedVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbiancolin committed Dec 7, 2021
1 parent f5ac1a3 commit 1eea2c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
18 changes: 10 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ val firrtlVersion = "1.4.1"

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
)

// Subproject definitions begin

// -- Rocket Chip --
Expand Down Expand Up @@ -129,14 +139,6 @@ lazy val rocketLibDeps = (rocketchip / Keys.libraryDependencies)

// 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 chipyardMandatedVersions = Map(
"chisel-iotesters" -> "1.5.4",
"firrtl-interpreter" -> "1.4.4",
"treadle" -> "1.3.4",
"chisel3" -> chiselVersion,
"firrtl" -> firrtlVersion
)

lazy val chisel_testers = (project in file("tools/chisel-testers"))
.settings(chiselSettings)
.settings(
Expand Down
12 changes: 6 additions & 6 deletions scripts/tutorial-patches/build.sbt.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
diff --git a/build.sbt b/build.sbt
index c38f5180..551aa8c0 100644
index a00d7361..fbdf2e53 100644
--- a/build.sbt
+++ b/build.sbt
@@ -169,7 +169,7 @@ lazy val testchipipLib = "edu.berkeley.cs" %% "testchipip" % "1.0-020719-SNAPSHO
@@ -161,7 +161,7 @@ lazy val testchipip = (project in file("generators/testchipip"))

lazy val chipyard = (project in file("generators/chipyard"))
.sourceDependency(testchipip, testchipipLib)
.dependsOn(rocketchip, boom, hwacha, sifive_blocks, sifive_cache, iocell,
.dependsOn(testchipip, rocketchip, boom, hwacha, sifive_blocks, sifive_cache, iocell,
- sha3, // On separate line to allow for cleaner tutorial-setup patches
+ //sha3, // On separate line to allow for cleaner tutorial-setup patches
dsptools, `rocket-dsp-utils`,
gemmini, icenet, tracegen, cva6, nvdla, sodor, ibex)
.settings(libraryDependencies ++= rocketLibDeps.value)
@@ -213,10 +213,10 @@ lazy val sodor = (project in file("generators/riscv-sodor"))
@@ -202,10 +202,10 @@ lazy val sodor = (project in file("generators/riscv-sodor"))
.settings(libraryDependencies ++= rocketLibDeps.value)
.settings(commonSettings)

Expand All @@ -25,4 +25,4 @@ index c38f5180..551aa8c0 100644
+// .settings(commonSettings)

lazy val gemmini = (project in file("generators/gemmini"))
.sourceDependency(testchipip, testchipipLib)
.dependsOn(testchipip, rocketchip, chisel_testers)

0 comments on commit 1eea2c8

Please sign in to comment.