convert real to binary in vhdl !!!

Discussion in 'Embedded Systems and Microcontrollers' started by charko, May 5, 2010.

  1. charko

    Thread Starter New Member

    Apr 27, 2010
    Hi !! I want to convert a real to binary . I use 12 bit to convert this real to binary.
    The MSB bit was used to sign , interger part used one bit and finally the 10 bit used for fractional part.I want to use fix point .
    but i don't how can i create in vhdl this converter. If someone have an idea i will be grateful for you help!
    Thank you .