Hi,

I would suggest reading the RFNoC getting started guide (
https://kb.ettus.com/Getting_Started_with_RFNoC_Development) and making
your correlator into a RFNoC block. Then it will be easy to include your
correlator in a GNU Radio flow graph.

1) Where exactly in the code is the ddc chain instantiated *? Should I
> do it myself ?
>

The DDC code is in the RFNoC DDC block, noc_block_ddc.v. The default X310
image includes two DDCs, so you don't need to instantiate anything.


> 2) Is it possible to have a decimation rate of 200 or should it be a
> power of 2 ?
>

You can have a decimation rate of 200. The DDC has a CIC filter along with
3 half band filters, so the decimation rate is fairly flexible.


> 3) How is the decimation rate controlled ? From what I understand it's
> from the sampling rate parameter in GnuRadio. Am I right ?


 If using the USRP Source block in GNU Radio, setting the sample rate will
setup the DDC. If using Device 3 (i.e. a RFNoC flow graph) in GNU radio,
you will need to set the decimation rate on the RFNoC: DDC block.

Jonathon

On Wed, Jul 17, 2019 at 5:30 PM fbarras via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hi all,
>
> I developed a custom correlation module in Verilog and I would like to
> insert it in the usrp x310 fpga image. My goal is to send a  signal
> (with a usrp b205 mini) at a sampling rate of 1M and to receive it with
> the usrp x310. Inside the fpga, my block will look for a certain
> sequence inside the received signal.
>
> My block is working with a 200M clock and can support data rate up to
> 2M.
>  From what I've read, it seems that the adc of the x310 is working at
> 200M and that this can't be changed. So my module should be placed after
> the ddc chain. But this rises a few questions:
>
> 1) Where exactly in the code is the ddc chain instantiated *? Should I
> do it myself ?
>
> 2) Is it possible to have a decimation rate of 200 or should it be a
> power of 2 ?
>
> 3) How is the decimation rate controlled ? From what I understand it's
> from the sampling rate parameter in GnuRadio. Am I right ?
>
> Thanks !
>
> * For some reasons, I'm working with uhd  3.10.3
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to