Delay balancing error while using HDL coder

19 次查看(过去 30 天)
Hello
I am using Matlab 2023b version. While generating the HDL code I am facing the issue with delay balancing.I received the following error:
" Delay balancing unsuccessful because an extra 10 cycles of latency introduced by optimizations in the feedback loop cannot be offset using design delays for the loop latency budget. If you are modeling at data rate (high-level description of algorithm without hardware implementation details), refer to the clock-rate pipelining report for more details. If you are modeling at clock rate, consider increasing the latency budget by adding more design delays in the feedback loop. Refer to the delay balancing report for more details."
I inserted some delay blocks in series with the error block,but still the error remains same.I didn't faced this issues when I was generating using 2021 version.Do I need to change anything in the setting?. Is there anything I should do with the delay blocks.

回答(1 个)

Kiran Kintali
Kiran Kintali 2024-5-1
编辑:Kiran Kintali 2024-5-1
Hi Sanil,
would you be able to share your model? Do not hesitate to reach to technical support and we can help further assist you.
You usually run into this situation when using blocks that request latency within feedback loops and clock rate pipelining has not sufficiently kicked in.
Please check enable the optimization report and check clock rate pipelining and delay balancing sections of the report for additinal clues.
It is quite possible 2021 version didn't report the issue properly or handled your model correctly. I found these two bug reports 3056295, 3176370 that seem relevant; there could be others in the previous release.
>> I inserted some delay blocks in series with the error block,but still the error remains same.
There is a potential problem with identifying scattered delays in series that is fixed in R2024a release. Please consider using a lumped integer delay block with the correct delay in the model and see if it helps.
  2 个评论
SANIL
SANIL 2024-5-2
编辑:SANIL 2024-5-2
Hi Kiran,
Thank you for replying. There is some problem with sharing the model. So can we have an online meeting to sort out this error. Also can you confirm whether these bugs which caused the error got fixed on 2024a version, so that I can go for it.
Kiran Kintali
Kiran Kintali 2024-5-2
Sure. please reach to the tech support and they will direct you to the right team. https://www.mathworks.com/support/contact_us.html
>>Also can you confirm whether these bugs which caused the error got fixed on 2024a version?
We strongly recommend moving to the latest release.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by