forked from riscv-boom/riscv-boom
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
36 lines (32 loc) · 1.13 KB
/
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
33
34
35
36
import sbt.project
ThisBuild / scalaVersion := "2.13.14"
ThisBuild / version := "3.0"
ThisBuild / organization := "ucb-bar"
val chiselVersion = "6.5.0"
val rocketVersion = "1.6-snapshot"
lazy val root = (project in file("."))
.settings(
name := "boom",
libraryDependencies ++= Seq(
"org.chipsalliance" %% "chisel" % chiselVersion,
"org.chipsalliance" %% "cde" % rocketVersion,
"org.chipsalliance" %% s"diplomacy-$chiselVersion" % rocketVersion,
"org.chipsalliance" %% s"hardfloat-$chiselVersion" % rocketVersion,
"org.chipsalliance" %% "macros" % rocketVersion,
"org.chipsalliance" %% s"rocketchip-$chiselVersion" % rocketVersion,
"ch.epfl.scala" %% "bloop-config" % "2.0.3"
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-P:chiselplugin:genBundleElements"
),
addCompilerPlugin("org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full),
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
Resolver.mavenLocal
)
)