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

verilog behavioral modeling--overview

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

标签:style   io   color   ar   sp   strong   on   art   log   

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

标签:style   io   color   ar   sp   strong   on   art   log   

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

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