mirror of
https://github.com/antonblanchard/chiselwatt.git
synced 2026-02-27 17:23:26 +00:00
Mostly copied from the new chisel template: https://github.com/freechipsproject/chisel-template/blob/main/build.sbt Signed-off-by: Kevin Läufer <laeufer@cs.berkeley.edu>
26 lines
746 B
Scala
26 lines
746 B
Scala
// See README.md for license details.
|
|
|
|
|
|
ThisBuild / scalaVersion := "2.12.12"
|
|
ThisBuild / version := "3.2.0"
|
|
|
|
|
|
lazy val root = (project in file("."))
|
|
.settings(
|
|
name := "chiselwatt",
|
|
libraryDependencies ++= Seq(
|
|
"edu.berkeley.cs" %% "chisel3" % "3.4.1",
|
|
"edu.berkeley.cs" %% "chiseltest" % "0.3.1" % "test"
|
|
"edu.berkeley.cs" %% "scalatest" % "3.0.4" % "test"
|
|
),
|
|
scalacOptions ++= Seq(
|
|
"-Xsource:2.11",
|
|
"-language:reflectiveCalls",
|
|
"-deprecation",
|
|
"-feature",
|
|
"-Xcheckinit"
|
|
),
|
|
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.4.1" cross CrossVersion.full),
|
|
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
|
|
)
|