Linux - 9.1 English

PG109 Fast Fourier Transform LogiCORE IP Product Guide

Document ID
PG109
Release Date
2022-05-04
Version
9.1 English

To compile the example code, run_bitacc_cmodel.c , first ensure that the directory in which the files libIp_xfft_v9_1_bitacc_cmodel.so and libgmp.so.11 are located is present on your $LD_LIBRARY_PATH environment variable. These shared libraries are referenced during the compilation and linking process.

Place the header file and C++ source file in a single directory. Then in that directory, compile using the GNU C++ Compiler:

gcc -x c++ -I. -L. -lIp_xfft_v9_1_bitacc_cmodel -Wl,-rpath,. -o
run_bitacc_cmodel run_bitacc_cmodel.c