-
P4's slicing syntax is derived from Verilog, using expressions like:
- `foo[7:0]` -- extract the bottom 8 bits of foo
- `bar[31:24]` -- extract 8 bits bar (3rd byte from lsb)
As with Verilog, t…
-
This is a follow-up on https://github.com/p4lang/p4c/issues/3760#issuecomment-1340213608 (@jfingerh). I have taken a closer look at the P4Runtime protos, and would like to continue the P4Runtime side …
-
I am not sure, but I think that the way that PDF/HTML is generated for the language spec, the p4lang/p4-spec repository grows in size every time a commit is made to the repo. I believe some other p4l…
-
It would be nice if we could build the behavioral model using CMake instead of relying on autotools. This would make it easier to integrate it with the rest of the P4Lang ecosystem.
-
A lot of passes involve new IR designs which are not supported by the current toP4.cpp and toP4.h in the frontend. Our current solution is to migrate toP4 files to toCAIRN in our own directory so that…
-
See https://github.com/p4lang/p4c/pull/4810 and related discussions for context.
Consider an `IR::SwitchStatement` that has two unique `IR::SwitchCase`s (let's call them "case 1 and 2"), that each …
-
Start looking at the p4lang/p4-applications 2.0 P4 INT specification Pull Request #64
-
This optional parameter has been added in p4c:
https://github.com/p4lang/p4c/blob/94994988db3c6f2d0c39a95135592524c5c5293b/p4include/pna.p4#L375-L378
https://github.com/p4lang/p4c/blob/94994988d…
-
The source info object can be initialized using two approaches:
Using an explicit filename, line number, column number, and fragment: https://github.com/p4lang/p4c/blob/main/lib/source_file.h#L129…
-
To install P4c compiler on ubuntu16.04, i have followed the instructions given in https://github.com/asilha/p4lang-p4c/tree/euclid., but i got this error while running "make -j2" command. please help …