[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Confusion over data formatting for a waveform in
Re: [Discuss-gnuradio] Confusion over data formatting for a waveform in QT GUI Time Sink, File Sink, and RFNoC noc_block_moving_avg
Wed, 18 May 2016 13:52:04 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
On 05/18/2016 12:56 PM, Swanson, Craig wrote:
> gnuradio-companion. Here are my steps and questions:
short answer: What Ian said, and also:
> 8. Once I can agree that my 32 bit real and imaginary numbers are
> making sense in QT GUI Time Sink and File Sink, then I have to
> convert that 32 bit hex value into Q16 format which RFNoC
> noc_block_moving_avg is expecting to be sent to i_tdata (64 bits=two
> sets of real and imag) and then m_axis_data_tdata(32 bits=one set of
> real and imag, sent twice=64 bits)?
> 9. How do I convert the 32 bit IEEE 754 data (gnuradio) into Q16 (RFNoC)?
You do *not* have to convert anything. UHD does that for you. You feed
it fc32 data (std::complex<float>) and tell the streamer to convert it
to sc16. Which is the default.
- Re: [Discuss-gnuradio] Confusion over data formatting for a waveform in QT GUI Time Sink, File Sink, and RFNoC noc_block_moving_avg,
Martin Braun <=