Neural Processing Unit Automation
To clone this repository:
git clone --recursive https://github.com/tuo-username/I-Voted.git
Alternatively, if the reposititory is already cloned
git submodule update --init --recursive
Instead, to update the submodule only:
git submodule update --remote mlir-aie
The repository is still under development and now intended for internal usage only. Several bugs or possible optimizations may exist. Please, forward any improvement suggestiond :D
The main idea is to use mlir-aie from a private independent repository. To do so, the repository uses a modified version of mlir-aie Makefile that allows to build your design even if you are outside MLIR-AIE
source /opt/xilinx/xrt/setup.sh
cd mlir-aie
source ./utils/quick_setup.sh
This command will give you a terminal named (ironenv). Now you can move in the application folder
export MLIR_AIE_PATH=<your path to> mlir-aie
notice that, if you do not define a new position for MLIR_AIE_PATH, this repository assumes the submodule, thus having mlir-aie as I-Voted subfolder
cd ivoted
make
C++ Version:
make run
Python Version
make run_py