mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-25 16:58:45 +08:00
add tb folder
This commit is contained in:
@@ -10,6 +10,7 @@ val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-
|
|||||||
lazy val projectname = (project in file("."))
|
lazy val projectname = (project in file("."))
|
||||||
.settings(
|
.settings(
|
||||||
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
||||||
|
Test / scalaSource := baseDirectory.value / "tb" / "spinal",
|
||||||
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
3
build.sc
3
build.sc
@@ -6,7 +6,8 @@ object projectname extends SbtModule {
|
|||||||
def scalaVersion = "2.12.16"
|
def scalaVersion = "2.12.16"
|
||||||
override def millSourcePath = os.pwd
|
override def millSourcePath = os.pwd
|
||||||
def sources = T.sources(
|
def sources = T.sources(
|
||||||
millSourcePath / "hw" / "spinal"
|
millSourcePath / "hw" / "spinal",
|
||||||
|
millSourcePath / "tb" / "spinal"
|
||||||
)
|
)
|
||||||
def ivyDeps = Agg(
|
def ivyDeps = Agg(
|
||||||
ivy"com.github.spinalhdl::spinalhdl-core:$spinalVersion",
|
ivy"com.github.spinalhdl::spinalhdl-core:$spinalVersion",
|
||||||
|
|||||||
0
tb/verilog/.gitignore
vendored
Normal file
0
tb/verilog/.gitignore
vendored
Normal file
0
tb/vhdl/.gitignore
vendored
Normal file
0
tb/vhdl/.gitignore
vendored
Normal file
Reference in New Issue
Block a user