Hi,

I do understand that there are "always" statements in the base code and the
flow of those base code is clear to me.

It is just this top module, whose logic is not clear to me. I tried writing
a test bench, but that didnt help either.

It would be great if anyone could spare a minute and throw some light ?

Hoping for some answers !

Thanks once again.

jetli.


On Nov 30, 2007 1:40 AM, Ronald Jetli <[EMAIL PROTECTED]> wrote:

> Hi,
>
> My questions is regarding tx_chain.v.
>
> I am a bit confused as to how the flow of the code would proceed. There is
> no "always" statement in the code.
>
> First, two instances of cic_interp are instantiated .i.e.  cic_interp_i &
> cic_interp_q . The signal assignments happen. The most significant signals
> i_in and q_in are assigned to signal_in of cic_interp_i & cic_interp_q.
>
> Question 1:
>
> Do both (cic_interp_i & cic_interp_q) instantiation and assignment happen
> at the execution time 0 ?
>
> Or for that matter, all (cic_interp_i ,  cic_interp_q, phase_acc_tx &
> tx_cordic_0) instantiations happen at time 0 ?
>
> I am doubtful of what I am thinking above. Because I can see that
> cic_interp_i's output signal bb_i is being assigned as input in tx_cordic_0.
> So, if I go by my logic, then wrong assignments would happen.
>
> Question 2:
>
> Lets assume that some logic is defined for all (cic_interp_i ,
> cic_interp_q, phase_acc_tx & tx_cordic_0) modules. And suppose cic_inter_i
> module logic takes 5 clock cycles to finish its task and tx_cordic_0 module
> logic takes 8 clock cycles to finish its task. So, will tx_cordic_0 wait for
> 5 clock cycles for cic_interp_i to finish its task, produce bb_i and then
> tx_cordic_0 uses this new bb_i and then takes additional 8 clock cycles to
> finish its task ?
> So, total completion time would be 13 clock cycles ? Am I thinking right
> or there is something wrong ?
>
> Thanks !
>
> Jetli.
>
> P.S. Excuse me if my understanding sounds naive.
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to