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?
MATLAB: How to convert from decimal to binary for HDL Coder
HDL Coder
Best Answer