Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Hello! I'm trying to mult 10-bit bus with floating point constant 0.5. To do this I am using a IP FP arithmetic blocks. First - conversion 10 bit bus to 32 float, then - multiplication block (32 x 32 bits) by LPM_constant block(LPM_CVALUE = 0.5 float, LPM_width = 32) and finally - conversion to integer (from 32 to 10 bits). To check the operation I'm creating a waveform. The results is zero. Am I missing something? --- Quote End --- if you just want to multiply by 0.5 then just discard one lsb