On 05/18/2016 12:56 PM, Swanson, Craig wrote:
> gnuradio-companion.  Here are my steps and questions:

Craig,

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.

M


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to