mirror of
https://github.com/handsomezhuzhu/2025-yatcpu.git
synced 2026-02-20 12:00:14 +00:00
25 lines
708 B
Scala
25 lines
708 B
Scala
import sbt.Keys.libraryDependencies
|
|
// See README.md for license details.
|
|
|
|
ThisBuild / scalaVersion := "2.13.10"
|
|
ThisBuild / version := "0.1.0"
|
|
ThisBuild / organization := "io.github.howardlau1999"
|
|
|
|
val chiselVersion = "3.6.0"
|
|
|
|
lazy val root = (project in file("."))
|
|
.settings(
|
|
name := "yatcpu",
|
|
libraryDependencies ++= Seq(
|
|
"edu.berkeley.cs" %% "chisel3" % chiselVersion,
|
|
"edu.berkeley.cs" %% "chiseltest" % "0.6.0" % "test",
|
|
),
|
|
scalacOptions ++= Seq(
|
|
"-language:reflectiveCalls",
|
|
"-deprecation",
|
|
"-feature",
|
|
"-Xcheckinit",
|
|
),
|
|
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full),
|
|
)
|