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!
Metadata
Release files for fpgaconvnet-hls 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fpgaconvnet-hls-0.1.2.tar.gz | 47.0 kB | Without provenance | Details for fpgaconvnet-hls-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fpgaconvnet_hls-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for fpgaconvnet_hls-0.1.2-py3-none-any.whl |
Total release size: 119.9 kB
Release files / fpgaconvnet-hls-0.1.2.tar.gz
| Download URL | fpgaconvnet-hls-0.1.2.tar.gz |
|---|---|
| Size | 47.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75d991b53f79649645fe5a5665661071334e2b79bfbece66beff5e0e7810d620
|
|
BLAKE2b-256 checksum How to use checksums |
98288d5e2f0b1071efb81b9d81539b994a46b5e1759fbe498239fd313012c924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / fpgaconvnet_hls-0.1.2-py3-none-any.whl
| Download URL | fpgaconvnet_hls-0.1.2-py3-none-any.whl |
|---|---|
| Size | 72.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5bd95739b61c89662069dcfc918a0899e99ed38fa64311840f76be57c8f1c53
|
|
BLAKE2b-256 checksum How to use checksums |
2c7a67be4f7e4280968ecea662dfdcb15a2c1b9610022154f171d497c79ebb3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for fpgaconvnet-hls 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.