-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify type parameter when calling chiselTypeClone #3476
base: dev
Are you sure you want to change the base?
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 usingLazyModule
to break in rocket-dsp-utils.Type of change: bug report
Impact: no functional change
Development Phase: implementation