Optimiser for mapping convolutional neural network models to FPGA platforms.
Project description
fpgaConvNet HLS
This repository is part of the fpgaConvNet framework, designed to solve the complex mapping problem of Convolutional Neural Networks (CNN) onto Field Programmable Gate Array (FPGA) devices. The HLS repository contains the hardware implementation of CNN building blocks, and performs the mapping automation of a CNN model description to hardware.
Setup
The following programs are required:
- Vivado HLS (2019.1, 2019.2)
- python (>=3.8)
Once these programs are installed, you can setup the project from pypi:
python -m pip install fpgaconvnet-hls
Usage
You can see example usage in the tests/networks folder as well as in the fpgaconvnet-tutorial repository. Below is a quick example of how a configuration can be loaded and used to generate and test hardware.
from fpgaconvnet.hls.generate.network import GenerateNetwork
# create instance of the network
gen_net = GenerateNetwork("model-name", "model-config.json", "model.onnx")
# generate hardware and create HLS project for partition 0
gen_net.create_partition_project(0)
# run HLS synthesis for partition 0
gen_net.generate_partition_hardware(0)
Please feel free to ask questions or post any issues!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fpgaconvnet-hls-0.1.2.tar.gz.
File metadata
- Download URL: fpgaconvnet-hls-0.1.2.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75d991b53f79649645fe5a5665661071334e2b79bfbece66beff5e0e7810d620
|
|
| MD5 |
67e27adbe4dccd86be1745be70b099e6
|
|
| BLAKE2b-256 |
98288d5e2f0b1071efb81b9d81539b994a46b5e1759fbe498239fd313012c924
|
File details
Details for the file fpgaconvnet_hls-0.1.2-py3-none-any.whl.
File metadata
- Download URL: fpgaconvnet_hls-0.1.2-py3-none-any.whl
- Upload date:
- Size: 72.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5bd95739b61c89662069dcfc918a0899e99ed38fa64311840f76be57c8f1c53
|
|
| MD5 |
d4011b7f9fb550dca94e083512b4afda
|
|
| BLAKE2b-256 |
2c7a67be4f7e4280968ecea662dfdcb15a2c1b9610022154f171d497c79ebb3d
|