-
Notifications
You must be signed in to change notification settings - Fork 444
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
Initial support for arbitrary externs on bmv2 #591
Conversation
Thanks, I have an upcoming patch that already implemented this feature as part of a larger refactoring. Would you mind holding on to this till I merged the refactor in? Then you can modify the refactored backend instead. |
Not problem. I'll wait then. Regards, |
We should define an annotation ( |
@engjefersonsantiago It is going to be difficult for you rebase this pull request, given the most recent refactor. I suggest you re-apply your changes to the refactor bmv2 backend code. Sorry for the trouble. |
@hanw, maybe it will be a bit easier for you to check if your implementation fully contains my patch. Your changes have more than 6k LOC, mine is just 50 LOC. |
Sure I will do that. Thanks. |
Please submit a separate pull request for issue #604, I will close this one for now. |
Dear all,
I have implemented the initial support to extern instances in the bmv2 backend compiler. I have tested with P4-16 and P4-14. It is functional with P4-16, but I've seen an issue with P4-14, where the instantiation parameters are not being taken.
Regards,
Jeferson