Quartus+Nios II for eclipse问题合集

由于对于FPGA+NIOS II 的工作需要,对工作过程中遇到的问题进行记录,持续更新。

1、BSP directory does not exist: . Stop.
Nios II使用过程中遇到的一些问题2_error executing 'nios2-bsp-generate-files --bsp-di-CSDN博客icon-default.png?t=O83Ahttps://blog.csdn.net/qq_39485231/article/details/105908579

2、ignored dangling comma in List of Port Connections

Warning (10275): Verilog HDL Module Instantiation warning at xxx.v(24): ignored dangling comma in List of Port Connections
 ---- 例化模块多了 逗号,去除最后一个逗号;

3、Error (12007): Top-level design entity "xxx" is undefined

        模块名xxx.v与顶层实体名module xxx不一致;

4、output or inout port "xxx" must be connected to a structural net expression

Error (10663): Verilog HDL Port Connection error at top.v(70): output or inout port "trip_signal" must be connected to a structural net expression

module protection_top(
    input                sys_clk,            //时钟
    input                sys_rst_n,          //复位,低电平有效
    		     	
    input      [3:0]     avl_address,    //地址
    input                avl_write,      //写请求
    input      [31:0]    avl_writedata,  //写数据
    input                avl_read,       //读请求
    output     [31:0]    avl_readdata,   //读数据
	
    output     reg trip_irq
);

///<output     reg trip_irq 应使用wiwe

5、自制IP核关联IRQ失败

        查看system.h其接口IRQ仍未-1,连线出的IRQ值为1。其原因为IP核的irq需要关联interface。

             

6、NiosII的报错make: *** [XXX.elf] Error 1

collect2.exe: error: ld returned 1 exit status
make: *** [wow001.elf] Error 1

查看编译信息:region `onchip_ram' overflowed by 11424 bytes

Qsys硬件存储大小不够。

(1)BSPEditor--enable_small_c_library和enable_reduced_device_drivers。

(2)调整onchip_ram的内存大小

7、quartus 18.0 IP核复制

1.把和IP核相关的文件都复制到到工程文件夹下

2.右击将IP核的qip文件加入到工程(如果IP相关文件都加入工程,会报错IP不能定义两次)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值