- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-29-2010 04:05 AM
Hello,
I need to implement the natural logarithm function and I'm trying to find out if I can use any IP core before implementing it myself. From what I've understood by reading here and there on the web, it could be possible to compute a logarithm by using the Cordic algorithm... However, mathematically, the logarithm depends on the inverse sinh function, which is not implemented by Cordic 4.0. I probably might calculate somehow, but I would need to instantiate too many cores.
Am I making any mistakes or not noticing something or is it actually impossible to computer a logarithm with the Cordic core?
Thank you!
Re: Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-29-2010 09:47 PM
If you use System Generator, you can use the CORDIC LOG reference block in Xilinx Reference Blockset.
Jim
Re: Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2011 10:01 AM
Hello.
I am having the same problem but I cannot use system generator since I don't have MATLAB.
Are there any other ways?
Thank you.
Re: Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-12-2011 06:56 AM
A bit fiddly, but I have created Pseudo-ROMs for sine and cosine to avoid latency due to CORDIC implementations.
------------------------------------------
"If it don't work in simulation, it won't work on the board."
Re: Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2011 06:07 AM
Hi Could you could write the log2 function as HDL function and then use that to create your array?
regards
Mike
Re: Implementa tion logarithm with CORDIC IP core?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-24-2012 06:16 AM
the logarithm depends on the inverse sinh function
You can use the atanh instead by expecting ln (x) = atanh((x-1) / (x+1))











