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] Add inline convention to layers #6980

Merged
merged 2 commits into from
May 2, 2024

Conversation

seldridge
Copy link
Member

Add an "inline" convention to layers by adding this to the existing enumeration. By the nature of how the parser works, this automatically adds support to parse this attribute without modifications to the parser.

This does not add any support for this in the FIRRTL pipeline.

Add an "inline" convention to layers by adding this to the existing
enumeration.  By the nature of how the parser works, this automatically
adds support to parse this attribute without modifications to the parser.

This does not add any support for this in the FIRRTL pipeline.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@dtzSiFive
Copy link
Contributor

Super neat all it took was just extending the enum!!!

Consider checking this emitter-side but looks like that just works similarly (untested)! So up to you.

@seldridge
Copy link
Member Author

Consider checking this emitter-side but looks like that just works similarly (untested)! So up to you.

Yes, the emitter happily works, too. I modified an emitter test to check this here: 5063cc0

@seldridge seldridge merged commit 279a3e3 into main May 2, 2024
4 checks passed
@seldridge seldridge deleted the dev/seldridge/inline-layer-convention branch May 2, 2024 04:24
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.

None yet

2 participants