12-24-2019 06:29 PM - edited 12-24-2019 06:31 PM
When using hls::fft ,I specified all optimizations following the fft_ifft/fft_top.cpp in directory examples,but there are some error showing :
ERROR: [XFORM 203-801] Interface mode 'ap_auto' on the actual argument 'fft_config1.data.V' is incompatible with the mode 'ap_fifo' on the formal argument 'config_ch.data.V' for function 'fft<config1>'. Please consider to duplicate the function to avoid mode conflicts.
Do I need to specify fft_config1.data.V as ap_fifo? What is the depth of it ?
12-25-2019 10:23 AM
HI @fole_name ,
Generally, this error might occur when you have defined the interface as ap_fifo in the sub-function but have not defined it in the top function. You can use the depth same as the depth that you have used for the ap_fifo in the sub function.
12-25-2019 06:54 PM - edited 12-25-2019 06:55 PM