打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Verilog常见错误集锦

说明:本文内容来自网络

1.Error (10028): Can't resolve multiple constant drivers for net……

解析:不能在两个以上always内对同一变量赋值,这个细节一般看书看资料会看到,但是编程时,就是没想到。


2.Error (10158): Verilog HDL Module Declaration error atclkseg.v(1): port "XXXX" is not declared as port

解析:大意了,端口类型还没定义啊!


3.Error (10110): variable "en" has mixed blocking and nonblockingProcedural Assignments -- must be all blocking or all nonblockingassignments

解析:en在程序中有时用非阻塞赋值,有时用阻塞赋值,这是禁止的。在初学的时候,可能分得不是很清楚,所以在检查时,一定要一步步观察慢慢来。


4.Error (10161): Verilog HDL error at clkseg.v(36): object "count"is not declared

解析:这个错误应该很明显啦,只要能读得懂。


5.Error (10170): Verilog HDL syntax error at clkseg.v(37) near text"***"; expecting ";"

解析:意思应该也很简单,就是检查的时候要细心点。


6.Error (10171): Verilog HDL syntax error at ir_ctrl.v(149) nearend of file ; expecting an identifier, or "endmodule", or aparallel statement

解析:最后上了endmodule。一般编程的程序长了,到最后也就容易忘记。


7.Error (10278): Verilog HDL Port Declaration error atir_ctrl.v(11): input port "ir" cannot be declared with type"<a variable data type, e.g.reg>"

解析:在Altra官网中就有该解释 http://www.altera.com.cn/support/kdb/solutions/rd03102006_162.html官网上有很多东西值得我们发现学习。


8.Error (10137): Verilog HDL Procedural Assignment error attest.v(24): object "check_9ms" on left-hand side of assignment musthave a variable data type

解析:在Altra官网中就有该解释 http://www.altera.com.cn/support/kdb/solutions/rd06232003_8783.html


9.Error (10219): Verilog HDL Continuous Assignment error atclk_div.v(26): object "clkdiv_equ" on left-hand side of assignmentmust have a net type

解析:看得懂英语就懂了。

10.Error (10200): Verilog HDL Conditional Statement error atclk_div.v(22): cannot match operand(s) in the condition to thecorresponding edges in the enclosing event control of the alwaysconstruct

解析:看看官网的解释http://www.altera.com.cn/support/kdb/solutions/rd06242003_6128.html

11.Error (10231): Verilog HDL error at LCD1602.v(40): valuecannot be assigned to input "lcd_en"

解析:端口设置出错

12.Error (10137): Verilog HDL Procedural Assignment error atLCD1602.v(49): object "lcd_rs" on left-hand side of assignment musthave a variable data type

解析:http://www.altera.com.cn/support/kdb/solutions/rd06232003_8783.html

13.Error (10170): Verilog HDL syntax error at test_vga.v(57)near text "<"; expecting "<=", or"="

 即这里产生的错误。

解析:一个空格,不小心分开了,而且有人喜欢把<=分开来写,这个在QUANRUS是不允许的呃。。。

14.Error: Application nios2-terminal on 127.0.0.1 is using thetarget device

解析:这种情况出现在JTAG模式下,你在使用NIOS下的JTAG功能(比如利用BLASTER进行在线仿真),同时你又想下载*.sof文件(就是在JTAG模式下下载程序)。简单说就是你的JTAG已经被占用了。解决办法就是关闭你正在使用的JTAG功能,然后再下载*.sof文件。初学者经常会犯这样的错误,一定要注意。

这里有http://www.cnblogs.com/kingst/archive/2010/05/04/1727613.html

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
FPGA常见错误汇总
Xilinx FPGA入门连载9:Verilog语法检查
(1)quartus II的各种警告
Altera FPGA/CPLD 学习笔记
FPGA开发流程1(详述每一环节的物理含义和实现目标)
8点流水线型fft的verilog hdl实现
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服