HDL Coder Ports have Inf rate
6 views (last 30 days)
Show older comments
Hi I am running a HDL Coder on 2013b using the workflow advisor. When checking block compatability I receive the following warning. How do I resolve this issue? I searched around and didn't find anythign but I am new to simulink and may not be entering the right search terms.
Warning: Port '16 MSPS' has an Inf rate. Ports of a non-top DUT must have a non-Inf rate in order to be able to generate a runnable validation model or a cosimulation model.
0 Comments
Answers (1)
Tim McBrayer
on 16 May 2014
The specified port has in infinite rate; this means that it is probably driven by a constant block that has an inf rate. When rate coloring is enabled, this will show up as pink. To enable sample time colors, on the model choose Display>Sample Time>Colors.
You need to chance the Simulink rate of the driving signal. If it's being directly driven by a data source, simply change the rate from "inf" to any current rate in your system. If your base rate is e.g. 1, try setting the source rate to 1 instead of inf. If the input is not driven directly by a source, you can either figure out how to make your logic drive a time-varying value, or you can insert a rate transition block immediately before the HDL input port.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!