p4c-multip4 converts P4 programs into Xilinx SDNet backends with parallelization.
- Clone p4c. Assume that you choose the home directory.
cd ~ git clone --recursive https://github.com/p4lang/p4c.git
- Move to the checkpoint.
cd ~/p4c git checkout 8eb631f9238416e4f13e2f222116be7a68570137
- Make extensions directory.
mkdir extensions
- Clone p4c-psdn to your preferred location. Assume that you choose the home directory.
cd ~ git clone https://github.com/multip4/p4c-psdn.git
- Make a simbolic link in the
extensions
directory.cd ~/p4c/extensions ln -s ~/p4c-psdn p4c-psdn
- Make build directory and build.
cd .. mkdir build cmake <optional arguments> make -j4 make -j4 check
- Follow further instructions in p4c README.
Check the dependencies on p4c README. p4c-multip4 does not require other dependencies that are not required from p4c.
- Support conversion of headers and a parser.
- Merge DependencyAnalysis project to here: now support data dependency analysis of tables.
Seungbin Song ([email protected])