discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Converting complex-short to complex-float with UH


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Converting complex-short to complex-float with UHD
Date: Mon, 12 Sep 2011 10:46:48 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13


On 09/12/2011 10:28 AM, Almohanad Fayez wrote:
> 
> I want to use COMPLEX_INT16 in hopes of generating non-normalized
> fixed point data using UHD.  I ultimately want to send this data over
> to the DSP on the E100, if I receive the data as COMPLEX_FLOAT32 then
> UHD is performing
> 
> fixed-point -> floating point  and I will be performing
> floating-point -> fixed-point -> floating-point feeding into the
> FPGA.  Ultimately I want
> 
> FPGA ->fixed-point -> DSP -> fixed-point -> FPGA
> 
> instead of
> 
> FPGA ->fixed-point -> floating-point -> fixed_point -> DSP ->
> fixed-point -> floating-point -> fixed-point -> FPGA
> 

Ah, makes sense.

> however in my flowgraph I want to be able to use
> gr.probe_avg_mag_sqrd() and a scalar multiples before feeding into
> the DSP and it fails when I use  COMPLEX_INT16 because of data type
> confusion
> 

It may be better to combine this scalar multiply/conversion with the
copy into DSP memory. You can save a step writing the output of the
conversion directly to DSP memory.

-Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]