Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

convert of floating point number to binary in VHDL

Status
Not open for further replies.

mariajohn

Newbie level 4
Joined
Sep 18, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
coimbatore
Activity points
1,313
hai

i need to knw is it possible to convert a floating point number to binary representation and vice versa....
im using xilinx ise 9.2i....
plz help.....
 

mariajohn

Newbie level 4
Joined
Sep 18, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
coimbatore
Activity points
1,313
hai
im doing my project which deals with implementing a PID controller in FPGA...
im currently writing its coding considering integer inputs....
but i want to give floating point and fixed numbers as input....
so is it posiible to do the floating point operations in VHDL????

im using xilinx ise 9.2i.....
thanks and regards
maria
 

farhada

Advanced Member level 2
Joined
Oct 1, 2004
Messages
587
Helped
84
Reputation
168
Reaction score
30
Trophy points
1,308
Location
Nice, France
Activity points
5,025
HI Maria,
I would really recommend you read the following papers:

**broken link removed**

You can also find an open source FPGA library at this company's web site:

**broken link removed**

Reading that paper will give you a good understanding of what can be done inside an FPGA, and for implementation, you can use the codes in the library of OPTNGN site.

Hope it helps,

Best regards,
/Farhad Abdolian
 

mariajohn

Newbie level 4
Joined
Sep 18, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
coimbatore
Activity points
1,313
thank you very much
i was not able to get that site at first,but today i got that...
thank you once again
 

Aser

Member level 5
Joined
Jul 1, 2004
Messages
88
Helped
10
Reputation
20
Reaction score
5
Trophy points
1,288
Activity points
950
3 topics may be.
1. You have to design the application specific processor which deals with the high-speed floating point.
Then you would better take the IP core. Core from Xilinx Coregen would do.
2. The usual processor.
Then you make a subprogram for your microcontroller using the usual algorithm.
3. You have to test your project with a test vectors which are float numbers.
Then you write the usual type transform function call like
Ystdv<=conv_std_logic_vector(integer(Data_in*ScaleCoef),32);
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top