generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
27 lines (22 loc) · 822 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
// See README.md for license details.
ThisBuild / scalaVersion := "2.12.12"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "com.github.merledu"
name := "jigsaw"
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % "3.4.2",
"edu.berkeley.cs" %% "chiseltest" % "0.3.2" % "test"
)
scalacOptions ++= Seq(
"-Xsource:2.11",
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
// Enables autoclonetype2 in 3.4.x (on by default in 3.5)
"-P:chiselplugin:useBundlePlugin"
)
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.4.3" cross CrossVersion.full)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
lazy val caravan = (project in file("caravan"))
dependsOn(caravan)