Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

problem 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 takes so many clbs in fpga.plz help.urjent:(

thanks in advance.

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    sir. again i am in a grate problem,during simulation it gives error in package body.in fixed_pkg body "fixed_pkg'instance_name" is used.but this attributr is not supported.

    i an using vhdl93.plz sir can u give me any link of fixed_pkg link so that i can succesfully implement my program under that package.:(