scala.MatchError: (FixedType(IntWidth(6),IntWidth(4)),FixedType(IntWidth(6),IntWidth(4))) (of class scala.Tuple2)

GitHub | chick | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error in BulkEquals using FixTypes

    GitHub | 6 months ago | chick
    scala.MatchError: (FixedType(IntWidth(6),IntWidth(4)),FixedType(IntWidth(6),IntWidth(4))) (of class scala.Tuple2)

    Root Cause Analysis

    1. scala.MatchError

      (FixedType(IntWidth(6),IntWidth(4)),FixedType(IntWidth(6),IntWidth(4))) (of class scala.Tuple2)

      at firrtl.passes.CheckTypes$.firrtl$passes$CheckTypes$$bulk_equals$1()
    2. firrtl.passes
      CheckTypes$$anonfun$firrtl$passes$CheckTypes$$bulk_equals$1$1$$anonfun$apply$mcVI$sp$1.apply$mcVI$sp
      1. firrtl.passes.CheckTypes$.firrtl$passes$CheckTypes$$bulk_equals$1(Checks.scala:487)
      2. firrtl.passes.CheckTypes$$anonfun$firrtl$passes$CheckTypes$$bulk_equals$1$1$$anonfun$apply$mcVI$sp$1.apply$mcVI$sp(Checks.scala:498)
      2 frames
    3. Scala
      Range.foreach$mVc$sp
      1. scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:166)
      1 frame
    4. firrtl.passes
      CheckTypes$$anonfun$firrtl$passes$CheckTypes$$bulk_equals$1$1.apply$mcVI$sp
      1. firrtl.passes.CheckTypes$$anonfun$firrtl$passes$CheckTypes$$bulk_equals$1$1.apply$mcVI$sp(Checks.scala:494)
      1 frame
    5. Scala
      Range.foreach$mVc$sp
      1. scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:166)
      1 frame
    6. firrtl.passes
      CheckTypes$$anonfun$firrtl$passes$CheckTypes$$check_types_s$1$2.apply
      1. firrtl.passes.CheckTypes$.firrtl$passes$CheckTypes$$bulk_equals$1(Checks.scala:493)
      2. firrtl.passes.CheckTypes$.firrtl$passes$CheckTypes$$check_types_s$1(Checks.scala:513)
      3. firrtl.passes.CheckTypes$$anonfun$firrtl$passes$CheckTypes$$check_types_s$1$2.apply(Checks.scala:529)
      4. firrtl.passes.CheckTypes$$anonfun$firrtl$passes$CheckTypes$$check_types_s$1$2.apply(Checks.scala:529)
      4 frames
    7. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      3. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      4. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
      6. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      6 frames
    8. firrtl
      Mappers$StmtMap.map
      1. firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44)
      2. firrtl.Mappers$StmtMap.map(Mappers.scala:95)
      2 frames
    9. firrtl.passes
      CheckTypes$$anonfun$run$2.apply
      1. firrtl.passes.CheckTypes$.firrtl$passes$CheckTypes$$check_types_s$1(Checks.scala:529)
      2. firrtl.passes.CheckTypes$$anonfun$run$2.apply(Checks.scala:536)
      3. firrtl.passes.CheckTypes$$anonfun$run$2.apply(Checks.scala:532)
      3 frames
    10. Scala
      ArrayBuffer.foreach
      1. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      2. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
      2 frames
    11. firrtl.passes
      CheckTypes$.run
      1. firrtl.passes.CheckTypes$.run(Checks.scala:532)
      1 frame
    12. firrtl
      SimpleRun$$anonfun$1.apply
      1. firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48)
      2. firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48)
      3. firrtl.Utils$.time(Utils.scala:57)
      4. firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:48)
      5. firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:46)
      5 frames
    13. Scala
      List.foldLeft
      1. scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
      2. scala.collection.immutable.List.foldLeft(List.scala:84)
      2 frames
    14. firrtl
      Compiler$$anonfun$compile$1.apply
      1. firrtl.SimpleRun$class.run(LoweringCompilers.scala:45)
      2. firrtl.ResolveAndCheck.run(LoweringCompilers.scala:83)
      3. firrtl.ResolveAndCheck.execute(LoweringCompilers.scala:97)
      4. firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:71)
      5. firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:70)
      5 frames
    15. Scala
      List.foldLeft
      1. scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
      2. scala.collection.immutable.List.foldLeft(List.scala:84)
      2 frames
    16. firrtl
      LowFirrtlCompiler.compile
      1. firrtl.Compiler$class.compile(Compiler.scala:70)
      2. firrtl.LowFirrtlCompiler.compile(LoweringCompilers.scala:185)
      2 frames
    17. firrtl_interpreter
      InterpretiveTester.<init>
      1. firrtl_interpreter.ToLoFirrtl$.lower(ToLoFirrtl.scala:15)
      2. firrtl_interpreter.FirrtlTerp.<init>(FirrtlTerp.scala:34)
      3. firrtl_interpreter.FirrtlTerp$.apply(FirrtlTerp.scala:152)
      4. firrtl_interpreter.InterpretiveTester.<init>(InterpretiveTester.scala:20)
      4 frames
    18. chisel3.iotesters
      Driver$.apply
      1. chisel3.iotesters.FirrtlTerpBackend.<init>(FirrtlTerpBackend.scala:20)
      2. chisel3.iotesters.setupFirrtlTerpBackend$.apply(FirrtlTerpBackend.scala:97)
      3. chisel3.iotesters.Driver$.apply(Driver.scala:22)
      3 frames
    19. Vert.x Core
      SimpleOneArgBundleSpec$$anonfun$2.apply
      1. examples.SimpleOneArgBundleSpec$$anonfun$2.apply$mcV$sp(OneArgSpec.scala:57)
      2. examples.SimpleOneArgBundleSpec$$anonfun$2.apply(OneArgSpec.scala:59)
      3. examples.SimpleOneArgBundleSpec$$anonfun$2.apply(OneArgSpec.scala:59)
      3 frames
    20. scalatest
      OutcomeOf$class.outcomeOf
      1. org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
      2. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
      2 frames