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.

how to implmathmatical function in fpga such as cos,sin etc

Status
Not open for further replies.

rubnawaz

Newbie level 1
Joined
Sep 12, 2007
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,293
i have to implement math functions in fpga.
one way is to express sine function in term of its maclauran series. since in maclauran series we have to compute factorial,divide, add,subtract arithmatics to find sine function which is very lenthy.
**broken link removed**
 
Last edited by a moderator:

avimit

Banned
Joined
Nov 16, 2005
Messages
413
Helped
91
Reputation
182
Reaction score
23
Trophy points
1,298
Location
Fleet, UK
Activity points
0
Re: how to implmathmatical function in fpga such as cos,sin

CORDIC algorithm is used to find sin/cos values in Hardware design. Often look up tables are also used.
Kr,
Avi
http://www.vlsiip.com
 

supercst

Member level 2
Joined
Mar 21, 2004
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
289
Re: how to implmathmatical function in fpga such as cos,sin

rubnawaz said:
i have to implement math functions in fpga.
one way is to express sine function in term of its maclauran series. since in maclauran series we have to compute factorial,divide, add,subtract arithmatics to find sine function which is very lenthy.
**broken link removed**

use edatools coregen like xilinx or ip tools like altera
 
Last edited by a moderator:

shavakmm

Member level 4
Joined
Oct 6, 2007
Messages
75
Helped
9
Reputation
18
Reaction score
6
Trophy points
1,288
Location
Bangalore
Activity points
1,705
Re: how to implmathmatical function in fpga such as cos,sin

using cordic algorithm is best.... see more on:
**broken link removed**
 
Last edited by a moderator:

amitjagtap

Full Member level 5
Joined
Jan 10, 2007
Messages
304
Helped
42
Reputation
84
Reaction score
36
Trophy points
1,308
Activity points
3,273
Re: how to implmathmatical function in fpga such as cos,sin

Its good to use cordic algorithum, because it is common to all sin, cos, tan etc.
instead of writing separate series to each.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top