gpt4 book ai didi

verilog - 左轴或右轴指定的时间延迟有什么区别?

转载 作者:行者123 更新时间:2023-12-02 17:52:47 24 4
gpt4 key购买 nike

a = #5 b;
#5 a = b;

以上两种说法有什么区别吗?

最佳答案

RHS 上的# 称为内部分配延迟。阅读 IEEE Std (1800-2009) 第 9.4.5 节“内部分配时序控制”中的区别。

An intra-assignment delay or event control shall delay the assignment of the new value to the left-hand side, but the right-hand expression shall be evaluated before the delay, instead of after the delay.

使用这两个语句运行模拟,看看您观察到什么差异(如果有)。使用$monitor$time

关于verilog - 左轴或右轴指定的时间延迟有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6002851/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com