Coder Social home page Coder Social logo

xupsh / pp4fpgas-cn-hls Goto Github PK

View Code? Open in Web Editor NEW
228.0 14.0 78.0 59.83 MB

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

License: Apache License 2.0

Jupyter Notebook 78.26% Tcl 16.79% C++ 1.93% Verilog 0.49% Python 0.20% C 2.33%
pynq hls pp4fpgas pp4fpgas-cn fpga parallel-computing

pp4fpgas-cn-hls's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.