2024-08-09 11:58:10 +00:00
|
|
|
ThisBuild / scalaVersion := "2.13.12"
|
|
|
|
ThisBuild / version := "0.1.0"
|
2024-01-05 15:55:58 +00:00
|
|
|
|
2024-03-13 06:53:31 +00:00
|
|
|
val chiselVersion = "6.2.0"
|
2024-08-09 11:58:10 +00:00
|
|
|
val circeVersion = "0.14.1"
|
2024-01-05 15:55:58 +00:00
|
|
|
|
|
|
|
lazy val root = (project in file("."))
|
|
|
|
.settings(
|
2024-03-11 13:41:45 +00:00
|
|
|
name := "flow",
|
2024-01-05 15:55:58 +00:00
|
|
|
libraryDependencies ++= Seq(
|
|
|
|
"org.chipsalliance" %% "chisel" % chiselVersion,
|
2024-03-13 06:53:31 +00:00
|
|
|
"edu.berkeley.cs" %% "chiseltest" % "6.0.0" % "test",
|
2024-03-29 02:35:49 +00:00
|
|
|
"com.chuusai" %% "shapeless" % "2.3.3",
|
2024-08-09 11:58:10 +00:00
|
|
|
"com.github.scopt" %% "scopt" % "4.1.0"
|
2024-03-29 02:35:49 +00:00
|
|
|
) ++ Seq(
|
|
|
|
"io.circe" %% "circe-core",
|
|
|
|
"io.circe" %% "circe-generic",
|
|
|
|
"io.circe" %% "circe-parser"
|
|
|
|
).map(_ % circeVersion),
|
2024-01-05 15:55:58 +00:00
|
|
|
scalacOptions ++= Seq(
|
|
|
|
"-language:reflectiveCalls",
|
|
|
|
"-deprecation",
|
|
|
|
"-feature",
|
|
|
|
"-Xcheckinit",
|
2024-08-09 11:58:10 +00:00
|
|
|
"-Ymacro-annotations"
|
2024-01-05 15:55:58 +00:00
|
|
|
),
|
2024-08-09 11:58:10 +00:00
|
|
|
addCompilerPlugin(
|
|
|
|
"org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full
|
|
|
|
)
|
|
|
|
)
|