Skip to main content

AIT - Accelerator Integration Tool

Project description

PyPI version Licence PyPi Downloads Total Downloads Supported Python versions

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

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 from Xilinx Vivado, Citis HLS and SDK, as well as the device support for the devices you're working, should be enabled during setup. However, components can be added or removed afterwards.

Current version supports Vivado 2021.1 onwards.

Installation

You can use pip to easily install ait on your system:

python3 -m pip install ait-bsc

Development

  1. Make sure you have the following packages installed on your system.

  2. 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
      
  3. 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
    
  4. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ait-bsc-7.3.1.tar.gz (578.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ait_bsc-7.3.1-py3-none-any.whl (632.3 kB view details)

Uploaded Python 3

File details

Details for the file ait-bsc-7.3.1.tar.gz.

File metadata

  • Download URL: ait-bsc-7.3.1.tar.gz
  • Upload date:
  • Size: 578.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for ait-bsc-7.3.1.tar.gz
Algorithm Hash digest
SHA256 dc3163e7a8431985b7c170d3279683bebb9b6084b44d57a8058a9b04baeaf026
MD5 9b6c5efc3d780d682899ba98cc3f6532
BLAKE2b-256 000a24f9d79012efe0d24f6a0e6767a286e9641c6ea9caf661dd207bc19f1bab

See more details on using hashes here.

File details

Details for the file ait_bsc-7.3.1-py3-none-any.whl.

File metadata

  • Download URL: ait_bsc-7.3.1-py3-none-any.whl
  • Upload date:
  • Size: 632.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for ait_bsc-7.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3524ff919173ad278b20dd9eb609eb92df3bfeedd5a9cfc0db9ec2edeb41340
MD5 2df3d6508a1f43a6b2e6e9e3beba1e1f
BLAKE2b-256 8f5957aebae1afd02552b02553528ed1f29004022bf383f47c18626b9757cb2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page