-
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
Unify BaseModule.IO and chisel3.experimental.IO into chisel3.IO #2863
Unify BaseModule.IO and chisel3.experimental.IO into chisel3.IO #2863
Conversation
* Internal API. | ||
*/ | ||
def apply[T <: Data](iodef: => T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T = { | ||
val module = Module.currentModule.get // Impossible to fail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is this impossible to fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It definitely isn't but note that @adkian-sifive just moved this code. It probably was impossible back when the only way to call IO
was via protected def
defined on Module
.
(cherry picked from commit de25bf6) # Conflicts: # core/src/main/scala/chisel3/Module.scala
1. remove Cat from util chipsalliance/chisel#3062 2. remove experimental.IO chipsalliance/chisel#2863
1. remove Cat from util chipsalliance/chisel#3062 2. remove experimental.IO chipsalliance/chisel#2863
- remove experimental.IO chipsalliance/chisel#2863 - remove additional bracket - remove Chisel compatibility mode
- remove experimental.IO chipsalliance/chisel#2863 - remove bracket for fire() - remove Chisel compatibility mode
- remove experimental.IO chipsalliance/chisel#2863 - remove bracket for fire() - remove Chisel compatibility mode
Contributor Checklist
docs/src
?Type of Improvement
API Impact
chisel3.experimental.IO
will be deprecated and replaced bychisel3.IO
Backend Code Generation Impact
N/A
Desired Merge Strategy
Release Notes
The
IO
fromchisel3.experimental.IO
been deprecated in favor ofchisel3.IO
.Reviewer Checklist (only modified by reviewer)
3.4.x
, [small] API extension:3.5.x
, API modification or big change:3.6.0
)?Enable auto-merge (squash)
, clean up the commit message, and label withPlease Merge
.Create a merge commit
.