Hi Martin,
My understanding is that the axi_ram_fifo is not available for the E310.
Perhaps Ettus can comment.
Rob

On Sat, Jun 12, 2021 at 3:31 PM Martin <[email protected]>
wrote:

> Hi,
> Amongst others I am trying to add an RFNoc axi_ram_fifo using
> radio_2x64.yml to a E310 RFNoC image. But I am having a hard time to
> find out which port names to use for connections and clocks.
>
> Apparently I am using the wrong port name for dram. Or I somehow have to
> add dram to the _device_
> But I haven't found where all ports of _device_ are defined for each
> USRP. In which file is that?
> Do I have to add a dram component to the verilog?
> I saw that e320_core.v has dram defined. But I am still not sure where
> the dram portname is defined and how it corresponds to the dram_xxx
> wires in the verilog.
>
> I added the following to my e310_rfnoc_image_core.yml file based on the
> examples I saw in e320 and x310 yml files.
>
> noc_blocks:
>    fifo0:
>      block_desc: 'axi_ram_fifo_2x64.yml'
>      parameters:
>        # These parameters correspond to the memory interface on the E320
>        MEM_ADDR_W:   31
>        MEM_DATA_W:   64
>        MEM_CLK_RATE: "300e6" #TODO MDVH check if this clockspeed is
> correct for E310 (copied from E320)
>        # Create two non-overlapping 32 MB buffers by default
>        FIFO_ADDR_BASE: "{31'h02000000, 31'h00000000}" #Are these
> addresses correct for E310 (copied from E320)
>        FIFO_ADDR_MASK: "{31'h01FFFFFF, 31'h01FFFFFF}"
>
> connections:
>    - { srcblk: fifo0, srcport: axi_ram, dstblk: _device_, dstport: dram  }
>
> clk_domains:
>    - { srcblk: _device_, srcport: dram,  dstblk: fifo0,  dstport: mem   }
>
> When I try to build with rfnoc_image_builder I get the error
> [ERR] 1 Unresolved connection(s)
> [ERR]     (fifo0-axi_ram -> _device_-dram)
> [INF]         (('radio0', 'ctrl_port', 'master'),)
> [INF]         (('radio0', 'time_keeper', 'listener'),)
> [INF]         (('radio0', 'x300_radio', 'slave'),)
> [INF]         (('fifo0', 'axi_ram', 'master'),)
> [INF]         (('_device_', 'ctrlport_radio', 'slave'),)
> [INF]         (('_device_', 'time_keeper', 'broadcaster'),)
> [INF]         (('_device_', 'x300_radio', 'master'),)
>
>
> Here is the whole log:
>
> rfnoc_image_builder -y
> e310_rfnoc_gamma_image_core_add_fifo_logpwr_keep_one_in_n_moving_avg.yml
> -t E310_SG1 -F ../uhd40/fpga 2>&1 | tee
>
> rfnoc_image_builder_-y_e310_rfnoc_gamma_image_core_add_fifo_logpwr_keep_one_in_n_moving_avg.yml_2021061201.log
> [INF] Using FPGA directory /opt/uhd40/src/uhd40/fpga
> [INF] Selected device e310
> [INF] Using io_signatures.yml from /opt/uhd40/share/uhd/rfnoc/core.
> [INF] Using e310_bsp.yml from /opt/uhd40/share/uhd/rfnoc/core.
> [INF] Adding block description from addsub.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from axi_ram_fifo.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from axi_ram_fifo_2x64.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from axi_ram_fifo_4x64.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from ddc.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from duc.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from fft_1x64.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from fir_filter.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from fosphor.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from keep_one_in_n.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from logpwr.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from moving_avg.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from null_src_sink.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from radio.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from radio_1x64.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from radio_2x64.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from replay.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from siggen.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from split_stream.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from switchboard.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from vector_iir.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [INF] Adding block description from window.yml
> (/opt/uhd40/share/uhd/rfnoc/blocks).
> [ERR] 1 Unresolved connection(s)
> [ERR]     (fifo0-axi_ram -> _device_-dram)
> [INF]         (('radio0', 'ctrl_port', 'master'),)
> [INF]         (('radio0', 'time_keeper', 'listener'),)
> [INF]         (('radio0', 'x300_radio', 'slave'),)
> [INF]         (('fifo0', 'axi_ram', 'master'),)
> [INF]         (('_device_', 'ctrlport_radio', 'slave'),)
> [INF]         (('_device_', 'time_keeper', 'broadcaster'),)
> [INF]         (('_device_', 'x300_radio', 'master'),)
>
> Thanks in advance,
>
> Martin
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to