discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] I&Q on same or separate channels?


From: Brian Padalino
Subject: Re: [Discuss-gnuradio] I&Q on same or separate channels?
Date: Sun, 16 Dec 2007 23:06:55 -0500

On Dec 16, 2007 10:59 PM, George Nychis <address@hidden> wrote:
> I've got a question about the standard RX code that reflects my code...
> http://gnuradio.org/trac/browser/gnuradio/branches/developers/gnychis/inband/usrp/fpga/sdr_lib/rx_buffer.v#L90
>
> When store_next, which determines which channel to read from, reaches
> the number of channels, according to the code above store_next returns
> to 0.  Then store_next must wait for rxstrobe to continue across the
> channels again.
>
> Two questions...
>    1.  why does it return back to 0 and not 1?
>    2.  why wait for rxstrobe to go from 0 to 1 when the fifo is driven
> by rxclk?

You have to think about what this is trying to accomplish.

Everything in the Verilog code is 0 based array indexing.  That
answers question #1.  Question #2 is answered by understanding what
the actual statement is accomplishing:

For every received sample strobe, go through all the channels and, as
long as the received FIFO is not full, pass the data.  In Verilog,
this is accomplished in the next couple of clock cycles until it
iterates through all the channels.

Does that make sense?

Brian




reply via email to

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