real to floating point conversion in vhdl

Status
Not open for further replies.

shreeharshakg

Newbie level 4
Joined
Nov 24, 2009
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
mangalore
Activity points
1,333
hi sir, how can i convert a real number into floating point (single precision) in vhdl.... can you please help me.... thank you......

- shree
 

You mean conversion of real constants to IEEE-754 single precision? The IEEE proposed float_pkg_c.vhdl contains a
to_float() function for this purpose. See
**broken link removed**
 

hi sir, i have tried that... i am using xilinx 9.2i ise , it did not support . i want to convert a real number say 2.035 or -1.67 to single precision floating point . can u please help me.... thank you.....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…