From 0103546ff0dea5f66e3af9f14ab6485e6806a822 Mon Sep 17 00:00:00 2001 From: Minyong Li <ml10g20@soton.ac.uk> Date: Thu, 18 Mar 2021 20:59:27 +0000 Subject: [PATCH] build.sbt: add, modified from chisel-template https://github.com/freechipsproject/chisel-template --- build.sbt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 build.sbt diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..23d92c1 --- /dev/null +++ b/build.sbt @@ -0,0 +1,21 @@ +ThisBuild / scalaVersion := "2.12.13" + +lazy val root = (project in file(".")) + .settings( + organization := "uk.ac.soton.ecs.ml10g20", + name := "nisc", + version := "0.1.0", + libraryDependencies ++= Seq( + "edu.berkeley.cs" %% "chisel3" % "3.4.2", + "edu.berkeley.cs" %% "chiseltest" % "0.3.2" % "test" + ), + scalacOptions ++= Seq( + "-Xsource:2.11", + "-language:reflectiveCalls", + "-deprecation", + "-feature", + "-Xcheckinit" + ), + addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.4.2" cross CrossVersion.full), + addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full) + ) -- GitLab