How to calculate the floating point in verilog?

Status
Not open for further replies.

u24c02

Advanced Member level 1
Joined
May 8, 2012
Messages
404
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,101
How can I use the exponential function in FPGA?

Hi.
I want to know this.
How can I use the exponential and logarithm function in FPGA?

I don't want to use any designware or fpga's arithmetic library .
 

Not wanting to use fpga's arithmetic library or designware, the only solution is building the same things yourself. For Exponential, etc, you can use Z transform and Infinite-series.
 

I would also add CORDIC algorithm https://en.wikipedia.org/wiki/Cordic and look-up table (optionally with linear interpolation) to the candidate list.

Of course it doesn't matter if you are using Verilog or a different hardware description method.
 

Also, what do you need to calculate these? Is it for DSP? Are you making a Direct Digital Synthesizer?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…