原创 modelsim simulation detail

2010-11-2 17:43 1070 9 9 分类: 消费电子

Clock Generator:

use


always begin
  # (CLK_PERIOD/2) SYS_CLK <= ~SYS_CLK;
 end
     
 always begin
  # (DMTCLK_PERIOD/2) DVI_CLK <= ~DVI_CLK;
 end

NOT use

always begin
  # (CLK_PERIOD/2) SYS_CLK <= ~SYS_CLK;
  # (DMTCLK_PERIOD/2) DVI_CLK <= ~DVI_CLK;
 end

the second coding is not what you want!!!!

=========

DCM's RESET:

at least three cycle of DCM's CLKIN.

use

parameter RST_ACT_VAL = 5;
parameter CLK_PERIOD = 10;
#100;
RST = 1;
# (XRST_ACT_VAL * CLK_PERIOD);
RST = 0;

NOT use

#100;
RST = 1;
# 13.8;
RST = 0;

文章评论0条评论)

登录后参与讨论
我要评论
0
9
关闭 站长推荐上一条 /2 下一条