HDL Coder Ground Problem
6 次查看(过去 30 天)
显示 更早的评论
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/.
0 个评论
采纳的回答
Kiran Kintali
2018-6-28
编辑:Kiran Kintali
2018-6-28
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.
0 个评论
更多回答(1 个)
Kiran Kintali
2018-6-28
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
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!