13#include <boost/assign/list_of.hpp>
16namespace uhd {
namespace rfnoc {
20static const size_t NOC_SHELL_COMPAT_MAJOR = 5;
21static const size_t NOC_SHELL_COMPAT_MINOR = 1;
23static const size_t MAX_PACKET_SIZE = 8000;
24static const size_t DEFAULT_PACKET_SIZE = 1456;
27static const size_t BYTES_PER_LINE = 8;
30static const size_t DEFAULT_FC_XBAR_RESPONSE_FREQ = 8;
32static const size_t DEFAULT_FC_RX_RESPONSE_FREQ = 64;
34static const size_t DEFAULT_FC_TX_RESPONSE_FREQ = 8;
41static const double DEFAULT_FC_RX_SW_BUFF_FULL_FACTOR = 0.80;
44static const uint32_t SR_FLOW_CTRL_BYTES_PER_ACK = 1;
45static const uint32_t SR_FLOW_CTRL_WINDOW_SIZE = 2;
46static const uint32_t SR_FLOW_CTRL_EN = 3;
47static const uint32_t SR_ERROR_POLICY = 4;
48static const uint32_t SR_BLOCK_SID = 5;
49static const uint32_t SR_NEXT_DST_SID = 6;
50static const uint32_t SR_RESP_IN_DST_SID = 7;
51static const uint32_t SR_RESP_OUT_DST_SID = 8;
52static const uint32_t SR_FLOW_CTRL_PKT_LIMIT = 9;
54static const uint32_t SR_READBACK_ADDR = 124;
55static const uint32_t SR_READBACK = 127;
57static const uint32_t SR_CLEAR_RX_FC = 125;
58static const uint32_t SR_CLEAR_TX_FC = 126;
72static const uint32_t AXI_WRAPPER_BASE = 128;
73static const uint32_t AXIS_CONFIG_BUS =
75static const uint32_t AXIS_CONFIG_BUS_TLAST =
78static const size_t CMD_FIFO_SIZE = 256;
79static const size_t MAX_CMD_PKT_SIZE = 3;
83 boost::assign::map_list_of(
"AXIS_CONFIG_BUS", AXIS_CONFIG_BUS)(
84 "AXIS_CONFIG_BUS_TLAST", AXIS_CONFIG_BUS_TLAST);
87static const size_t MAX_NUM_BLOCKS = 16;
90static const size_t ANY_PORT = size_t(~0);
91static const size_t MAX_NUM_PORTS = 16;
94static const std::string VALID_BLOCKNAME_REGEX =
"[A-Za-z][A-Za-z0-9_]*";
95static const std::string VALID_BLOCKID_REGEX =
96 "(?:(\\d+)(?:/))?([A-Za-z][A-Za-z0-9]*)(?:(?:#)(\\d\\d?))?";
constexpr uint16_t RFNOC_PROTO_VER
Definition: constants.hpp:18
settingsbus_reg_t
Settings register readback.
Definition: constants.hpp:61
@ SR_READBACK_REG_MTU
Definition: constants.hpp:65
@ SR_READBACK_REG_BLOCKPORT_SIDS
Definition: constants.hpp:66
@ SR_READBACK_REG_ID
Definition: constants.hpp:62
@ SR_READBACK_COMPAT
Definition: constants.hpp:68
@ SR_READBACK_REG_FIFOSIZE
Definition: constants.hpp:64
@ SR_READBACK_REG_USER
Definition: constants.hpp:67
@ SR_READBACK_REG_GLOBAL_PARAMS
Definition: constants.hpp:63
Definition: build_info.hpp:12