Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 380 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 380 Bytes

p4c-behavioral

P4 compiler for the behavioral model (BM) target

Pre-requisites:
Install p4-hlir (https://github.com/barefootnetworks/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