where temp and imgons are FP data types. But when i run the model i get the following error:
Can some help me? (is it the correct way to define the trigonometric function in the fixed point design ?)
Compiling ../../../core.cpp in debug mode
In file included from C:/Xilinx/Vivado_HLS/2016.2/include/floating_point_v7_0_bitacc_cmodel.h:143:0,
from C:/Xilinx/Vivado_HLS/2016.2/include/hls_half.h:40,
from C:/Xilinx/Vivado_HLS/2016.2/include/hls/utils/x_hls_utils.h:37,
from C:/Xilinx/Vivado_HLS/2016.2/include/hls_math.h:48,
from ../../../core.h:10,
from ../../../core.cpp:1:
C:/Xilinx/Vivado_HLS/2016.2/include/gmp.h:62:0: warning: "__GMP_LIBGMP_DLL" redefined [enabled by default]
C:/Xilinx/Vivado_HLS/2016.2/include/floating_point_v7_0_bitacc_cmodel.h:135:0: note: this is the location of the previous definition
../../../core.cpp: In function 'void mat_3d_mult(data_t (*)[64][64], data_t (*)[64][64])':
../../../core.cpp:37:33: error: 'data_t' is not a member of 'hls'
../../../core.cpp:37:33: note: suggested alternative:
../../../core.h:31:24: note: 'data_t'
../../../core.cpp:37:46: error: expected ';' before 'sin'
make: ***[obj/core.o] Error 1
CRITICAL WARNING: [SIM 1] 'csim_design' failed: compilation error(s).