USRP Hardware Driver and Device Manual Version: 4.10.0.0_release
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
16
17
19
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
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
std::shared_ptr< noc_block_base > sptr
Definition noc_block_base.hpp:44
std::shared_ptr< rfnoc_graph > sptr
Definition rfnoc_graph.hpp:40
#define UHD_API
Definition config.h:87
Definition dram_helper.hpp:18
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_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)