Skip to content

Commit

Permalink
Specify that value_set's size is compile-time known
Browse files Browse the repository at this point in the history
Signed-off-by: Jaehyun Lee <[email protected]>
  • Loading branch information
jaehyun1ee authored Dec 2, 2024
1 parent e992329 commit 33ddcb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p4-16/spec/P4-16-spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6565,8 +6565,8 @@ include::grammar.adoc[tag=valueSetDeclaration]
----

Parser Value Sets support a `size` argument to provide hints to the compiler to
reserve hardware resources to implement the value set. For example, this parser
value set:
reserve hardware resources to implement the value set. Thus, the `size` argument
must be a compile-time known value. For example, this parser value set:

[source,p4]
----
Expand Down

0 comments on commit 33ddcb5

Please sign in to comment.