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

1 回表示 (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2023 年 6 月 11 日
回答済み: Shoumei 2023 年 6 月 30 日
Simulink / Logic and Bit Operations / Integer to Bit ConverterブロックからHDL生成したいのですが、対応していないようです。
方法があれば教えてください。

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 6 月 11 日
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 日
R2023a以降はHDL Coder > Logic and Bit Operations > Word to Bitsブロックも使えそうですね。
Word to Bitsブロックのヘルプページ

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!