discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Add RFNoC FIFO


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Add RFNoC FIFO
Date: Tue, 6 Dec 2016 22:45:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

A NoC block should, as far as I can tell, always start with noc_block_.


Best regards,

Marcus


On 12/06/2016 10:37 PM, Vishwesh Rege wrote:
Hi,

What are the list of blocks that I can add?

For example,
Looking at the list of blocks in usrp3_rfnoc/lib/rfnoc/Makefile.srcs

From these I could add noc_block_digital_gain (built successfully)
but couldn't add chdr_fifo_large (running make X310_RFNOC_HLS_HG gave an error)

How do I know which blocks will work?

For the error I'm getting in GRC "FIFO_0 block missing" I think noc_block_axi_fifo_loopback is probably the right one
But what functionality do the other FIFOs provide (when am I supposed to use them)?
chdr_fifo_large
noc_block_axi_dma_fifo
split_stream_fifo
ram_to_fifo ... etc.

Thanks,
Vishwesh

--
To change the blocks, you need to edit rfnoc_ce_auto_inst_x310.v twice:
You need to change NUM_CE (at the top), and then the actual block list.

For FIFOs, you can go to the bottom and use the generate for loop to add
more FIFOs.

You can use make.py to autogenerate this file (in
usrp3/tools/scripts/make.py).

Cheers,
Martin

On 12/04/2016 05:55 PM, Vishwesh Rege wrote:
> Hi,
>
> I want to add the FIFO block in usrp3_rfnoc/lib/fifo to USRP along with
> the addsub module in usrp3_rfnoc/lib/hls folder.
>
> I'm running make X310_RFNOC_HLS_HG from usrp3_rfnoc/top/x300 directory
> and then flashing the generated image in build/.
>
> However, the FIFO isn't included in the image for some reason. Only the
> following RFNoC blocks are actually flashed:
> | | | * DmaFIFO_0
> | | | * Radio_0
> | | | * Radio_1
> | | | * AddSub_0
> | | | * FIR_0
> | | | * FFT_0
> | | | * Window_0
> | | | * NullSrcSink_0
> | | | * SigGen_0
> | | | * MovingAverage_0
> | | | * VectorIIR_0
> | | | * KeepOneInN_0
> | | | * fosphor_0
>
> The Makefile usrp3_rfnoc/top/x300/Makefile.x300.inc already includes
> FIFO_SRCS in DESIGN_SRCS
>
> Do I need to make any changes to include the FIFO?
>
> Any help is appreciated.
>
>
>
>


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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