当我合成由 Chisel 生成的 verilog 模块时,我收到了这种类型的警告(很多!):
Warning (10036): Verilog HDL or VHDL warning at Polynomial.v(26): object "T98" assigned a value but never read
当我生成verilog代码时,是否可以选择删除这种类型的“无用”信号?
我在 scala 代码中使用此选项生成 verilog:
object PolynomialMain {
def main(args: Array[String]): Unit = {
chiselMain(Array("--backend", "v"), () => Module(new Polynomial()))
}
}
这里是我的 built.sbt :
libraryDependencies += "edu.berkeley.cs" %% "chisel" % "2.3-SNAPSHOT"
scalaVersion := "2.11.6"
scalacOptions ++= Seq("-deprecation",
"-feature",
"-unchecked",
"-language:reflectiveCalls")