Hello ,
I have 32 bit std_logic_vector signal and want to multiply it by floating point .
e.g
signal Input : std_logic_vector (31 downto 0 );
signal number = 0.2 ;
signal Output: std_logic_vector (31 downto 0 );
Output <= 0.2 * Input ;
What can be the best solution to do this kind of multiplication ? i have read somewhere that floating point arithmetic operation is not synthesizable so better to use fixed point numbers .
I have used Floating Point Operator . I added in my Block design and connected via DMA. I set the option "float to Fixed " in that IP (assuming I will send floating point value from SDK ). After generating bitstream, I used the DMA function to send the value float 0.2 to TxBufferPtr, But unfortunately I see only 0 input and 0 output :( So floating point cannot be the input for sending value to DMA. What should I do to complete my required task :(
Which operation has to be selected for that IP ?
It would be appreciated if anyone can tell me the proper idea to do that sort of operation .
Thanks