Open SStriver opened 7 years ago
I am running into the same issue, is there a working example of a P4 code that can be compiled with p4fpga? Also, I am not sure if I am missing some parameters in the command line or my code can't be compiled using p4fpga, so a few examples or a tutorial would be useful.
So do I. A set of workable examples and explanations on makefiles would be highly appreciated.
Unfortunately, it seems like this project is undermaintained...
See an example into a Makefile of 09-l2forwarding example (https://github.com/hanw/p4fpga/blob/master/examples/09-l2forwarding/Makefile):
p4fpga -o generatedbsv --p4-14 -v --top4 Evaluator -Tfcontrol:1,fparser:1 $(P4FILE)
@zjuan22 when make this example shows that: error: lookahead not handled yet Seems to be missing something. Can you tell me how to set up the environment in detail? Is there a tutorial?
Hi @SStriver I don't found any tutorial about this. Are you compiled p4fpga with p4c, it seem that wasn't installed or you need to do a link of p4fpga binary file, it should be in the folder p4c/build.
Hi, guys, my sincere apology for not being able to keep up with the support requests for p4fpga. As suggested by @zjuan22 's academic advisor, I have created an email list using google group to manage the development activities, gather support requests and host discussions. Please join us at https://groups.google.com/forum/#!forum/p4fpga-dev Hopefully, with the help of an email list, we can scale up our capability to support this open source project by helping out each other.
when i compile a p4 program then show:
root@ubuntu:/mnt/sda3/p4c/build# ./p4fpga -o 111 --p4-14 01-BigMatch.p4 terminate called after throwing an instance of 'Util::CompilerBug' what(): COMPILER BUG: ../lib/crash.cpp:226 Exiting with SIGSEGV
how to solve this problem?