-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sc
More file actions
37 lines (29 loc) · 867 Bytes
/
Copy pathbuild.sc
File metadata and controls
37 lines (29 loc) · 867 Bytes
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
37
import mill._, scalalib._
// If you are using VSCode to write Scala, please uncomment the following line to enable Bloop plugin:
// import $ivy.`com.lihaoyi::mill-contrib-bloop:`
/**
* All chisel modules should extends this trait where the chisel dependency is included.
*/
trait ChiselModule extends ScalaModule {
def scalaVersion = "2.13.10"
override def ivyDeps = Agg(
ivy"edu.berkeley.cs::chisel3:3.6.0"
)
override def scalacOptions = Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
)
override def scalacPluginIvyDeps = Agg(
ivy"edu.berkeley.cs:::chisel3-plugin:3.6.0",
)
object test extends Tests {
override def ivyDeps = Agg(
ivy"edu.berkeley.cs::chiseltest:0.6.0"
)
def testFramework = "org.scalatest.tools.Framework"
}
}
object GCD extends ChiselModule {
}