On 01/11/2018 01:38 AM, Дмитрий Михайличенко via USRP-users wrote:
> Hi,
> 
> I am trying to understand timestamp tracking in FPGA and noticed one
> possible issue in axi_rate_change.v module .
> 
> VITA time in packet headers is counted in ticks of master clock
> frequency, i.e. 200 MHz. For me it looks like axi_rate_change adjusts
> time by adding time from the first packet in a group to number of
> samples sent out which are actually downsampled in case of DDC and may
> have lower sampling frequency. That is probably incorrect unless I
> understand the code.  Does it only work because output packet always
> starts from input packet boundary so vita_time_reg is never used?

Dmitry,

a couple of notes: axi_rate_change is used in modules such as the
DDC/DUC blocks which don't actually run at the sample clock rate. So the
only reference for time is the sample count, not a clock count.
And yes, input/output packet boundaries are also matched. For
interpolation by factor M, you will input 1 packet and get M packets of
identical size.
Also, the master clock rate (which is the 200 MHz clock in this case) is
used as a timing reference.

Not sure if this answers your questions. Let us know if it doesn't!

-- M

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
  • [USRP-users] VITA t... Дмитрий Михайличенко via USRP-users
    • Re: [USRP-user... Martin Braun via USRP-users

Reply via email to