-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
47 lines (42 loc) · 1.29 KB
/
build.sbt
File metadata and controls
47 lines (42 loc) · 1.29 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
import sbt._
import Keys._
ThisBuild / scalaVersion := "2.13.12"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "AnshKetchum"
val chiselVersion = "6.6.0"
// ----------------------
// memctrl core project
// ----------------------
lazy val memctrl = (project in file("memorysim/memctrl"))
.settings(
name := "memctrl",
libraryDependencies ++= Seq(
"org.chipsalliance" %% "chisel" % chiselVersion,
"edu.berkeley.cs" %% "chiseltest" % "6.0.0" % Test,
"org.scalatest" %% "scalatest" % "3.2.17" % Test,
"io.circe" %% "circe-core" % "0.14.7",
"io.circe" %% "circe-generic" % "0.14.7",
"io.circe" %% "circe-parser" % "0.14.7"
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-Ymacro-annotations"
),
addCompilerPlugin("org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full)
)
// ----------------------
// memorysim "integration" project
// ----------------------
lazy val integration = (project in file("memorysim/integration"))
.dependsOn(memctrl) // integration builds on core
.settings(
name := "integration"
)
lazy val root = (project in file("."))
.aggregate(memctrl, integration)
.settings(
name := "memorysim"
)