码迷,mamicode.com
首页 > 其他好文 > 详细

使用modelsim仿真DDR3时编译出错的解决方法

时间:2015-03-17 20:06:26      阅读:280      评论:0      收藏:0      [点我收藏+]

标签:

 Modelsim 10.1c release note sates as :

 

Product Changes in 10.1c

 

Release 10.1b introduced a new error, number 2902. By default in the 10.1x series of releases this should have been a warning. In future releases this will become a suppressible error.

 

If you use Modelsim 10.1c, you can complete compling although the following warning appeasr: 

** Warning: (vlog-2902) ddr2_model_parameters_c3.vh(214): A `define was found on the same line as a SystemVerilog `ifdef, `ifndef, `elsif, or `else.

 

A workaround for this error is to tell the simulator that the error message can be ignored with the command:
"-suppress 2902"

 

example:

 

vlog +acc -work work -suppress 2902 +define+SIMULATION +define+GLBL +define+GEN2_CAP \
+define+USE_DDR3_FIFO -f pcie.f -f dma.f \
-f axis_vf.f -f mig.f -f ddr3.f -f xgemac.f -f xphy_10gbaser.f \
-f dut.f -f tb.f

使用modelsim仿真DDR3时编译出错的解决方法

标签:

原文地址:http://www.cnblogs.com/hfyfpga/p/4345238.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!