generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
30 lines (27 loc) · 929 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
// See README.md for license details.
ThisBuild / scalaVersion := "2.13.12"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "com.github.egorman44"
val chiselVersion = "6.0.0"
lazy val root = (project in file("."))
.settings(
name := "chisel-lib",
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.9.2",
"org.chipsalliance" %% "chisel" % chiselVersion,
"org.scalatest" %% "scalatest" % "3.2.16" % "test",
"com.github.scopt" %% "scopt" % "4.0.1",
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-Ymacro-annotations",
),
addCompilerPlugin("org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full),
Compile / run / fork := true,
Compile / run / javaOptions ++= Seq(
"-Dproject.root=" + baseDirectory.value
),
)