Forum Discussion
Altera_Forum
Honored Contributor
15 years agoproblem with fixed point number
sir/madam i want to multiply 2 floating point number(say,1.5 and 2.7).but i can't understand how to convert them in integer (say 8 bit integer). i don't want to use floating multiplier bcoz it...
Altera_Forum
Honored Contributor
15 years agosir, i use the source code for fixed_pkg from
http://www.eda-stds.org/fphdl. (http://www.eda-stds.org/fphdl/) i use this code in vhdl package file and go to new source .there using vhdl module i write my own program using "library ieee_proposed; use ieee_proposed.fixed_pkg.all; with other library function. sir i am little bit confused and can't solve the problem.plz help.