moerjielovecookie

Sawen_Blog

一个普通工科牲的博客网站
x
github
follow
email

MATLAB中使用HDL Coder生成HDL代码时的报错集合

1 Delay balancing unsuccessful because an extra 4 cycles of latency introduced by optimizations in the feedback loop cannot be offset using design delays for the loop latency budget.#

1.1 产生原因#

2024after4202406132008890.png

由于时序考虑,在每个模块的输出端添加了 1 到 2 级的输入输出流水线,但是在这种带反馈的结构上添加输入输出流水线后,会产生如下的报错

1718280602962.png

可以看出加入的输入输出流水线会导致额外的时钟延时,使得延时平衡失败。

1.2 解决方法#

在保证时序的前提下将带有反馈回路的模块输入输出流水线设置为 0,也可以在同级输出端口加入 delay 手动添加流水线。

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.