• Stars
    star
    232
  • Rank 172,847 (Top 4 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HLS Project of pp4fpgas - https://github.com/xupsh/pp4fpgas-cn

pp4fpgas-cn-hls

This project is from the book Parallel Programming for FPGAs: https://github.com/KastnerRG/pp4fpgas

Examples codes and their HLS frameworks for pp4fpgas-cn running on PynqZ2 board.

Follow the steps in "Get Started" to get the verification via Jupyter Notebook. If you want to do the HLS by yourself, you can use the frameworks in the PYNQ projects folder and try different optimizations.

Jupyter Notebooks are in .boards/notebokes folder and c++ codes are in ./hw/ip folder.

Read examples: https://xupsh.gitbook.io/pp4fpgas-cn/

PYNQ projects: https://pp4fpgas.readthedocs.io/en/latest/index.html

Get Started

  • Install using pip

pynq v2.6

sudo pip3 install --upgrade git+https://github.com/xupsh/pp4fpgas-cn-hls.git

or copy all files to your pynq board and

sudo pip3 install -e .
  • Open your browser with <pynq_ip>:9090 and type in xilinx as password.
  • Get started using pp4fpgas notebook.

tips: <pynq_ip> is the ip of your pynq. usually it's 192.168.2.99

Repository Tree

.
├── boards
│   └── Pynq-Z2
│   	├── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs/mono_fm/OFDM/phase_detector
│   	└── notebooks/
├── hw
│   ├── build_ip.tcl
│   └── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs/mono_fm/OFDM/phase_detector
│   	├── *_wrapper.v
│   	└── build_*.tcl
├── pp4fpgas
│   ├── __init__.py
│   └── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs/mono_fm/OFDM/phase_detector
│   	├── __init__.py
│   	└── *_overlay.py
├── PYNQ_projects
│   └── DFT/FFT/OFDM/cordic/fir/mono_fm/phase_detector
├── LICENSE
├── README.md
└── setup.py

Hardware Design Rebuilt

suggested version: vivado 2020.2 make sure you already have these board files in your vivado https://github.com/xupsh/pynq-supported-board-file

  • Open your vivado gui and find tcl console
  • cd the path you git clone
  • cd hw directory
  • source build_ip.tcl

Based on