Nathalie Furmento 1341cdebfa tests/fpga: add documentation лет назад: 5
..
LMemLoopbackCpuCode.c 7ee28b6066 tests: move fpga application to dedicated directory лет назад: 5
README.txt 1341cdebfa tests/fpga: add documentation лет назад: 5
StreamFMACpuCode.cpp 7ee28b6066 tests: move fpga application to dedicated directory лет назад: 5
StreamFMAKernel.maxj 7ee28b6066 tests: move fpga application to dedicated directory лет назад: 5
StreamFMAManager.maxj 7ee28b6066 tests: move fpga application to dedicated directory лет назад: 5
max_fpga.c 7ee28b6066 tests: move fpga application to dedicated directory лет назад: 5

README.txt

######################
##### 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.StreamFMAManager DFEModel=MAIA maxFileName=StreamFMA target=DFE_SIM

$ cp StreamFMA_MAX5C_DFE_SIM/results/*{.max,.h} fpga

$ cd fpga

To build the slic object file (simulation):

$ sliccompile StreamFMA.max

To start the simulation:

$ maxcompilersim -c LIMA -n $USER-StreamFMA restart
$ export LD_LIBRARY_PATH=$MAXELEROSDIR/lib:$LD_LIBRARY_PATH
$ export SLIC_CONF="use_simulation=$USER-StreamFMA"

PS: To stop simulation

$ maxcompilersim -c LIMA -n $USER-StreamFMA 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