I have decimal numbers ( lets say 8.432, 5.256 etc) in my MATLAB as input for arithmetic operations ,I convert my code to vhdl using HDL Coder. The data type i chose for input and output blocks in Simulink is int32. The code is converted to vhdl but when I see the binary output I only have the non decimal part i.e 8 and 5 in above example .How I could get the binary output for the decimal part too.May be  its simple question but being very new in this field dnt know how to do this.

Similar questions and discussions