verified-network-toolchain / petr4

Petr4: Formal Semantics for P4
Apache License 2.0
74 stars 20 forks source link

General switch statement #308

Open QinshiWang opened 2 years ago

QinshiWang commented 2 years ago

Current, only switch statements on table.apply().action_run are supported. The switch statement has been generalized in P4-16-v1.2.2. https://p4.org/p4-spec/docs/P4-16-v1.2.2.html#sec-switch-stmt