Integer to Bit Converterブ​ロックは、HDL生成​に対応していますか?

Simulink / Logic and Bit Operations / Integer to Bit ConverterブロックからHDL生成したいのですが、対応していないようです。
方法があれば教えてください。

 採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 6 月 11 日

0 投票

Integer to Bit Converterブロックは、HDL Coderに対応しておりません。
なお、MATLAB Functionブロックを使って、HDL生成に対応したInteger to Bit Converterシステムを実現することは可能です。
下記FAQにおいて、hdlcoder_int2bits_bits2int.slx(R2022bで作成)をダウンロード頂けます。
https://jp.mathworks.com/matlabcentral/answers/1661925-hdl-supported-block-for-integer-to-binary

その他の回答 (1 件)

Shoumei
Shoumei 2023 年 6 月 30 日

0 投票

R2023a以降はHDL Coder > Logic and Bit Operations > Word to Bitsブロックも使えそうですね。
Word to Bitsブロックのヘルプページ

カテゴリ

ヘルプ センター および File Exchange で Code Generation についてさらに検索

製品

リリース

R2023a

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!