Skip to content

P4-vSwitch/p4c-behavioral

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

P4 compiler for the behavioral model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 62.1%
  • Python 19.4%
  • C++ 9.4%
  • Objective-C 4.1%
  • Thrift 3.7%
  • Makefile 1.3%