aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/rfnoc/noc_shell_regs.vh
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/lib/rfnoc/noc_shell_regs.vh')
-rw-r--r--fpga/usrp3/lib/rfnoc/noc_shell_regs.vh25
1 files changed, 25 insertions, 0 deletions
diff --git a/fpga/usrp3/lib/rfnoc/noc_shell_regs.vh b/fpga/usrp3/lib/rfnoc/noc_shell_regs.vh
new file mode 100644
index 000000000..a81bd4119
--- /dev/null
+++ b/fpga/usrp3/lib/rfnoc/noc_shell_regs.vh
@@ -0,0 +1,25 @@
+ // Registers 0 - 127 for NoC Shell
+ localparam [7:0] SR_FLOW_CTRL_BYTES_PER_ACK = 1;
+ localparam [7:0] SR_FLOW_CTRL_WINDOW_SIZE = 2;
+ localparam [7:0] SR_FLOW_CTRL_EN = 3;
+ localparam [7:0] SR_ERROR_POLICY = 4;
+ localparam [7:0] SR_SRC_SID = 5;
+ localparam [7:0] SR_NEXT_DST_SID = 6;
+ localparam [7:0] SR_RESP_IN_DST_SID = 7;
+ localparam [7:0] SR_RESP_OUT_DST_SID = 8;
+ localparam [7:0] SR_FLOW_CTRL_PKT_LIMIT = 9;
+ localparam [7:0] SR_RB_ADDR_USER = 124;
+ localparam [7:0] SR_CLEAR_RX_FC = 125;
+ localparam [7:0] SR_CLEAR_TX_FC = 126;
+ localparam [7:0] SR_RB_ADDR = 127;
+ // Registers 128-255 for users
+ localparam [7:0] SR_USER_REG_BASE = 128;
+
+ // NoC Shell readback registers
+ localparam [7:0] RB_NOC_ID = 0;
+ localparam [7:0] RB_GLOBAL_PARAMS = 1;
+ localparam [7:0] RB_FIFOSIZE = 2;
+ localparam [7:0] RB_MTU = 3;
+ localparam [7:0] RB_BLOCK_PORT_SIDS = 4;
+ localparam [7:0] RB_USER_RB_DATA = 5;
+ localparam [7:0] RB_NOC_SHELL_COMPAT_NUM = 6;