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

Make reactor names available at runtime #2450

Merged
merged 7 commits into from
Dec 30, 2024
Merged

Make reactor names available at runtime #2450

merged 7 commits into from
Dec 30, 2024

Conversation

edwardalee
Copy link
Collaborator

@edwardalee edwardalee commented Dec 28, 2024

This PR adds two functions (and macros), lf_reactor_name and lf_reactor_full_name, each of which takes a self struct as an argument. The name is the instance name given by the new statement. If the reactor is in a bank, then the name will have a suffix of the form [bank_index]. The full name is the name of the reactor and all its parents separated by periods. There is a companion PR in reactor-c.

@edwardalee edwardalee added the enhancement Enhancement of existing feature label Dec 28, 2024
@edwardalee edwardalee merged commit 566bac5 into master Dec 30, 2024
23 checks passed
@edwardalee edwardalee deleted the reactor-names branch December 30, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant