chisel3.internal.ChiselException: [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit CODE HAS 2 ERRORS and 0 WARNINGS

GitHub | ccelio | 7 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

    GitHub comment 240#234443671

    GitHub | 7 months ago | ccelio
    chisel3.internal.ChiselException: [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit CODE HAS 2 ERRORS and 0 WARNINGS

    Root Cause Analysis

    1. chisel3.internal.ChiselException

      [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit [error] decode.scala:359: Parameterized Bundle class boom.DecodeUnitIo$$anon$1 needs cloneType method. You are probably using an anonymous Bundle object that captures external state and hence is un-cloneTypeable in class boom.DecodeUnit CODE HAS 2 ERRORS and 0 WARNINGS

      at chisel3.internal.throwException$.apply()
    2. chisel3.internal
      Builder$$anonfun$build$1.apply
      1. chisel3.internal.throwException$.apply(Error.scala:13)
      2. chisel3.internal.ErrorLog.checkpoint(Error.scala:38)
      3. chisel3.internal.Builder$$anonfun$build$1.apply(Builder.scala:123)
      4. chisel3.internal.Builder$$anonfun$build$1.apply(Builder.scala:119)
      4 frames
    3. Scala
      DynamicVariable.withValue
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
      1 frame
    4. chisel3.internal
      Builder$.build
      1. chisel3.internal.Builder$.build(Builder.scala:119)
      1 frame
    5. chisel3
      Driver$.elaborate
      1. chisel3.Driver$.elaborate(Driver.scala:111)
      1 frame
    6. chisel3.compatibility
      chiselMain$.run
      1. chisel3.compatibility.chiselMain$.run(Main.scala:14)
      1 frame
    7. rocketchip
      TestGenerator$delayedInit$body.apply
      1. rocketchip.TestGenerator$.delayedEndpoint$rocketchip$TestGenerator$1(Testing.scala:185)
      2. rocketchip.TestGenerator$delayedInit$body.apply(Testing.scala:165)
      2 frames
    8. Scala
      App$$anonfun$main$1.apply
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      4 frames