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.

help needed to implementinh some formula on xilinx FPGA

Status
Not open for further replies.

vaf20

Full Member level 3
Joined
Jan 27, 2003
Messages
174
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,479
help needed to . . .

hi all
i would like to implement following formula on xilinx FPGA

A=(Sqrt(x^2+y^2)*Sqrt(z^2+t^2))/(Sqrt(k^2+H^2)*Sqrt(L^2+M^2))
B=[ArcTan(x/y)-ArcTan(z/t)]-[ArcTan(k/h)-ArcTan(l/m)]

i know i can implement Sqrt and Arctan or even sin , ... by implementing cordic block,but i feel there is better way to do it.
how i can implement exactly with better method?
how about xilinx coregenerator - cordic block , anyone try it?

any comment or idea or help is highly appreciated
 

vaf20

Full Member level 3
Joined
Jan 27, 2003
Messages
174
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,479
Re: help needed to . . .

hi again
i think this message is not off-topic but i can not undrestand why there
is no idea or comment!
is there anyone ot drop message to help me?
thanks
 

r_e_m_y

Member level 4
Joined
Oct 2, 2003
Messages
77
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
935
Re: help needed to . . .

Hi,

may be nobody on this forum has ever tryed to implement an ArcTan function in a FPGA.

If I had time to spend on it, I would help you, but I can't.
 

ashishjindal76

Member level 4
Joined
Dec 5, 2003
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
779
help needed to . . .

try for the embeded solution or system on chip solution that would really help u out and impliment it on fpga.

ashish
 

vaf20

Full Member level 3
Joined
Jan 27, 2003
Messages
174
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,479
Re: help needed to . . .

tnx really 2 ashish
can u tell more about embeded solution or system on chip solution ?
 

Big Boy

Full Member level 4
Joined
Jan 19, 2004
Messages
235
Helped
21
Reputation
42
Reaction score
11
Trophy points
1,298
Activity points
4,723
Re: help needed to . . .

Look at opencores.org, I remember seeing a co-processor core.

From there, implementing roots and trigo are more complicated. You will need to do it over multiple clock cycles. I suggest looking for papers on series expansion (for trigo functions) and on root extractions.

In any case, you can't implement those as a single clock cycle operations.
 

eltonjohn

Advanced Member level 4
Joined
Feb 22, 2002
Messages
1,435
Helped
64
Reputation
126
Reaction score
28
Trophy points
1,328
Activity points
16,326
Re: help needed to . . .

To implement that in a core .. You need Matlab .. Then Sysgen .
to generate a core in VHDL with that equation
 

vaf20

Full Member level 3
Joined
Jan 27, 2003
Messages
174
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,479
Re: help needed to . . .

tnx 2 eltonjohn
can anyone tell me more about this method ?
any help!
thanks in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top