forked from riscv-boom/riscv-boom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (27 loc) · 837 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
import sbt.project
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / version := "3.0"
ThisBuild / organization := "ucb-bar"
val chiselVersion = "3.6.0"
lazy val root = (project in file("."))
.settings(
name := "boom",
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % chiselVersion,
"edu.berkeley.cs" %% "rocketchip" % "1.6.0",
"ch.epfl.scala" %% "bloop-config" % "1.5.5"
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-P:chiselplugin:genBundleElements"
),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full),
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
Resolver.mavenLocal
)
)