Altera_Forum
Honored Contributor
17 years agoError generating SOPC Builder system after C2H acceleration
Hello all,
I have a problem using the NIOS II C2H Compiler. I tryed to accelerate a function by right-click its name and selecting "Accelerate ...." Then I selected the items "Build software, generate SOPC Builder system, and run Quartus II compilation" and "Use hardware accelerator in place of software implementation. Flush data cache before each call" However, when I click "Build project" I get the following error: --- Quote Start --- Error: Can't create file C:/Workspace/BB_DVBC/FEC_NIOS.ptf Error: System generation failed. --- Quote End --- If I click "Build project" again, I get the following message .... --- Quote Start --- **** Build of configuration Debug for project BB_DVBC_sw **** make -s all includes Creating generated_app.mk... 12.11.2009 12:46:22 - (SCHWERWIEGEND) generate: java.lang.IllegalStateException: java.lang.IllegalStateException: java.io.FileNotFoundException: c:\Workspace\BB_DVBC\software\BB_DVBC_sw_syslib\..\..\FEC_NIOS.ptf (Zugriff verweigert) make: *** [/cygdrive/c/Workspace/BB_DVBC/software/BB_DVBC_sw_syslib/Debug/system_description/../obj/generated_app.mk-t] Error 1 Build completed in 2.75 seconds --- Quote End --- If I try to regenerate the SOPC Builder system using the SOPC Builder I get the same error as the first one ("Cant create file .... .ptf") and I have to use a backup to restore my files. so apparently the ptf file is corrupted after the generation in the NIOS IDE... does anyone have a solution or an idea what could be the problem ?? thanks in advance !