-
Notifications
You must be signed in to change notification settings - Fork 615
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
Fix deprecation warning that leaks into user code #1256
Conversation
Data.isLit called Data.litArg which would trigger a Chisel runtime deprecation warning in user code with source locator Data.scala:488
@ucbjrl it seems that Jenkins is down. Did we decide to remove Jenkins from regular CI flow? Should we go ahead and remove it? |
Let's remove Jenkins from the PR flow. |
@ucbjrl can you or one of the other repo admins do it? It's somewhere in the repo settings |
I removed it. I'm not sure what else may be required. I'll squash and merge it once the CircleCI checks complete. |
Thanks Jim!! |
Data.isLit called Data.litArg which would trigger a Chisel runtime deprecation warning in user code with source locator Data.scala:488 (cherry picked from commit afef8b8)
Unfortunately, this breaks dsptools since: override def litOption: Option[BigInt] = ??? // TODO implement me
|
dsptools just wants to know if this is a lit; it doesn't care about its value. Perhaps we should have |
Why doesn't it care about the value? Should we instead implement In any case, this may need to be reverted from |
It's an optimization. Check out DspComplex.scala |
Oh I see, I guess alternatively we can just make |
Data.isLit called Data.litArg which would trigger a Chisel runtime
deprecation warning in user code with source locator Data.scala:488
As reported in https://stackoverflow.com/questions/59049673/how-to-initialize-a-reg-of-bundle-in-chisel/59058082?noredirect=1#comment104418728_59058082
Related issue:
Type of change: bug fix
Impact: no functional change
Development Phase: implementation
Release Notes
Fix internal deprecation warning on Data.isLit that leaked into user code