generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
34 lines (28 loc) · 976 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
33
// See README.md for license details.
scalaVersion := "2.13.8"
version := "0.1.1"
organization := "eu.fabienm"
val majorChiselVersion = "3"
val minorChiselVersion = "5.6"
val chiselVersion = majorChiselVersion + "." + minorChiselVersion
lazy val root = (project in file("."))
.settings(
name := "GbHdmi",
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % chiselVersion,
"edu.berkeley.cs" %% "chiseltest" % ("0." + minorChiselVersion) % "test",
"eu.fabienm" %% "gbvga" % "0.1.1",
"eu.fabienm" %% "hdmicore" % "0.1.1",
"Martoni" %% "chisnespad" % "0.2.1",
"Martoni" %% "fpgamacro" % "0.2.2"
),
scalacOptions ++= Seq(
"-Xsource:2.11",
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-P:chiselplugin:useBundlePlugin"
),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full),
)