首页 > 其他 > 详细

verilog behavioral modeling--overview

时间:2014-11-03 20:48:10      阅读:286      评论:0      收藏:0      [点我收藏+]

1.verilog behavioral models contain procedural statements that control the simulation and manipulate variables of the data types.These statements are concurrent to model the inherent concurrence of hardware.

2.all of the flows defined by the initial and always constructs start together at simulation time zero.The initial constructs execute once,and the always constructs execute repetitively.

eg:

   module behave;

      reg [1:0] a,b;

      initial begin

          a=‘b1;

          b=‘b0;

      end

    always begin

        #50 a = ~a;

    end

   always begin

       #100 b=~b;

  end

  endmodule

 

verilog behavioral modeling--overview

原文:http://www.cnblogs.com/chip/p/4071993.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!