Add BSwitch macro and update gtkwave config

This commit is contained in:
2025-11-11 19:12:12 +01:00
parent 4c967431ed
commit f9cbcaf20f
3 changed files with 90 additions and 1 deletions

View File

@@ -13,6 +13,17 @@ import mill.bsp._
// to properly generate and handle test directories and output files.
// See: https://github.com/com-lihaoyi/mill/issues/3840
object macros extends ScalaModule {
def scalaVersion = "2.13.16"
def scalacOptions = Seq[String]()
override def ivyDeps = Agg(
ivy"org.chipsalliance::chisel:7.2.0"
)
override def scalacPluginIvyDeps = Agg(
ivy"org.chipsalliance:::chisel-plugin:7.2.0"
)
}
object `TPchisel` extends SbtModule { m =>
override def millSourcePath = super.millSourcePath / os.up
override def scalaVersion = "2.13.16"
@@ -27,6 +38,7 @@ object `TPchisel` extends SbtModule { m =>
"-Ywarn-dead-code",
"-Ywarn-unused"
)
override def moduleDeps = Seq(macros)
override def ivyDeps = Agg(
ivy"org.chipsalliance::chisel:7.2.0"
)