modelsim仿真带mif文件的altera block RAM

热度:

http://www.altera.co.uk/support/kdb/solutions/rd10062000_9191.html

目前卡在这一步上了。不知道怎么回事我的q2 9.1+modelsim AE 6.5b没带那个dll,从edaboard上找到之后放进两个可能的地方(一个是altera提到的地方,另一个是modelsim文件夹的win32aloem文件夹里),然后发现找不到.hex文件...明明hex文件和IP是在一起的...再鼓捣鼓捣试试。

PS: modelsim只支持.hex文件,或者说那个dll只支持hex文件,所以用mif的同志们就去quartus里转一下吧,打开mif另存为就行了。别忘了重新生成IP。

更新:问题解决了,是modelsim工作目录的问题。modelsim启动时工作目录默认为${modelsim_dir}/examples (在transcript里输入pwd可以查看当前目录), 要自己cd ${hex文件所在目录}才行。转换目录之后要重新编译所有文件(IP,自己的设计),然后simulate时记得把altera_mf_ver库包含进来(菜单simulate-start simulate-library或者命令行-L altera_mf_ver参数)

Technorati 标签: , , , , ,

本站标签: , , , , ,

发表评论

日历

2010 九月
« 六    
 12345
6789101112
13141516171819
20212223242526
27282930  

文章归档

链接

StatPressCN

Since 20091224:
  • Current page is visited 18 times
  • Now there are 0 friends visiting this blog, 5 today, 15 yesterday, and 240 totally
  • The posts have been viewed 19 times today, 24 yesterday, and 795 totally
  • 1 friends have subscribed this blog
  • The TopPost is Cadence IC5141+Assura 314完全安装指南, TopBroswer is Firefox 3, TopOS is Windows XP
  • You come from , your broswer is , OS is
  • This blog have 53 posts, 4 pages, 8 comments, and 5 commentors.

技术支持来自 天高云淡

BABY COUNT

Updated long ago...
The Count is 6563.