[P4-discuss] p4lang/p4c-behavioral

Antonin Bas antonin at barefootnetworks.com
Mon Oct 17 19:54:20 EDT 2016

p4c-behavioral is the initial version of the behavioral model (also called
bmv1). It would compile the P4 code to C code. The C code could then be
compiled with gcc to obtain a switch executable.
p4c-behavioral is being deprecated in favor of bmv2 (
https://github.com/p4lang/behavioral-model) and we don't provide support
for it any more (except for existing bug fixes). Our reasons for
deprecating p4c-behavioral are listed here:
Fell free to try out p4c-behavioral if you want. The p4factory repository
still supports it and you can follow these instructions:

On Mon, Oct 17, 2016 at 4:42 PM, Thambi Sreedharan <thambisree at gmail.com>

> Hi
> What is the difference between p4c-behavioral p4c-bm,
> using p4c-behavioral  i compiled my P4 code and it generated a set of
> files --gen-dir option.
> I like to know more about generated files use, is this similar to p4c-bm
> --pd and How compile this generated files  which file is the top file
> Thanks
> thambi
> _______________________________________________
> P4-discuss mailing list
> P4-discuss at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-discuss_lists.p4.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20161017/d60ccab0/attachment-0002.html>

More information about the P4-discuss mailing list