Verilog error and warnings


1、Warning (12125): Using design file div.v, which is not specified as a design file for the current project, but contains definitions for 1 design units and 1 entities in project原因:模塊不是在本項目生成的,而是直接copy了別的項目的原理圖和源程序而生成的,而不是用QUARTUS將文件添加進本項目
措施:無須理會,不影響使用
2、Warning (10230): Verilog HDL assignment warning at sdram_control_4port.v(368): truncated value with size 32 to match size of target (10)數值不指定位寬的話,會被默認成32位,不影響使用

3、Warning (10240): Verilog HDL Always Construct warning at sdram_control_4port.v(406): inferring latch(es) for variable "rWR1_MAX_ADDR", which holds its previous value in one or more paths through the always construct

解釋:信號被綜合成了latch,鎖存器的EN和數據輸入端口存在一個競爭的問題

措施:將計數器從里面抽出來

4、Warning (10229): Verilog HDL Expression warning at sdr_data_path.v(26): truncated literal to match 1 bits

5、Warning (10275): Verilog HDL Module Instantiation warning at SDRAM_HR_HW.v(121): ignored dangling comma in List of Port Connections

6、Warning (15400): WYSIWYG primitive "Sdram_Control_4Port:u0|Sdram_FIFO:write_fifo2|dcfifo:dcfifo_component|dcfifo_87o1:auto_generated|altsyncram_mf51:fifo_ram|ram_block13a0" has a port clk0 that is stuck at GND

7、Warning (21074): Design contains 3 input pin(s) that do not drive logic
 Warning (15610): No output dependent on input pin "KEY[1]"
 Warning (15610): No output dependent on input pin "KEY[2]"
 Warning (15610): No output dependent on input pin "KEY[3]"

8.Error: Verilog HDL Module Instantiation error at DAC8.v(21): cannot connect instance ports

both by order and by name.

原因:例化時信號前沒有加點“.”,如:keypad key_inst ( .clk(clksys),rst_n(rst_n),,,);rst_n信號前沒點。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM