M
Mike Delaney
Guest
Does anyone have any suggestions on how to do Logs and Powers?
Part of the design I'm working on has "log(1 + B^d)", and we're pretty
much stuck there.
So far, the ideas being kicked around are to either use the Taylor
series (I'm not the biggest fan of this), or to try to use CORDIC.
I haven't found any free/open IP that looked like it would work, the
closest being a couple of (fixed-point) CORDIC cores from Open Cores.
Accuracy and speed are the two main concerns, but memory is tight, so
I don't know if a lookup table is doable. Are there any other
approximations that might work, and might be easier to implement using
floating point? And how do the hardware implementations in some FPU's
work?
Thanks,
Mike
Part of the design I'm working on has "log(1 + B^d)", and we're pretty
much stuck there.
So far, the ideas being kicked around are to either use the Taylor
series (I'm not the biggest fan of this), or to try to use CORDIC.
I haven't found any free/open IP that looked like it would work, the
closest being a couple of (fixed-point) CORDIC cores from Open Cores.
Accuracy and speed are the two main concerns, but memory is tight, so
I don't know if a lookup table is doable. Are there any other
approximations that might work, and might be easier to implement using
floating point? And how do the hardware implementations in some FPU's
work?
Thanks,
Mike