123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # StarPU --- Runtime system for heterogeneous multicore architectures.
- #
- # Copyright (C) 2019-2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
- #
- # StarPU is free software; you can redistribute it and/or modify
- # it under the terms of the GNU Lesser General Public License as published by
- # the Free Software Foundation; either version 2.1 of the License, or (at
- # your option) any later version.
- #
- # StarPU is distributed in the hope that it will be useful, but
- # WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- #
- # See the GNU Lesser General Public License in COPYING.LGPL for more details.
- #
- ######################
- ##### Maxeler ######
- ######################
- $ export XILINXD_LICENSE_FILE=2100@jumax
- $ module load vivado maxcompiler
- $ module load devtoolset/8
- To build the JAVA program: (for kernel and Manager (.maxj))
- $ cd starpu/tests/
- $ maxjc -1.7 -cp $MAXCLASSPATH fpga
- To run the Java program to generate a DFE implementation (a .max file)
- that can be called from a StarPU/FPGA application and slic headers
- (.h) for simulation:
- $ java -XX:+UseSerialGC -Xmx2048m -cp $MAXCLASSPATH:. fpga.MyTasksManager DFEModel=MAIA maxFileName=MyTasks target=DFE_SIM
- $ cp MyTasks_MAX5C_DFE_SIM/results/*{.max,.h} fpga
- $ cd fpga
- To build the slic object file (simulation):
- $ sliccompile MyTasks.max
- To start the simulation:
- $ maxcompilersim -c LIMA -n $USER-MyTasks restart
- $ export LD_LIBRARY_PATH=$MAXELEROSDIR/lib:$LD_LIBRARY_PATH
- $ export SLIC_CONF="use_simulation=$USER-MyTasks"
- PS: To stop simulation
- $ maxcompilersim -c LIMA -n $USER-MyTasks stop
- #################################
- ##### StarPU with Maxeler ######
- #################################
- $ ./autogen.sh
- $ ../configure --prefix=$PWD/../install --with-fpga --disable-link-with-riffa --disable-fortran
- $ make
- # $ make install
- To test the code (.c):
- $ ./tests/fpga/max_fpga
|