【问题帖】sopc builder在generate时出现的问题:Error: Couldn't run process D:/altera/11.0/quartus//sopc_builder/bin/sopc_builder --classic --generate G:/ExercisePro

问题:SOPC Builder 在generate时出现的问题,如图:

版本:QII11.0 + niosii 11.0

以前没有出现过这种问题,寒假在家收拾了一下,新建了一个如下图的sopc核

然后点击generate就是不行,希望大家能给些建议!

//总结贴


 

今天为了设置Nios ii 中的兼容性问题,将*\altera\11.0\quartus\bin\cygwin\bin 下的好几个exe文件的兼容性设置成以兼容模式运行这个程序,权限设置成以管理员的身份运行,结果重新生成SOPC的时候,就出现 fail to refresh ptf file的错误,在网上找了好久没有找到满意的答案,自己怀疑是不是因为设置兼容性的问题而导致的,结果又重新修改兼容性设置,将其还原为原来状态。在一次generate,结果顺利完成了。

让人纳闷的是:

然而作出这项改动的原因是:在建好的sopc基础上用niosII IDE建立的helloworld程序编译的时候出现下面的错误:

4 [main] ? (5092) d:\altera\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x680000, top 0x690000, reserve_size 61440, allocsize 65536, page_const 4096
3 [main] sh 4308 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
/bin/sh: fork: Resource temporarily unavailable
Creating generated_app.mk...
Creating generated_all.mk...
3 [main] ? (5504) d:\altera\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x680000, top 0x690000, reserve_size 61440, allocsize 65536, page_const 4096
2 [main] sh 7408 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
/bin/sh: fork: Resource temporarily unavailable
make[1]: *** No rule to make target `/bin/gtf/generated_all.mk.gtf', needed by `system_description/../obj/generated_all.mk-t'. Stop.
make: *** [system_project] Error 2
Build completed in 133.321 seconds

在黑金动力社区以及Altera Forum上都推荐这种解决方式:

Under your Quartus II folder, go to bin->cygwin->bin folder, select the following files in the list below and then right-click and choose Properties.

Under the Compatibility tab, check“Run this program in compatibility mode for:” and choose “Windows XP (Service Pack 2)”.

Check “Run this program as an administrator”, as well.

Here is the list of files that you can select to change their compatibility mode under the Quartus II->bin->cygwin->bin folder:

1. Make.exe

2. Sh.exe

3. Echo.exe

4. Cygstart.exe

5. MakeInfo.exe

6. Perl.exe

7. Collect2.exe(under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\libexec\gcc\nios2-elf\3.4.6)

8. Nios2-elf-g++.exe(under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\bin)

在修改上述的属性之后,反而出现sopc builder 不能generate的现象。

唉,Quartus ii 11.0 还是不能完全兼容win7 旗舰版,鉴定完毕!

 

posted @ 2013-02-20 12:52  天马行空W  阅读(2950)  评论(2编辑  收藏  举报