How can I convert from decimal to binary for HDL Coder?
Ältere Kommentare anzeigen
I am creating a Simulink model for HDL code generation. I would like to convert a signal into a vector of bits so that I can perform operations on each individual bit. There is no block that performs this operation, so I would like to create a custom implementation. What is the best way to do this that will not generate excessive code?
Akzeptierte Antwort
Weitere Antworten (1)
Kiran Kintali
am 30 Dez. 2020
0 Stimmen
Attaching the model in the example for convenience.
Kategorien
Mehr zu Code Generation 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!