1 Commits

Author SHA1 Message Date
Dolu1990
0340f9799c Add test folder 2023-12-11 12:16:37 +01:00
4 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ ThisBuild / version := "1.0"
ThisBuild / scalaVersion := "2.12.18"
ThisBuild / organization := "org.example"
val spinalVersion = "1.10.2a"
val spinalVersion = "1.9.4"
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
@@ -10,6 +10,7 @@ val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-
lazy val projectname = (project in file("."))
.settings(
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
Test / scalaSource := baseDirectory.value / "test" / "spinal",
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
)

View File

@@ -1,9 +1,9 @@
import mill._, scalalib._
val spinalVersion = "1.10.2a"
val spinalVersion = "1.9.0"
object projectname extends SbtModule {
def scalaVersion = "2.12.18"
def scalaVersion = "2.12.16"
override def millSourcePath = os.pwd
def sources = T.sources(
millSourcePath / "hw" / "spinal"