cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fole_name
Observer
Observer
565 Views
Registered: ‎12-17-2019

How to fix the error: argument 'fft_config1.data.V' is incompatible with the mode 'ap_fifo' ?

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 ?

0 Kudos
2 Replies
shameera
Moderator
Moderator
507 Views
Registered: ‎05-31-2017

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. 

0 Kudos
fole_name
Observer
Observer
478 Views
Registered: ‎12-17-2019

Thanks @shameera . But the problem is that the parameters fft_config1.data.V is natively from hls ,I am not sure about its depth and other features.

So what mathodology can I follow?

0 Kudos