-
Notifications
You must be signed in to change notification settings - Fork 299
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
[FIRRTL][LowerLayers] Cannot send rwprobe out of layer #7365
Comments
dtzSiFive
added
bug
Something isn't working
FIRRTL
Involving the `firrtl` dialect
labels
Jul 22, 2024
Related, splitting the declaration from its rwprobe creation: FIRRTL version 4.0.0
circuit L:
layer T, bind:
public module L:
output p : RWProbe<UInt<1>, T>
wire w : UInt<1>
connect w, UInt<1>(0)
layerblock T:
define p = rwprobe(w) Produces:
This one's trickier. It's not possible to always sink the rwprobe target into the layer (could have other users, or target a port). |
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Jul 22, 2024
Fixes first example in llvm#7365 .
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Jul 22, 2024
Fixes first example in llvm#7365 .
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Jul 22, 2024
Fixes first example in llvm#7365 .
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Aug 6, 2024
Fixes first example in llvm#7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Aug 8, 2024
Fixes first example in llvm#7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Aug 8, 2024
Fixes first example in llvm#7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Aug 12, 2024
Fixes first example in llvm#7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
Aug 15, 2024
Fixes first example in llvm#7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
dtzSiFive
added a commit
that referenced
this issue
Aug 22, 2024
Fixes first example in #7365 . Add error path to LowerLayers so anything that goes wrong can fail the pass.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this design, which exposes a RWProbe to a wire in a layer:
Presently this produces an error after LowerLayers:
IR failing the above verification:
Looks like LowerLayers needs to learn to rewrite the inner-refs used by operations it sinks.
cc #7144
The text was updated successfully, but these errors were encountered: