Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Strange Compilation Problem

I have some stupid problem that the function which i want to accelerate when added in NIOS and compiled wont compile at all .

I did clean the syslib which was built along with the project , nothing seems to work , the new function which i want to accelerate is

not getting compiled.

I dont understand why ? .

Secondly i tried accelerating another function which is calling the other 2 functions tries to compile and then throws up an error message

stating this

Progress: Adding C2H accelerator component "accelerator_new_fft_r4fftditinplace" to the SOPC Builder system C:/propProject/Nios_Core.ptf.# 2009.08.10 19.32.59 (*) mk_custom_sdk starting# 2009.08.10 19.32.59 (*) Reading project C:/propProject/Nios_Core.ptf.# 2009.08.10 19.32.59 (*) Finding all CPUs# 2009.08.10 19.32.59 (*) Finding all available components# 2009.08.10 19.32.59 (*) Reading C:/propProject/.sopc_builder/install.ptf# 2009.08.10 19.32.59 (*) Found 59 components# 2009.08.10 19.33.01 (*) Finding all peripherals# 2009.08.10 19.33.01 (*) Finding software components# 2009.08.10 19.33.02 (*) (Legacy SDK Generation Skipped)# 2009.08.10 19.33.02 (*) (All TCL Script Generation Skipped)# 2009.08.10 19.33.02 (*) (No Libraries Built)# 2009.08.10 19.33.02 (*) (Contents Generation Skipped)# 2009.08.10 19.33.02 (*) mk_custom_sdk finishing# 2009.08.10 19.33.02 (*) Starting generation for system: Nios_Core.

.# 2009.08.10 19.33.02 (*) Running Generator Program for accelerator_new_fft_r4fftditinplace

identified subroutine named ag

identified subroutine named cmul

identified subroutine named cadd

identified subroutine named fgen

identified subroutine named modifyCoeff

identified subroutine named r4fftditinplace

making hdl for subroutine named r4fftditinplace

ERROR:

C2H:77: C2H ERROR: bad reference

at file: , line: 77

Accelerator module generation failed.

Error:

Error: Generator program

for module 'accelerator_new_fft_r4fftditinplace' did NOT run successfully.

Please let me know if something is missing.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE (ittiam @ Aug 10 2009, 09:03 PM) <{post_snapback}> (index.php?act=findpost&pid=23467)</div>

    --- Quote Start ---

    I have some stupid problem that the function which i want to accelerate when added in NIOS and compiled wont compile at all .

    I did clean the syslib which was built along with the project , nothing seems to work , the new function which i want to accelerate is

    not getting compiled.

    I dont understand why ? .

    Secondly i tried accelerating another function which is calling the other 2 functions tries to compile and then throws up an error message

    stating this

    Progress: Adding C2H accelerator component "accelerator_new_fft_r4fftditinplace" to the SOPC Builder system C:/propProject/Nios_Core.ptf.# 2009.08.10 19.32.59 (*) mk_custom_sdk starting# 2009.08.10 19.32.59 (*) Reading project C:/propProject/Nios_Core.ptf.# 2009.08.10 19.32.59 (*) Finding all CPUs# 2009.08.10 19.32.59 (*) Finding all available components# 2009.08.10 19.32.59 (*) Reading C:/propProject/.sopc_builder/install.ptf# 2009.08.10 19.32.59 (*) Found 59 components# 2009.08.10 19.33.01 (*) Finding all peripherals# 2009.08.10 19.33.01 (*) Finding software components# 2009.08.10 19.33.02 (*) (Legacy SDK Generation Skipped)# 2009.08.10 19.33.02 (*) (All TCL Script Generation Skipped)# 2009.08.10 19.33.02 (*) (No Libraries Built)# 2009.08.10 19.33.02 (*) (Contents Generation Skipped)# 2009.08.10 19.33.02 (*) mk_custom_sdk finishing# 2009.08.10 19.33.02 (*) Starting generation for system: Nios_Core.

    .# 2009.08.10 19.33.02 (*) Running Generator Program for accelerator_new_fft_r4fftditinplace

    identified subroutine named ag

    identified subroutine named cmul

    identified subroutine named cadd

    identified subroutine named fgen

    identified subroutine named modifyCoeff

    identified subroutine named r4fftditinplace

    making hdl for subroutine named r4fftditinplace

    ERROR:

    C2H:77: C2H ERROR: bad reference

    at file: , line: 77

    Accelerator module generation failed.

    Error:

    Error: Generator program

    for module &#39;accelerator_new_fft_r4fftditinplace&#39; did NOT run successfully.

    Please let me know if something is missing.[/b]

    --- Quote End ---

    Progress: Adding C2H accelerator component "accelerator_benchmarkingfft_fgen" to the SOPC Builder system C:/propProject/Nios_Core.ptf.# 2009.08.10 23.01.04 (*) mk_custom_sdk starting# 2009.08.10 23.01.04 (*) Reading project C:/propProject/Nios_Core.ptf.# 2009.08.10 23.01.04 (*) Finding all CPUs# 2009.08.10 23.01.04 (*) Finding all available components# 2009.08.10 23.01.04 (*) Reading C:/propProject/.sopc_builder/install.ptf# 2009.08.10 23.01.04 (*) Found 59 components# 2009.08.10 23.01.06 (*) Finding all peripherals# 2009.08.10 23.01.06 (*) Finding software components# 2009.08.10 23.01.06 (*) (Legacy SDK Generation Skipped)# 2009.08.10 23.01.06 (*) (All TCL Script Generation Skipped)# 2009.08.10 23.01.06 (*) (No Libraries Built)# 2009.08.10 23.01.06 (*) (Contents Generation Skipped)# 2009.08.10 23.01.06 (*) mk_custom_sdk finishing# 2009.08.10 23.01.06 (*) Starting generation for system: Nios_Core.

    .# 2009.08.10 23.01.07 (*) Running Generator Program for accelerator_benchmarkingfft_fgen

    identified subroutine named ag

    identified subroutine named cmul

    identified subroutine named cadd

    identified subroutine named fgen

    identified subroutine named modifyCoeff

    making hdl for subroutine named fgen

    fgen calls modifyCoeff

    making hdl for subroutine named modifyCoeff

    ERROR:

    no width for accelerator_benchmarkingfft_fgen_coeffi_struct0_internal_memory0_a0

    Accelerator module generation failed.

    Error:

    Error: Generator program

    for module &#39;accelerator_benchmarkingfft_fgen&#39; did NOT run successfully.