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

SuperP4: Generic ControlDeclarations #175

Open
kaarthikalagappan opened this issue May 3, 2022 · 0 comments
Open

SuperP4: Generic ControlDeclarations #175

kaarthikalagappan opened this issue May 3, 2022 · 0 comments

Comments

@kaarthikalagappan
Copy link
Contributor

P4 Language Specification Document (https://p4.org/p4-spec/docs/P4-16-working-spec.html#sec-control) specifies that control declarations (along with parser declarations) cannot have generic values in them. ControlTypeDeclaration can have generic types in them but not ControlDeclaration. But p4c allows that happen as in the case of generic.p4i

Need to check what is valid

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

No branches or pull requests

1 participant