在线咨询 切换到宽版
eetop公众号 创芯大讲堂 创芯人才网

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 2135|回复: 1

这个有什么错吗?

[复制链接]
发表于 2007-1-12 15:31:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
module initial_ex;
reg clk,nrst,x,y;
initial
clk=0;
initial
begin
  nrst=1;
#20 nrst=0;
#50 nrst=1;
end
initial
  begin
   x=0;
   y=1;
  #20 x=1;
  #50 y=0;
  @(posedge clk)
  begin
   x=0;
   y=1;
  end
end
always #5 clk=~clk;
endmodule  
为什么我再Moldsim中编译什么结果都没有
发表于 2007-1-12 15:58:55 | 显示全部楼层
You need to Add a Simulation item which selects the module as the top level instance.
Double click the Simulation item you just added and push the Run button. The simulation will process until you stop it.
However, since you did not put any $display inside your code, the TCL window would not have any output.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-8-23 21:55 , Processed in 0.015545 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表