How can I convert from decimal to binary for HDL Coder?
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Kiran Kintali
2020년 12월 30일
0 개 추천
Attaching the model in the example for convenience.
카테고리
도움말 센터 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!