scala.MatchError

EmptyExpression (of class firrtl.EmptyExpression$)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web437

  • EmptyExpression (of class firrtl.EmptyExpression$)
  • EmptyExpression (of class firrtl.EmptyExpression$)
  • false (of class java.lang.Boolean)
  • Stack trace

    • scala.MatchError: EmptyExpression (of class firrtl.EmptyExpression$) at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_e$1(Passes.scala:172) at firrtl.passes.InferTypes$$anonfun$7.apply(Passes.scala:172) at firrtl.passes.InferTypes$$anonfun$7.apply(Passes.scala:172) at firrtl.Mappers$ExpMagnet$$anon$5.map(Mappers.scala:112) at firrtl.Mappers$ExpMap.map(Mappers.scala:144) at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_e$1(Passes.scala:172) at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$5.apply(Passes.scala:213) at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$5.apply(Passes.scala:213) at firrtl.Mappers$StmtMagnet$$anon$3.map(Mappers.scala:54) at firrtl.Mappers$StmtMap.map(Mappers.scala:95) at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213) at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213) at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.TraversableLike$class.map(TraversableLike.scala:245) at scala.collection.immutable.List.map(List.scala:285) at firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44) at firrtl.Mappers$StmtMap.map(Mappers.scala:95) at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213) at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types$1(Passes.scala:220) at firrtl.passes.InferTypes$$anonfun$run$2.apply(Passes.scala:236) at firrtl.passes.InferTypes$$anonfun$run$2.apply(Passes.scala:236) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at scala.collection.TraversableLike$class.map(TraversableLike.scala:245) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at firrtl.passes.InferTypes$.run(Passes.scala:236) at firrtl.passes.ReplSeqMem$$anonfun$execute$1$$anonfun$7.apply(ReplSeqMem.scala:128) at firrtl.passes.ReplSeqMem$$anonfun$execute$1$$anonfun$7.apply(ReplSeqMem.scala:128) at firrtl.Utils$.time(Utils.scala:57) at firrtl.passes.ReplSeqMem$$anonfun$execute$1.apply(ReplSeqMem.scala:128) at firrtl.passes.ReplSeqMem$$anonfun$execute$1.apply(ReplSeqMem.scala:127) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at firrtl.passes.ReplSeqMem.execute(ReplSeqMem.scala:126) at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:71) at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:70) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at firrtl.Compiler$class.compile(Compiler.scala:70) at firrtl.VerilogCompiler.compile(LoweringCompilers.scala:199) at firrtl.Driver$.compile(Driver.scala:109) at firrtl.Driver$.run(Driver.scala:183) at firrtl.Driver$.main(Driver.scala:86) at firrtl.Driver.main(Driver.scala)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.