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

[minor] Add inline layer convention #262

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

seldridge
Copy link
Member

Add the inline layer convention to the FIRRTL spec and FIRRTL ABI. Clarify some language in the spec around layers.

Add the inline layer convention to the FIRRTL spec and FIRRTL ABI.
Clarify some language in the spec around layers.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge requested a review from darthscsi December 6, 2024 05:23
seldridge added a commit to llvm/circt that referenced this pull request Dec 6, 2024
Partially implement the inline layer convention ABI as described in the
FIRRTL Spec/ABI PR for this feature [[1]].  This changes the name of the
macro to be something that is more descriptive and cannot collide with
FIRRTL identifiers (which are supposed to not include `$`).

This does not implement the full ABI.  Namely, it does not correctly
handle circuits with multiple public modules.  (Notably, this isn't
implemented for the bind layer convention either.)  This will be fixed in
a follow-on.

[1]: chipsalliance/firrtl-spec#262

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge merged commit cc11d96 into main Dec 13, 2024
1 check passed
@seldridge seldridge deleted the dev/seldridge/inline-layer-convention branch December 13, 2024 21:59
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.

1 participant