-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (33 loc) · 954 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
34
35
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "cn.ac.ios.tis"
ThisBuild / scalaVersion := "2.13.10"
lazy val root = (project in file("."))
.settings(
name := "chicala",
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % "2.13.10"
),
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Xcheckinit"
)
)
val chiselVersion = "3.5.6"
val chiselTestVersion = "0.5.6"
lazy val testcase = (project in file("testcase"))
.settings(
name := "testcase",
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % chiselVersion,
"edu.berkeley.cs" %% "chiseltest" % chiselTestVersion % "test"
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit"
),
addCompilerPlugin("cn.ac.ios.tis" %% "chicala" % "0.1.0-SNAPSHOT")
)