加入收藏 设为首页 帮助中心
 
论坛首页
用户登录 | 用户注册 | 最新悬赏 | 最新贴子 | 会员中心 | 贴子搜索 | 网站地图 | 帮助中心 | 联系我们
站内搜索:
现在位置 > 维库电子开发网论坛 > EDA > FPGA/CPLD > NIOS II 开发常见问题(3)
帖子主题: NIOS II 开发常见问题(3)
你还没有登录,无法发表回复,请首先 登录.. [注 册]
积分:61 gump
发表于:2008-8-29 11:21:00 楼主
级别:二星
积分:61分
注册:2008年08月29日
17.在Quartus II中,为什么编译一些样板工程都会出错?

Error: DDR timing cannot be verified until project has been successfully compiled.

Error: Evaluation of Tcl s cript auto_verify_ddr_timing.tcl unsuccessful

Error: Quartus II Shell was unsuccessful. 2 errors, 1 warning

  答:在做样板工程时要注意一个问题:Due to the library paths that are coded into the Quartus settings for this project, if a user wishes to modify the hardware design they must first strip out any old paths from within the project settings file (qsf)

在qsf文件中找到类似语句

set_global_assignment-nameVHDL_FILE C:/MegaCore/ddr_ddr2_sdram-v3.2.0/lib/auk_ddr_tb_functions.vhd"这里的目录是初始的目录,把它改为正确的目录。


  18.在NIOS II IDE编译时出现如下错误是怎么回事?

system_des cription/alt_sys_init.c:75: error: `ONCHIP_MEMORY_BASE' undeclared here (not in a function)

system_des cription/alt_sys_init.c:75: error: initializer element is not constant

system_des cription/alt_sys_init.c:75: error: (near initialization for `ext_flash.dev.write')

system_des cription/alt_sys_init.c:75: error: initializer element is not constant

system_des cription/alt_sys_init.c:75: error: (near initialization for `ext_flash.dev.read')

答:ONCHIP_MEMORY_BASE没有赋值,在alt_sys_init.c 程序的开头加上#define ONCHIP_MEMORY_BASE 0x00000000后面的这个地址要与SOPC中的对应。

  19. 在NIOS II IDE编译时出现如下错误是怎么回事?

Pausing target processor: not responding.

Resetting and trying again: FAILED

Leaving target processor paused


 

  答:以下是一位FAE的回答:

1. 关于USB-Blaster在Nios II IDE下载时会发生偶发性错误,这种现象主要是IDE software与Nios II CPU透过USB-Blaster在做通讯时发生错误,若是确认FPG上配置没有错误,连续发生错误的机率应该是相当的低,您只需要重新下载即可。

2. 若您使用Nios II IDE 6.0,请尽量配合SOPC Builder 6.0重新build您的system,并且使用Quartus II 6.0重新compile您的project,以减少CPU与IDE software不兼容的情形。


 

  20.在NIOS II IDE中工程的System Library选项中的这几个选项代表什么意思?.text .rodata .rwdata 与reset .exception这几个地址之间的关系是什么?


 

  答:.text : 代码区 .rodata:只读数据区,一般存放静态全局变量 .rwdata:可读写变量数据区另外还有.bss:存放未被初始化的变量。
■ .text — the actual executable code

■ .rodata — any read only data used in the execution of the code

■ .rwdata — where read/write variables and pointers are stored

■ heap — where dynamically allocated memory is located

■ stack — where function call parameters and other temporary data is stored

 
快速回复:
用户名: 密码:  验证码,看不清楚?请点击刷新验证码 注册新帐号?
上传图片格式(jpg/gif/png)和文件格式(rar/pdf)
 
 
网站简介s广告服务网站地图帮助信息联系方式问题报告
Copyright 2007 - 2008 bbs.weeqoo.com
Powered By weeqoo Version 8.0.0XML