xinyangli
f5335c21f1
All checks were successful
Build npc tests / npc-build (flow-simlib) (push) Successful in 2m17s
Build abstract machine with nix / build-packages (abstract-machine) (pull_request) Successful in 9s
Build abstract machine with nix / build-packages (nemu) (pull_request) Successful in 9s
Build abstract machine with nix / build-packages (nemu-lib) (pull_request) Successful in 9s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (pull_request) Successful in 8s
Build npc tests / npc-build (flow) (push) Successful in 3m2s
30 lines
863 B
Scala
30 lines
863 B
Scala
ThisBuild / scalaVersion := "2.13.12"
|
|
ThisBuild / version := "0.1.1"
|
|
|
|
val chiselVersion = "6.5.0"
|
|
val circeVersion = "0.14.1"
|
|
|
|
lazy val root = (project in file("."))
|
|
.settings(
|
|
name := "flow",
|
|
libraryDependencies ++= Seq(
|
|
"org.chipsalliance" %% "chisel" % chiselVersion,
|
|
"edu.berkeley.cs" %% "chiseltest" % "6.0.0" % "test",
|
|
"com.chuusai" %% "shapeless" % "2.3.3",
|
|
"com.github.scopt" %% "scopt" % "4.1.0"
|
|
) ++ Seq(
|
|
"io.circe" %% "circe-core",
|
|
"io.circe" %% "circe-generic",
|
|
"io.circe" %% "circe-parser"
|
|
).map(_ % circeVersion),
|
|
scalacOptions ++= Seq(
|
|
"-language:reflectiveCalls",
|
|
"-deprecation",
|
|
"-feature",
|
|
"-Xcheckinit",
|
|
"-Ymacro-annotations"
|
|
),
|
|
addCompilerPlugin(
|
|
"org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full
|
|
)
|
|
)
|