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

verilog behavioral modeling --procedural assignments

时间:2014-11-04 14:41:34      阅读:217      评论:0      收藏:0      [点我收藏+]

标签:style   io   color   ar   for   sp   strong   数据   on   

1.procedural assignments are used for updating reg ,integer , time ,real,realtime and memory data types.

2.difference between procedural assignments and continuous assignments

   (1)continuous assignments drive nets and are evaluated and updated whenever an input operand changes value.

   (2)procedural assignments update the value of variables under the control of the procedural flow constructs that surround them.

      variables <= / = expression

    variables : 1.reg , integer, real,realtime,time

                    2.bit-select of a reg , integer,time

                   3.part-select of a reg ,integer, time

                   4.memory word

                   5,concatenation or nested concatenation of any of the above

   note:如果左右边数据位宽不一致,需要进行零扩展、符号扩展。

   3.procedural assignments

        ----blocking procedural assignment statements

        ----nonblocking procdedural assignment statements

      blocking and nonblocking procedural assignment statements specify different procedural flows in sequential blocks

 4.blocking assignment vs nonblocking assignments

 5.assign vs deassign

 6.force vs release

   

verilog behavioral modeling --procedural assignments

标签:style   io   color   ar   for   sp   strong   数据   on   

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

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