/p4c-behavioral

P4 compiler for the behavioral model

Primary LanguageCApache License 2.0Apache-2.0

p4c-behavioral

P4 compiler for the behavioral model (BM) target

Pre-requisites:
Install p4-hlir (https://github.com/p4lang/p4-hlir)

To install:
sudo python setup.py install

To run:
p4c-behavioral <path_to_p4_program> --gen-dir <dir_for_generated_files> [--thrift]

For more info:
p4c-behavioral --help

p4c-bm is an alias for p4c-behavioral