HDL Coder Ground Problem

Hi i am getting this error. Any solution?
Delay balancing unsuccessful because Signal rate of value inf found. Offending Block:XADC_Demo/XADC/XADC_Com_Interface/xadc_ctrl/.

 采纳的回答

Kiran Kintali
Kiran Kintali 2018-6-28
编辑:Kiran Kintali 2018-6-28

1 个投票

I have replaced your ground blocks with constants (of zero value) and sample time set as -1. This eliminates the inf rates in your model. Please check the attachment.

更多回答(1 个)

Kiran Kintali
Kiran Kintali 2018-6-28

1 个投票

Please note sample of Inf is not supported for optimizations. You need to have explicit sample time set on the constant blocks or set to inherited (-1).
can you please run "hdlmodelchecker(<path_to_XADC>)" command on the subsystem? The hdlmodelchecker has an advisor check for fixing constants with unsupported configurations.
please share the model if you cannot resolve the issue with the suggestion and we can take a look and debug the issue.
Thanks

2 个评论

Here is the model. Thank you.
Also there is no sample time option for ground block.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Code Generation 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by