how can I make the input to HDL FIFO Scalar ?
古いコメントを表示
I have used the HDL FIFO block of dhldemolib in Simulink but when i start "Run compatibility check" to generate the VHDL code, an error appears which state that the HDL FIFO only supports a scalar input. how can I solve such a problem. i tried too many solutions but non of them works ??? any one can help me, please?
回答 (1 件)
Tim McBrayer
2014 年 4 月 14 日
The signal attached to the HDL FIFO's 'In' port must be a scalar; its dimensions must be static, a [1x1] matrix. To help you understand what your Simulink signal dimensions are, make sure the following settings are selected on your model:
Display>Signals & Ports>Signal Dimensions
Display>Signals & Ports>Wide Nonscalar Lines
The Display>Signals & Ports>Port Data Types setting can also be very useful in diagnosing type issues in Simulink.
2 件のコメント
Esmail Abo-basha
2014 年 4 月 15 日
編集済み: Esmail Abo-basha
2014 年 4 月 15 日
Esmail Abo-basha
2014 年 4 月 17 日
カテゴリ
ヘルプ センター および File Exchange で Code Generation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!