Re: [USRP-users] Phase Representation: Using Xilinx CORDIC IP with RFNoC

2018-09-04 Thread Brian Padalino via USRP-users
On Tue, Sep 4, 2018 at 9:15 AM Jon Pendlum via USRP-users < usrp-users@lists.ettus.com> wrote: > Hey Steve, > > The complex_to_mag_phase 32-bit output is a concatenation: [31:16] phase, > [15:0] magnitude. There is also complex_to_magphase_int16_int24 if you want > 24-bit phase, mag. The phase va

Re: [USRP-users] Phase Representation: Using Xilinx CORDIC IP with RFNoC

2018-09-04 Thread Jon Pendlum via USRP-users
Hey Steve, The complex_to_mag_phase 32-bit output is a concatenation: [31:16] phase, [15:0] magnitude. There is also complex_to_magphase_int16_int24 if you want 24-bit phase, mag. The phase value is in scaled radians. If you want a different phase precision, you will need to create a new CORDIC I

[USRP-users] Phase Representation: Using Xilinx CORDIC IP with RFNoC

2018-09-04 Thread shachar J. brown via USRP-users
Hi all, I'm trying to create a "complex-to-phase" by using the arctan within the Xilinx CORDIC IP. (Part of a simple fft-->1-in-N-->to-phase scheme). Quite frankly I am a bit confused with the different bit representations. According to the Xilinx manual ( https://www.xilinx.com/support/documenta