HDL Coder Ports have Inf rate
이전 댓글 표시
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.
답변 (1개)
Tim McBrayer
2014년 5월 16일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Get Started with HDL Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!