[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Fast, Single-Sample Phase Rotation
From: |
Mark Haun |
Subject: |
Re: [Discuss-gnuradio] Fast, Single-Sample Phase Rotation |
Date: |
Tue, 26 May 2015 16:53:57 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Traditionally this was a job for CORDIC. I don't know what the tradeoffs
look like on a modern processor, though. If a significant part of your
algorithm operates in phase/magnitude, might you consider a rect->polar
conversion?
John Malsbury address@hidden wrote:
> I have a complex phase rotation function that uses a pre-generated sin/cos
> LUT and some basic multiple/adds.
>
> As it turns out, the rotation calc, which uses "straight" C/C++ math is
> still the bottleneck in a demod.
>
> I was wondering, is there some uber-efficient rotation block/class I should
> be using? I notice there is a volk kernel for the job and gr_rotator.
> But I also should mention that the phase rotation operation must happen one
> sample at a time. This is due to the sequential nature of the algorithm -
> ie. I can't align and call a kernel with hundreds of nicely-aligned
> samples.
>
> Any advice?
>
> -John
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio