fanwel
Full Member level 3
Hi all,
I try to write VHDL code for multiply a decimal (floating point) number with an integer. For example:
I have a set of vector (integer) as the input, f= (12,3,10,7). Then, I want to multiply the input with 0.25.
As I know, I need to convert the 0.25 to the binary number. Do I need to convert the input also and how the operation will be write in VHDL?
I really need helps, please anyone give me any advise. Thank you.
I try to write VHDL code for multiply a decimal (floating point) number with an integer. For example:
I have a set of vector (integer) as the input, f= (12,3,10,7). Then, I want to multiply the input with 0.25.
As I know, I need to convert the 0.25 to the binary number. Do I need to convert the input also and how the operation will be write in VHDL?
I really need helps, please anyone give me any advise. Thank you.