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

Reject '<=' and 'is invalid' if FIRRTL version >=3 #7733

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

seldridge
Copy link
Member

@seldridge seldridge commented Oct 25, 2024

Change CIRCT's FIRRTL parser to reject statements which are supposed to be disallowed in FIRRTL 3.

Fixes #7731.

Convert tests to use "invalidate" and not "is invalid".  The latter is
supposed to be illegal in FIRRTL >=3.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Fix the parser to reject "is invalid" if the specified FIRRTL version is
>= 3.0.0.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Get rid of usages of the deprecated '<=' connect syntax that is not
supported in FIRRTL versions >=3.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Reject '<=' style FIRRTL connections if the FIRRTL version is 3 or higher.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge force-pushed the dev/seldridge/firrtl-3-parsing-checks branch from b365dca to 8235381 Compare October 25, 2024 21:02
@seldridge seldridge merged commit 8235381 into main Oct 25, 2024
4 checks passed
@seldridge seldridge deleted the dev/seldridge/firrtl-3-parsing-checks branch October 25, 2024 21:15
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.

[FIRRTL] Remove FIRRTL 3.0.0 syntax Parsing
1 participant