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

verilog behaviral modeling -- procedural timing contronls

时间:2014-11-15 21:31:24      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:style   io   color   ar   os   sp   on   log   cti   

1.delay control : an expression specifies the time duration between initially encountering the statement and when the statement actually executes.

                         the delay expressiong can be dynamic function of the state of the circuit,but it can be a simple number that separates statement

                         executions in time.

2.event control: which allows statement execution to be delayed until the occurence of some simulation event occurring in a procedure executing 

                         concurrently with this procedure.

                         a simulation event can be a change of value on a net or variable(an implicit event) or the occurrence of an explicity named event

                         that is triggered from other procedures(an explicit event).

                        most often , an event control is p positive or negative edge on a clock signal.


 

Simulation time can advance by one of the following three methods:

                      1.a delay control   ----> introduced by the symbol #

                      2.an event control  -----> introduced by the symbol @

                      3.the wait statement ----> operates like a combination of the event control and the while loop

 


 

 

verilog behaviral modeling -- procedural timing contronls

标签:style   io   color   ar   os   sp   on   log   cti   

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

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