Accelerator Integration Tool (AIT)
The Accelerator Integration Tool (AIT) automatically integrates OmpSs@FPGA and OmpSs-2@FPGA accelerators into FPGA designs using different vendor backends.
This README should help you install the AIT component of the OmpSs@FPGA toolchain from the repository. However, it is preferred using the pre-built Docker image with the latest stable toolchain. They are available at OmpSs@FPGA pre-built Docker images and OmpSs-2@FPGA pre-built Docker images.
Moreover, there are pre-built SD images for the current supported board families: Zynq7000 and Ultrascale. They are also available at OmpSs@FPGA pre-built SD images and OmpSs-2@FPGA pre-built SD images.
Prerequisites
- Python 3.7 or later
- pip
- Vendor backends:
Git Large File Storage
This repository uses Git Large File Storage to handle relatively-large files that are frequently updated (i.e. hardware runtime IP files) to avoid increasing the history size unnecessarily. You must install it so Git is able to download these files.
Follow instructions on their website to install it.
Vendor backends
Xilinx Vivado
Follow installation instructions for Xilinx Vivado, Vitis HLS and SDK, as well as enable support during setup for the devices you plan to use. However, components can be added or removed afterwards.
Current version supports Vivado 2021.1 onwards.
Installation
Using pip
You can use pip to easily install ait on your system:
python3 -m pip install ait-bsc
Manual installation
-
Make sure you have the following packages installed on your system
git-lfs(Git Large File Storage)setuptools >= 61.0(setuptools)
-
Clone AIT's repository
-
From GitHub:
git clone https://github.com/bsc-pm-ompss-at-fpga/ait.git -
From our internal GitLab repository (BSC users only):
git clone https://pm.bsc.es/gitlab/ompss-at-fpga/ait.git
-
-
Enable Git LFS and install
cd ait git lfs install git lfs pull export AIT_HOME="/path/to/install/ait" export DEB_PYTHON_INSTALL_LAYOUT=deb_system python3 -m pip install . -t $AIT_HOME -
Add the installed binaries to your PATH
export PATH=$AIT_HOME/bin:$PATH export PYTHONPATH=$AIT_HOME:$PYTHONPATH
Offline installation
-
Make sure you have the following packages installed on your system
wheel(wheel)setuptools >= 61.0(setuptools)
-
Copy AIT sources into target machine
-
Build wheel for AIT and install
cd ait python3 setup.py bdist_wheel export AIT_HOME="/path/to/install/ait" export DEB_PYTHON_INSTALL_LAYOUT=deb_system python3 -m pip install dist/ait_bsc-*.whl --no-index -t $AIT_HOME -
Add the installed binaries to your PATH
export PATH=$AIT_HOME/bin:$PATH export PYTHONPATH=$AIT_HOME:$PYTHONPATH
Tests
Prerequisites
- python3-flake8
- python3-unittest
Style testing
The python code follows PEP 8 style guide which is verified using the flake8 tool.
To check the current source code just execute python3 -m flake8.
Unit testing
The test folder contains some unitary tests for python sources.
To run all tests the command python3 -m unittest can be executed in the root directory of the repository.
Metadata
Release files for ait-bsc 8.1.0
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 |
|---|---|---|---|---|
| ait_bsc-8.1.0.tar.gz | 803.5 kB | Without provenance | Details for ait_bsc-8.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ait_bsc-8.1.0-py3-none-any.whl | Python 3 | none | any | Details for ait_bsc-8.1.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / ait_bsc-8.1.0.tar.gz
| Download URL | ait_bsc-8.1.0.tar.gz |
|---|---|
| Size | 803.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35e5d09ad50294657cb25a5072f49b6c11ce0690d22b3fac360cc70278187065
|
|
BLAKE2b-256 checksum How to use checksums |
2c49fb6a7e323dd6d66765aef78c724ccc6ace3d566e0a25f691dbe3d379e746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.5
|
Release files / ait_bsc-8.1.0-py3-none-any.whl
| Download URL | ait_bsc-8.1.0-py3-none-any.whl |
|---|---|
| Size | 859.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe4049c75629080d4eeb63df62e2a66dc12d13ee3d90606dc33b65d305cb79b4
|
|
BLAKE2b-256 checksum How to use checksums |
a95288db5315df45d296dd5020097583951914d2e487a9e98c0fc1b2002457ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.5
|
Security for ait-bsc 8.1.0
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.