Add BSwitch macro and update gtkwave config
This commit is contained in:
12
build.sc
12
build.sc
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user