Skip to content
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] RWProbeOp: support width inference. #5782

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

dtzSiFive
Copy link
Contributor

@dtzSiFive dtzSiFive commented Aug 4, 2023

Rework RWProbeOp to explicitly track result type,
don't "infer" from target type argument (removed).

This is a better fit for this op, particualrly in that no
useful "inference" is performed that way.
(not inferring through symbol target)

Teach InferWidths about the type constraint,
getting inner symbol analysis for resolution.

Loosen parsing, but still only use RWProbeOp
for ports.

With these changes, it's nearly possible to remove
"Forceable" entirely in favor of the one mechanism.

Copy link
Contributor

@mikeurbach mikeurbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with InferWidths, but I think this makes sense.

@dtzSiFive dtzSiFive force-pushed the feature/rwprobe-op-infer-widths branch from bb48da5 to 18d1b8e Compare August 10, 2023 21:14
Rework RWProbeOp to explicitly track result type,
don't "infer" from target type argument (removed).

This is a better fit for this op, particualrly in that no
useful "inference" is performed that way.
(not inferring through symbol target)

Teach InferWidths about the type constraint,
getting inner symbol analysis for resolution.

Loosen parsing, but still only use RWProbeOp
for ports.

With these changes, it's nearly possible to remove
"Forceable" entirely in favor of the one mechanism.
@dtzSiFive dtzSiFive force-pushed the feature/rwprobe-op-infer-widths branch from 18d1b8e to 4e7f229 Compare August 11, 2023 16:35
@dtzSiFive dtzSiFive merged commit 7f0c1c6 into llvm:main Aug 11, 2023
5 checks passed
@dtzSiFive dtzSiFive deleted the feature/rwprobe-op-infer-widths branch August 11, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants