#include <uhd/rfnoc/graph.hpp>
|
virtual void | connect (const block_id_t &src_block, size_t src_block_port, const block_id_t &dst_block, size_t dst_block_port, const size_t pkt_size=0)=0 |
|
virtual void | connect (const block_id_t &src_block, const block_id_t &dst_block)=0 |
|
virtual void | connect_src (const block_id_t &src_block, const size_t src_block_port, const uhd::sid_t dst_sid, const size_t buf_size_dst_bytes, const size_t pkt_size_)=0 |
|
virtual void | connect_sink (const block_id_t &sink_block, const size_t dst_block_port, const size_t bytes_per_ack)=0 |
|
virtual std::string | get_name () const =0 |
|
◆ sptr
◆ connect() [1/2]
virtual void uhd::rfnoc::graph::connect |
( |
const block_id_t & |
src_block, |
|
|
size_t |
src_block_port, |
|
|
const block_id_t & |
dst_block, |
|
|
size_t |
dst_block_port, |
|
|
const size_t |
pkt_size = 0 |
|
) |
| |
|
pure virtual |
Connect a RFNOC block with block ID src_block
to another with block ID dst_block
.
This will:
- Check if this connection is valid (IO signatures, see if types match)
- Configure the flow control for the blocks
- Configure SID for the upstream block
- Register the upstream block in the downstream block
◆ connect() [2/2]
virtual void uhd::rfnoc::graph::connect |
( |
const block_id_t & |
src_block, |
|
|
const block_id_t & |
dst_block |
|
) |
| |
|
pure virtual |
Shorthand for connect().
Using default ports for both source and destination.
◆ connect_sink()
virtual void uhd::rfnoc::graph::connect_sink |
( |
const block_id_t & |
sink_block, |
|
|
const size_t |
dst_block_port, |
|
|
const size_t |
bytes_per_ack |
|
) |
| |
|
pure virtual |
Anonymous connection
Danger, danger. You use this, you know what you're doing.
- Parameters
-
sink_block | Sink block ID |
dst_block_port | Destination (sink) block port |
bytes_per_ack | Flow control frequency in bytes |
◆ connect_src()
virtual void uhd::rfnoc::graph::connect_src |
( |
const block_id_t & |
src_block, |
|
|
const size_t |
src_block_port, |
|
|
const uhd::sid_t |
dst_sid, |
|
|
const size_t |
buf_size_dst_bytes, |
|
|
const size_t |
pkt_size_ |
|
) |
| |
|
pure virtual |
Anonymous connection.
Danger, danger. You use this, you know what you're doing.
- Parameters
-
src_block | Source block ID |
src_block_port | Source block port |
dst_sid | SID to route traffic to |
buf_size_dst_bytes | Destination window buffer in bytes |
◆ get_name()
virtual std::string uhd::rfnoc::graph::get_name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: