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,
sorry. sir, 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 then 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. but when I synthesized my code, I have error "library ieee_proposed cannot be found".i use ise 11.1.