Mix of blocking and non-blocking assignments to variable <en> is not a recommended coding practice.

来源:互联网 发布:数据分析师做什么 编辑:程序博客网 时间:2024/05/17 07:08

是reg类型的“变量”

在使用时应该使用符号“<=”而不是 “=”

如:

reg s;

always @(*)

      s = 1'b1;

这里应该使用 <=,即   s <= 1'b1;

原创粉丝点击