discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ADC questions


From: Sebastiaan Heunis
Subject: Re: [Discuss-gnuradio] ADC questions
Date: Wed, 24 Sep 2008 23:51:52 +0200

Brian

Sorry to bother.  I have one more question for now.  I wrote a Python
app to generate an input signal, convert it to 12-bit two's complement
and then bitshift it left by 3 and sign-extend it to get it to the
representation used inside the FPGA.  My question now is that if I
feed this input signal into the cordic, I'll somehow get it back to
decimal in order to plot it in Matlab and see what happened.  Do I do
the inverse that I previously did (shift it right by 3 and remove the
sign extension and then take it from two's complement to decimal?)
Let's say I take the signal from the cordic and pass it to the CIC
filter.  When I want to have a look at the output of the CIC filter,
can I also do the above to get the output to 12-bit decimal?

Thanks in advance.

Sebastiaan

-- 
Sebastiaan Heunis
Radar and Remote Sensing Group, University of Cape Town
Tel: +27 83 305 5667




reply via email to

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