Conversion of 'real' to 'std_logic_vector' ?

Joined
May 8, 2008
Messages
1
Reaction score
0
Hello,

I want to convert a 'real' number (4.17E13) into a std_logic_vector of 48 bits. How can I do this as the function conv_std_logic_vector only takes in integer values and my number is beyond this range !

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top