# hlsbook源码 **Repository Path**: wang_jinruimayun/hlsbook_source_code ## Basic Information - **Project Name**: hlsbook源码 - **Description**: hlsbook参考书源代码 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-07-31 - **Last Updated**: 2021-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pp4fpgas-cn-hls HLS Project for pp4fpgas-cn running on Pynq-Z1/Z2 board ## Get Started - Install using `pip` > pynq >= v2.3 ```console sudo pip3 install --upgrade git+https://github.com/xupsh/pp4fpgas-cn-hls.git ``` or copy all files to your pynq board and ```console sudo pip3 install -e . ``` > pynq <= v2.2 ```console sudo pip3.6 install --upgrade git+https://github.com/xupsh/pp4fpgas-cn-hls.git ``` - Open your browser with `:9090` and type in xilinx as password. - Get started using `pp4fpgas` notebook. > tips: is the ip of your pynq. usually it's `192.168.2.99` ## Repository Tree ``` . ├── boards │   └── Pynq-Z1/Pynq-Z2 │   ├── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs │   └── notebooks/ ├── hw │   ├── build_ip.tcl │   └── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs │   ├── *_wrapper.v │   └── build_*.tcl ├── pp4fpgas │   ├── __init__.py │   └── cordic/dft/fft/fir/histogram/huffman/matrixm/sort/spmv/sum/vs │   ├── __init__.py │   └── *_overlay.py ├── LICENSE ├── README.md └── setup.py ``` ## Hardware Design Rebuilt > version required: vivado 2017.4 > 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` ![tcl console](./boards/Pynq-Z1/notebooks/data/tclconsole.png) ## Based on - PYNQ : [https://github.com/Xilinx/PYNQ](https://github.com/Xilinx/PYNQ) - PP4FPGAS-CN : [https://github.com/xupsh/pp4fpgas-cn](https://github.com/xupsh/pp4fpgas-cn)