t-kuha / sdsoc

SDSoC example projects
13 stars 5 forks source link

some error on FFT in SDSoC (C callable IP) #1

Open qingzengsong opened 6 years ago

qingzengsong commented 6 years ago

I follow the project(FFT in SDSoC (C callable IP)) on SDSOC 2017.3, But it complains errors: ERROR: [XFORM 203-801] Interface mode 'ap_auto' on the actual argument 'fft_status.data.V' (G:/MINO/FPGA/pro/fft_3/src/fft_top.cpp:149) is incompatible with the mode 'ap_fifo' on the formal argument 'fft_status.data.V' for function '_codeRepl__proc' . Please consider to duplicate the function to avoid mode conflicts. ERROR: [XFORM 203-801] Interface mode 'ap_auto' on the actual argument 'fft_config.data.V' (G:/MINO/FPGA/pro/fft_3/src/fft_top.cpp:148) is incompatible with the mode 'ap_fifo' on the formal argument 'fft_config.data.V' for function '_codeRepl__proc' . Please consider to duplicate the function to avoid mode conflicts. ERROR: [HLS 200-70] Failed building synthesis data model.

can you help. Thanks you.

t-kuha commented 6 years ago

@qingzengsong Sorry for the late reply. I confirmed the issue with SDSoC 2017.4, whereas with 2017.2 (Windows version) the build was successful. So my guess is the problem arises from the tool itself (to be more specific, the HLS part), rather than the code.