Skip to content

multip4/p4c-psdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p4c-multip4

p4c-multip4 converts P4 programs into Xilinx SDNet backends with parallelization.

How to build

  1. Clone p4c. Assume that you choose the home directory.
    cd ~
    git clone --recursive https://github.com/p4lang/p4c.git
    
  2. Move to the checkpoint.
    cd ~/p4c
    git checkout 8eb631f9238416e4f13e2f222116be7a68570137
    
  3. Make extensions directory.
    mkdir extensions
    
  4. Clone p4c-psdn to your preferred location. Assume that you choose the home directory.
    cd ~
    git clone https://github.com/multip4/p4c-psdn.git
    
  5. Make a simbolic link in the extensions directory.
    cd ~/p4c/extensions
    ln -s ~/p4c-psdn p4c-psdn
    
  6. Make build directory and build.
    cd .. 
    mkdir build
    cmake <optional arguments>
    make -j4
    make -j4 check
    
  7. Follow further instructions in p4c README.

Dependencies

Check the dependencies on p4c README. p4c-multip4 does not require other dependencies that are not required from p4c.

Development Notes

  • Support conversion of headers and a parser.
  • Merge DependencyAnalysis project to here: now support data dependency analysis of tables.

Contact Info

Seungbin Song ([email protected])

About

Fine-grained Parallelization for P4 Programs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages