Specify type parameter when calling chiselTypeClone#3476
Conversation
|
|
580197e to
d70a6e0
Compare
|
Can you point to the API docs/source you are referencing? I believe this may be necessary now, but I haven't seen the updated API yet. |
|
Here is how it's defined in Chisel 3.6: https://github.com/chipsalliance/chisel/blob/3.6-release/core/src/main/scala/chisel3/reflect/DataMirror.scala#L177 The method takes a generic type Honestly, I don't quite understand how things like this may have worked before, but I know that presently, when I add |
|
This is a longstanding bug in Chisel, just fixed it: chipsalliance/chisel#3553 (h/t @sequencer for pointing me to it showing up here). |
|
Let's wait for next release of |
Due to the signature of method
DataMirror.internal.chiselTypeClone, if you don't specify the type parameterT, it will resolve toNothing. This causes a good amount of tests usingLazyModuleto break in rocket-dsp-utils.Type of change: bug report
Impact: no functional change
Development Phase: implementation