FPGA工程之warning(一)
在做Testbench的时候,QuartusII中的本地链接已经设置好,用Altera-modelsim工具启动,发现没有产生波形。查看modelsim,没有错误信息,回过头来看发现QuartusII有几个重复的报警信息:
Warning: An incorrect timescale is selected for
the Verilog Output (.VO) file of this PLL design. It's required that the
timescale should be 1 ps when simulating a PLL design in a third party EDA
tool.
做过很多仿真,以前都没遇到过这样的报警。从字面上看是因为用到了第三方的EDA工具,所以要求仿真精度timescale要设置为 ps。于是查看setting:
图一
把上面设置为1ps单位。设置好后再从新启动Altera-modelsim,发现还是没波形,原来激励文件.vt中的精度没有改过来,修正成如下
`timescale 1 ps/ 1 ps
ps的单位是太小,在modelsim里面设置一下显示大的单位,不过结果图还是会密密麻麻的。
(欢迎转载,请注明出处---愤怒de狂奔)