-
Notifications
You must be signed in to change notification settings - Fork 597
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
Chisel's IR is public #414
Comments
Agree with making it private. It's already part of the |
Please make sure rocket-chip's use case continues to be supported (e.g. https://github.com/ucb-bar/rocket-chip/blob/master/src/main/scala/util/GeneratorUtils.scala). |
A reasonable approach might be to comment very explicitly on the internal package that anything inside the package is subject to changing arbitrarily so only advanced users willing to deal with API changes should dare venture inside. Also, if we could exclude everything inside the internal package from the published ScalaDoc, then it's pretty hidden. |
I think this is a pragmatic compromise. |
On second thought, this probably is fine since it's already jumping into the package |
Resolution: change chisel3.internal.firrtl to chisel3.internal.ir (because its not strictly FIRRTL - Chisel has it's internal IR that's slightly different) and make it private. There are some cases where the IR is currently inadvertently exposed, these should be fixed. |
Chisel's IR (which is not Firrtl) is currently public and thus part of the API. Should this be the case? Now is the time to make it private if we're going to.
The text was updated successfully, but these errors were encountered: