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

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

 采纳的回答

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!