| USRP Hardware Driver and Device Manual Version: 4.10.0.0 UHD and USRP Manual |

Loading...
Searching...
No Matches
dram_helper.hpp
Go to the documentation of this file.
1//
2// Copyright 2025 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
11#pragma once
12
13#include <uhd/rfnoc_graph.hpp>
14
15#include <uhd/rfnoc/replay_block_control.hpp>
16
17
18 namespace uhd::rfnoc::dram {
19
40 UHD_API void upload(rfnoc_graph::sptr graph,
41 const void* buff,
42 const size_t nsamps,
43 const std::string& cpu_fmt,
44 const std::string& otw_fmt = "sc16",
45 replay_block_control::sptr replay = nullptr,
46 size_t port = 0,
47 size_t offset = 0);
48
68 UHD_API void download(rfnoc_graph::sptr graph,
69 const void* buff,
70 const size_t nsamps,
71 const std::string& cpu_fmt,
72 const std::string& otw_fmt = "sc16",
73 replay_block_control::sptr replay = nullptr,
74 size_t port = 0,
75 size_t offset = 0);
76} // namespace uhd::rfnoc::dram
uhd::rfnoc::noc_block_base::sptr
std::shared_ptr< noc_block_base > sptr
Definition noc_block_base.hpp:44
uhd::rfnoc::rfnoc_graph::sptr
std::shared_ptr< rfnoc_graph > sptr
Definition rfnoc_graph.hpp:40
UHD_API
#define UHD_API
Definition config.h:87
uhd::rfnoc::dram
Definition dram_helper.hpp:18
uhd::rfnoc::dram::upload
UHD_API void upload(rfnoc_graph::sptr graph, const void *buff, const size_t nsamps, const std::string &cpu_fmt, const std::string &otw_fmt="sc16", replay_block_control::sptr replay=nullptr, size_t port=0, size_t offset=0)
uhd::rfnoc::dram::download
UHD_API void download(rfnoc_graph::sptr graph, const void *buff, const size_t nsamps, const std::string &cpu_fmt, const std::string &otw_fmt="sc16", replay_block_control::sptr replay=nullptr, size_t port=0, size_t offset=0)
replay_block_control.hpp
rfnoc_graph.hpp