-1/+1から0/+1への変換方法
Ältere Kommentare anzeigen
お世話になっております。
早速ですが、現在-1と+1の出力をするシミュレーション系を組んだのですが、これを最終的に固定小数点1ビットで表すために0/1で出力したいと考えています。そこで、このことを実現する何か手立てはありませんでしょうか?
このシミュレーション系に関しては、最終的にHDL Coderを利用してHDLへ書き出しFPGAへ実装したいと考えているので考えているのでHDL Coder対応のものがいいと考えています。
ご回答宜しくお願い申し上げます。
1 Kommentar
Kazuya Machida
am 28 Nov. 2019
”Compere To Zero" ブロック等の不等号を使う形ではダメでしょうか?出力はbooleanの1bitとしてHDL Code生成可能かと思います。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu AMD FPGA and SoC Devices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!