-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
33 lines (26 loc) · 942 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
organization := "edu.berkeley.cs"
version := "1.0"
name := "craft2-chip"
scalaVersion := "2.11.7"
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases")
)
// Provide a managed dependency on X if -DXVersion="" is supplied on the command line.
val defaultVersions = Map(
"rocket-dsp-utils" -> "1.0",
"chisel3" -> "3.1-SNAPSHOT",
"chisel-iotesters" -> "1.2-SNAPSHOT",
"fft" -> "1.0",
"pfb" -> "1.0",
"tuner" -> "1.0",
"uart" -> "1.0",
"rssi" -> "1.0",
"filter" -> "1.0",
"builtin-debugger" -> "0",
"riscv-dma" -> "2.0",
// barstools is called tapeout for now
"tapeout" -> "0.1-SNAPSHOT"
)
libraryDependencies ++= Seq("rocket-dsp-utils", "chisel3", "chisel-iotesters", "builtin-debugger", "pfb", "riscv-dma", "fft", "tuner", "filter", "rssi", "tapeout", "uart").map {
dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) }