Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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,299
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.
please tell me any other method to implement this.
 

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
291
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.
please tell me any other method to implement this.
use edatools coregen like xilinx or ip tools like altera
 

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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top