freechipsproject / chisel-bootcamp

Generator Bootcamp Material: Learn Chisel the Right Way
Apache License 2.0
983 stars 278 forks source link

4.4 FIRRTL Transform Example is broken w/Chisel 3.4+ #129

Open edwardcwang opened 3 years ago

edwardcwang commented 3 years ago
firrtl.FirrtlInternalException: Internal Error! Please file an issue at https://github.com/ucb-bar/firrtl/issues
  firrtl.Utils$.error(Utils.scala:472)
  firrtl.Utils$.throwInternalError(Utils.scala:163)
  ammonite.$file.dummy.source.load$minusivy_2$Helper.compileFIRRTL(Main.sc:66)
  ammonite.$sess.cmd7$Helper.<init>(cmd7.sc:1)
  ammonite.$sess.cmd7$.<init>(cmd7.sc:7)
  ammonite.$sess.cmd7$.<clinit>(cmd7.sc:-1)
java.lang.NoSuchMethodException: ammonite.$sess.cmd3$Helper$AnalyzeCircuit.<init>()
  java.lang.Class.getConstructor0(Class.java:3349)
  java.lang.Class.newInstance(Class.java:556)
  firrtl.options.Dependency.safeConstruct(Phase.scala:58)
  firrtl.options.Dependency.getObject(Phase.scala:43)
  firrtl.options.DependencyManager.$anonfun$dependencyToObject$3(DependencyManager.scala:58)
  firrtl.options.DependencyManager.$anonfun$dependencyToObject$3$adapted(DependencyManager.scala:58)
  scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
  scala.collection.mutable.LinkedHashSet.foreach(LinkedHashSet.scala:95)
  scala.collection.TraversableLike.map(TraversableLike.scala:238)
  scala.collection.TraversableLike.map$(TraversableLike.scala:231)
  scala.collection.mutable.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:48)
  scala.collection.SetLike.map(SetLike.scala:104)
  scala.collection.SetLike.map$(SetLike.scala:104)
  scala.collection.mutable.AbstractSet.map(Set.scala:48)
  firrtl.options.DependencyManager.dependencyToObject(DependencyManager.scala:58)
  firrtl.options.DependencyManager.dependencyToObject$(DependencyManager.scala:54)
  firrtl.stage.TransformManager.dependencyToObject$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.dependencyToObject(TransformManager.scala:14)
  firrtl.options.DependencyManager.dToO(DependencyManager.scala:72)
  firrtl.options.DependencyManager.$anonfun$bfs$1(DependencyManager.scala:89)
  scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
  scala.collection.mutable.LinkedHashSet.foreach(LinkedHashSet.scala:95)
  scala.collection.TraversableLike.map(TraversableLike.scala:238)
  scala.collection.TraversableLike.map$(TraversableLike.scala:231)
  scala.collection.mutable.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:48)
  scala.collection.SetLike.map(SetLike.scala:104)
  scala.collection.SetLike.map$(SetLike.scala:104)
  scala.collection.mutable.AbstractSet.map(Set.scala:48)
  firrtl.options.DependencyManager.bfs(DependencyManager.scala:89)
  firrtl.options.DependencyManager.firrtl$options$DependencyManager$$prerequisiteGraph(DependencyManager.scala:122)
  firrtl.options.DependencyManager.firrtl$options$DependencyManager$$prerequisiteGraph$(DependencyManager.scala:118)
  firrtl.stage.TransformManager.firrtl$options$DependencyManager$$prerequisiteGraph$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.firrtl$options$DependencyManager$$prerequisiteGraph(TransformManager.scala:14)
  firrtl.options.DependencyManager.dependencyGraph(DependencyManager.scala:165)
  firrtl.options.DependencyManager.dependencyGraph$(DependencyManager.scala:165)
  firrtl.stage.TransformManager.dependencyGraph$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.dependencyGraph(TransformManager.scala:14)
  firrtl.options.DependencyManager.invalidateGraph(DependencyManager.scala:169)
  firrtl.options.DependencyManager.invalidateGraph$(DependencyManager.scala:168)
  firrtl.stage.TransformManager.invalidateGraph$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.invalidateGraph(TransformManager.scala:14)
  firrtl.options.DependencyManager.transformOrder(DependencyManager.scala:210)
  firrtl.options.DependencyManager.transformOrder$(DependencyManager.scala:204)
  firrtl.stage.TransformManager.transformOrder$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.transformOrder(TransformManager.scala:14)
  firrtl.options.DependencyManager.flattenedTransformOrder(DependencyManager.scala:250)
  firrtl.options.DependencyManager.flattenedTransformOrder$(DependencyManager.scala:250)
  firrtl.stage.TransformManager.flattenedTransformOrder$lzycompute(TransformManager.scala:14)
  firrtl.stage.TransformManager.flattenedTransformOrder(TransformManager.scala:14)
  firrtl.options.DependencyManager.transform(DependencyManager.scala:265)
  firrtl.options.DependencyManager.transform$(DependencyManager.scala:255)
  firrtl.stage.TransformManager.transform(TransformManager.scala:14)
  firrtl.Compiler.compile(Compiler.scala:606)
  firrtl.Compiler.compile$(Compiler.scala:600)
  firrtl.VerilogCompiler.compile(LoweringCompilers.scala:154)
  firrtl.Compiler.compileAndEmit(Compiler.scala:583)
  firrtl.Compiler.compileAndEmit$(Compiler.scala:581)
  firrtl.VerilogCompiler.compileAndEmit(LoweringCompilers.scala:154)
  firrtl.Compiler.compile(Compiler.scala:559)
  firrtl.Compiler.compile$(Compiler.scala:558)
  firrtl.VerilogCompiler.compile(LoweringCompilers.scala:154)
  ammonite.$file.dummy.source.load$minusivy_2$Helper.compileFIRRTL(Main.sc:57)
  ammonite.$sess.cmd7$Helper.<init>(cmd7.sc:1)
  ammonite.$sess.cmd7$.<init>(cmd7.sc:7)
  ammonite.$sess.cmd7$.<clinit>(cmd7.sc:-1)