add tb folder

This commit is contained in:
Côme ALLART
2022-12-07 20:38:14 +01:00
parent bcae56d0c7
commit 789f0f18d5
6 changed files with 3 additions and 1 deletions

View File

@@ -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 / "tb" / "spinal",
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
)

View File

@@ -6,7 +6,8 @@ object projectname extends SbtModule {
def scalaVersion = "2.12.16"
override def millSourcePath = os.pwd
def sources = T.sources(
millSourcePath / "hw" / "spinal"
millSourcePath / "hw" / "spinal",
millSourcePath / "tb" / "spinal"
)
def ivyDeps = Agg(
ivy"com.github.spinalhdl::spinalhdl-core:$spinalVersion",

0
tb/verilog/.gitignore vendored Normal file
View File

0
tb/vhdl/.gitignore vendored Normal file
View File