p4c icon indicating copy to clipboard operation
p4c copied to clipboard

P4_16 reference compiler

Results 452 p4c issues
Sort by recently updated
recently updated
newest added

We use a different build system to build p4testgen (bazel). The inconsistent pattern of imports in `backends/p4tools` is causing problems for us. Particularly, we have problems with the following patterns:...

bug
testgen

Clean up the compiler includes by running [IWYU](https://include-what-you-use.org/) across them. This also exposes how some files have a massive amount of includes, some of which may not be necessary. If...

test-infrastructure

From the spec: ``` Note: bitwise-operations (|,&,^,~) are not defined on expressions of type int. ``` But p4c allows to compile: ``` const bit tmp2 = (1 | 2) |+|...

enhancement
question

I know that struct as action parameter is not supported by v1model/bmv2 yet. I heard this is a bmv2-specific limitation though. So I have the following questions to clarify: 1....

question

Hi all, I check the name and the code of passes in the frontend and midend. I found some passes which eliminate different structures, especially the passes whose names start...

question

Attempt to fix generation of PTF tests for BMV2.

testgen

A table wit action selector property is split into base table, group table and member table. Prior to this PR, group and member tables were unconditionally applied ``` table.apply() ==>...

Instead of enriching the program IR by a custom varbit type which remembers extracted size, assign bit directly to varbit members.

testgen