MyFPGA Forum

标题: DE2 NIOS HELLO (Use on-chip Memory) [打印本页]

作者: rich    时间: 2009-4-19 14:38
标题: DE2 NIOS HELLO (Use on-chip Memory)
本帖最后由 rich 于 2009-4-20 10:29 编辑

此範例顯示如何利用DE2 有限的on-chip memory, 來建立NIOS Project.

========================================
NIOS Project (System Library Properties) 開啟:
NIOSII-IDE-->File-->Switch Workspace...
輸入路徑...\DE2_NIOS_HELLO\software

========================================
NIOS Project (System Library Properties) 設定

DE2_NIOS_HELLO.rar

3.08 MB, 下载次数: 142


作者: friend_linfeng    时间: 2009-4-19 16:17
在哪?看不到啊?
作者: rich    时间: 2009-4-19 17:29
可能檔案太大了, 上傳失敗. 明天我再看看解決方式.
作者: rich    时间: 2009-4-20 11:20
應該可以下載了, 請試看看. 這個project 是用quartus 9.0 建的.
作者: frankiecoco    时间: 2009-5-9 15:52
are you running on "hello world" or other application, i am trying to run "hello microC-OS II" with a 18kb on chip memory, i have changed "System Library Properties", ticked all the boxes to redudce the memory needed such as "small C libary" etc. also disable the OS codes in "RTOS" library settings, dispite that there are error of disabled too much of the OS codes, i am still short for memory to run the "hello microC-OS II" ,  mentioning that on the Micrium website saying that the microC-OS II can run on a 2kb memory, just asking if anyone or the master knows any way to configure this on NIOS 2 or using Quartus 8.0.
i am using a cyclone 2 ep2c20 by the way.
if anyone can give any advice, thank you very much
作者: huguangheng    时间: 2009-5-9 17:44
5# frankiecoco

18K好像不够吧....
作者: huguangheng    时间: 2009-5-9 17:51
5# frankiecoco

“最少2K”,是指的最小核心代码吧,默认的情况好像不只2K吧
作者: frankiecoco    时间: 2009-5-9 18:18
thanks for huguang's reply to me.
ya on default, that is if you don't configure any of its system library, it takes about 80kb of ram. i can change some of its system library, the best i could get by configuring the system library is taking totally about 30 kb.
the problem can be solve by using a sram but which i don't have on my microcontroller.

and still trying to figure out how to get some kind of  "最小核心代码" by quartus or nios, the good thing is i am only running a small application therefore not a lot of the RTOS codes that i will be using.
very frustrating
作者: fpgaxxxx    时间: 2009-6-9 04:16
非常感谢楼主了                              
作者: 515666524    时间: 2010-4-26 14:36
Thanks for your sharing




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3