Performing floating point in VHDL

Nov 08, 2004 1 Replies

Hi, I am using Modelsim 6.0a .. I need to perform floating point operations in VHDL (multiplication and addition)..But the IEEE library that I use in Modelsim 6.0 doesnt have the support ..So I need to create a library and use ..i could get the floating point package files from

formatting link
but I dont know how to create a library from these files and start using this library ..Can anyone help me in this ..Thanks in advance


Easiest way is to compile the files you need into your work directory:

vcom some_lib.vhd

and try them out:

use work.some_lib.all;

-- Mike Treseler

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required