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

[FIRParser] Parse PropAssignOps #5365

Merged
merged 2 commits into from
Jun 12, 2023
Merged

Conversation

youngar
Copy link
Member

@youngar youngar commented Jun 12, 2023

No description provided.

@youngar youngar added the FIRRTL Involving the `firrtl` dialect label Jun 12, 2023
@youngar youngar requested review from mikeurbach and rwy7 June 12, 2023 21:05
Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

Thanks for chunking these up into small PRs! 👍

module PropAssignNonProperty:
input x : UInt<1>
output y : UInt<1>
propassign x, y ; expected-error {{can only propassign property types}}
Copy link
Member

Choose a reason for hiding this comment

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

Nit: A check of the "cannot propassign non-equivalent types" would be nice.

Copy link
Member Author

Choose a reason for hiding this comment

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

We only have StringType right now so its impossible to hit :'(

Copy link
Contributor

@dtzSiFive dtzSiFive left a comment

Choose a reason for hiding this comment

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

LGTM!

@youngar youngar merged commit 099378c into llvm:main Jun 12, 2023
@youngar youngar deleted the firrtl-parse-propassign branch June 12, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FIRRTL Involving the `firrtl` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants