-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
65 lines (61 loc) · 1.94 KB
/
build.sbt
File metadata and controls
65 lines (61 loc) · 1.94 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// See README.md for license details.
ThisBuild / scalaVersion := "2.13.15"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "tech.rocksavage"
ThisBuild / organizationName := "Rocksavage Technology"
//Test / parallelExecution := false
lazy val chisel_module_runner = RootProject(
uri("https://github.com/The-Chiselers/chisel_module_runner.git#main"),
)
lazy val stdlib = RootProject(
uri("https://github.com/The-Chiselers/stdlib.git#main"),
)
lazy val synth = RootProject(
uri("https://github.com/The-Chiselers/synth.git#main"),
)
lazy val addrdecode = RootProject(
uri("https://github.com/The-Chiselers/addrdecode.git#main"),
)
lazy val apb = RootProject(uri("https://github.com/The-Chiselers/apb.git#main"))
lazy val registermap = RootProject(
uri("https://github.com/The-Chiselers/registermap.git#main"),
)
lazy val test_utils = RootProject(
uri("https://github.com/The-Chiselers/test_utils.git#main"),
)
lazy val root = (project in file("."))
.settings(
name := "timer",
Test / publishArtifact := true,
libraryDependencies ++= Seq(
"org.chipsalliance" %% "chisel" % chiselVersion,
"edu.berkeley.cs" %% "chiseltest" % "6.0.0",
"org.rogach" %% "scallop" % "5.2.0",
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-Ymacro-annotations",
),
addCompilerPlugin(
"org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full,
),
)
.dependsOn(
chisel_module_runner,
stdlib,
synth,
addrdecode,
apb,
registermap,
test_utils,
)
val chiselVersion = "6.6.0"
val scalafmtVersion = "2.5.0"
// Scala coverage settings
coverageDataDir := target.value / "../out/cov"
coverageFailOnMinimum := true
coverageMinimumStmtTotal := 90
coverageMinimumBranchTotal := 95