左轴和右轴指定的时间延迟有什么区别?
a = #5 b;
#5 a = b;
上述2种说法有什么区别吗?
a = #5 b;
#5 a = b;
Is there any difference between above 2 statements?
a = #5 b;
#5 a = b;
上述2种说法有什么区别吗?
a = #5 b;
#5 a = b;
Is there any difference between above 2 statements?
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
RHS 上的
#
称为内部分配延迟。请阅读 IEEE Std (1800-2009) 第 9.4.5 节“内部分配时序控制”来了解其中的区别。使用这两个语句运行模拟,看看您观察到什么差异(如果有)。使用
$monitor
和$time
。The
#
on the RHS is known as an intra-assignment delay. Read about the distinction in the IEEE Std (1800-2009), section 9.4.5 "Intra-assignment timing controls".Run a simulation with both statements to see what difference (if any) you observe. Use
$monitor
and$time
.