HDL Coder Ground Problem

8 views (last 30 days)
ali kucur
ali kucur on 28 Jun 2018
Edited: Kiran Kintali on 28 Jun 2018
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/.

Accepted Answer

Kiran Kintali
Kiran Kintali on 28 Jun 2018
Edited: Kiran Kintali on 28 Jun 2018
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.

More Answers (1)

Kiran Kintali
Kiran Kintali on 28 Jun 2018
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 Comments
ali kucur
ali kucur on 28 Jun 2018
Here is the model. Thank you.
ali kucur
ali kucur on 28 Jun 2018
Also there is no sample time option for ground block.

Sign in to comment.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!