wr_streamers_wb

WR Transmission control, status and debug

[version 0x00000001]

-----------------------------------------------------------------
This WB registers allow to diagnose transmission and reception of
data using WR streamers.
In particular, these registers provide access to streamer's
statistics that can be also access from SNMP, if supported.
-----------------------------------------------------------------
Copyright (c) 2016 CERN/BE-CO-HT and CERN/TE-MS-MM

This source file is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any
later version.

This source is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU Lesser General Public License for more
details

You should have received a copy of the GNU Lesser General
Public License along with this source; if not, download it
from http://www.gnu.org/licenses/lgpl-2.1.html
-----------------------------------------------------------------

Contents:

1. Memory map summary
2. HDL symbol
3. Register description
3.1. Version register
3.2. Statistics status and ctrl register
3.3. Statistics status and ctrl register
3.4. Statistics status and ctrl register
3.5. Rx statistics
3.6. Rx statistics
3.7. Tx statistics
3.8. Tx statistics
3.9. Rx statistics
3.10. Rx statistics
3.11. Rx statistics
3.12. Rx statistics
3.13. Rx statistics
3.14. Rx statistics
3.15. Rx statistics
3.16. Rx statistics
3.17. Rx statistics
3.18. Rx statistics
3.19. Tx Config Reg 0
3.20. Tx Config Reg 1
3.21. Tx Config Reg 2
3.22. Tx Config Reg 3
3.23. Tx Config Reg 4
3.24. Tx Config Reg 4
3.25. Rx Config Reg 0
3.26. Rx Config Reg 1
3.27. Rx Config Reg 2
3.28. Rx Config Reg 3
3.29. Rx Config Reg 4
3.30. Rx Config Reg 5
3.31. TxRx Config Override
3.32. DBG Control register
3.33. DBG Data
3.34. Test value
3.35. Reset Register
3.36. Rx statistics
3.37. Rx statistics
3.38. Rx statistics
3.39. Rx statistics
3.40. Rx Config Reg 6

1. Memory map summary

H/W Address Type Name VHDL/Verilog prefix C prefix
0x0 REG Version register wr_streamers_ver VER
0x1 REG Statistics status and ctrl register wr_streamers_sscr1 SSCR1
0x2 REG Statistics status and ctrl register wr_streamers_sscr2 SSCR2
0x3 REG Statistics status and ctrl register wr_streamers_sscr3 SSCR3
0x4 REG Rx statistics wr_streamers_rx_stat0 RX_STAT0
0x5 REG Rx statistics wr_streamers_rx_stat1 RX_STAT1
0x6 REG Tx statistics wr_streamers_tx_stat2 TX_STAT2
0x7 REG Tx statistics wr_streamers_tx_stat3 TX_STAT3
0x8 REG Rx statistics wr_streamers_rx_stat4 RX_STAT4
0x9 REG Rx statistics wr_streamers_rx_stat5 RX_STAT5
0xa REG Rx statistics wr_streamers_rx_stat6 RX_STAT6
0xb REG Rx statistics wr_streamers_rx_stat7 RX_STAT7
0xc REG Rx statistics wr_streamers_rx_stat8 RX_STAT8
0xd REG Rx statistics wr_streamers_rx_stat9 RX_STAT9
0xe REG Rx statistics wr_streamers_rx_stat10 RX_STAT10
0xf REG Rx statistics wr_streamers_rx_stat11 RX_STAT11
0x10 REG Rx statistics wr_streamers_rx_stat12 RX_STAT12
0x11 REG Rx statistics wr_streamers_rx_stat13 RX_STAT13
0x12 REG Tx Config Reg 0 wr_streamers_tx_cfg0 TX_CFG0
0x13 REG Tx Config Reg 1 wr_streamers_tx_cfg1 TX_CFG1
0x14 REG Tx Config Reg 2 wr_streamers_tx_cfg2 TX_CFG2
0x15 REG Tx Config Reg 3 wr_streamers_tx_cfg3 TX_CFG3
0x16 REG Tx Config Reg 4 wr_streamers_tx_cfg4 TX_CFG4
0x17 REG Tx Config Reg 4 wr_streamers_tx_cfg5 TX_CFG5
0x18 REG Rx Config Reg 0 wr_streamers_rx_cfg0 RX_CFG0
0x19 REG Rx Config Reg 1 wr_streamers_rx_cfg1 RX_CFG1
0x1a REG Rx Config Reg 2 wr_streamers_rx_cfg2 RX_CFG2
0x1b REG Rx Config Reg 3 wr_streamers_rx_cfg3 RX_CFG3
0x1c REG Rx Config Reg 4 wr_streamers_rx_cfg4 RX_CFG4
0x1d REG Rx Config Reg 5 wr_streamers_rx_cfg5 RX_CFG5
0x1e REG TxRx Config Override wr_streamers_cfg CFG
0x1f REG DBG Control register wr_streamers_dbg_ctrl DBG_CTRL
0x20 REG DBG Data wr_streamers_dbg_data DBG_DATA
0x21 REG Test value wr_streamers_dummy DUMMY
0x22 REG Reset Register wr_streamers_rstr RSTR
0x23 REG Rx statistics wr_streamers_rx_stat14 RX_STAT14
0x24 REG Rx statistics wr_streamers_rx_stat15 RX_STAT15
0x25 REG Rx statistics wr_streamers_rx_stat16 RX_STAT16
0x26 REG Rx statistics wr_streamers_rx_stat17 RX_STAT17
0x27 REG Rx Config Reg 6 wr_streamers_rx_cfg6 RX_CFG6

2. HDL symbol

wb_adr_i[5:0] Version register:
wb_dat_i[31:0] wr_streamers_ver_id_o[31:0]
wb_dat_o[31:0]  
wb_cyc_i Statistics status and ctrl register:
wb_sel_i[3:0] wr_streamers_sscr1_rst_stats_o
wb_stb_i wr_streamers_sscr1_rst_seq_id_o
wb_we_i wr_streamers_sscr1_snapshot_stats_o
wb_ack_o wr_streamers_sscr1_rx_latency_acc_overflow_i
wb_err_o wr_streamers_sscr1_rst_ts_cyc_i[27:0]
wb_rty_o  
wb_stall_o Statistics status and ctrl register:
wr_streamers_sscr2_rst_ts_tai_lsb_i[31:0]
 
Statistics status and ctrl register:
wr_streamers_sscr3_rst_ts_tai_msb_i[7:0]
 
Rx statistics:
wr_streamers_rx_stat0_rx_latency_max_i[27:0]
 
Rx statistics:
wr_streamers_rx_stat1_rx_latency_min_i[27:0]
 
Tx statistics:
wr_streamers_tx_stat2_tx_sent_cnt_lsb_i[31:0]
 
Tx statistics:
wr_streamers_tx_stat3_tx_sent_cnt_msb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat4_rx_rcvd_cnt_lsb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat5_rx_rcvd_cnt_msb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat6_rx_loss_cnt_lsb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat7_rx_loss_cnt_msb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat8_rx_lost_block_cnt_lsb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat9_rx_lost_block_cnt_msb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat10_rx_latency_acc_lsb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat11_rx_latency_acc_msb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat12_rx_latency_acc_cnt_lsb_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat13_rx_latency_acc_cnt_msb_i[31:0]
 
Tx Config Reg 0:
wr_streamers_tx_cfg0_ethertype_o[15:0]
 
Tx Config Reg 1:
wr_streamers_tx_cfg1_mac_local_lsb_o[31:0]
 
Tx Config Reg 2:
wr_streamers_tx_cfg2_mac_local_msb_o[15:0]
 
Tx Config Reg 3:
wr_streamers_tx_cfg3_mac_target_lsb_o[31:0]
 
Tx Config Reg 4:
wr_streamers_tx_cfg4_mac_target_msb_o[15:0]
 
Tx Config Reg 4:
wr_streamers_tx_cfg5_qtag_ena_o
wr_streamers_tx_cfg5_qtag_vid_o[11:0]
wr_streamers_tx_cfg5_qtag_prio_o[2:0]
 
Rx Config Reg 0:
wr_streamers_rx_cfg0_ethertype_o[15:0]
wr_streamers_rx_cfg0_accept_broadcast_o
wr_streamers_rx_cfg0_filter_remote_o
 
Rx Config Reg 1:
wr_streamers_rx_cfg1_mac_local_lsb_o[31:0]
 
Rx Config Reg 2:
wr_streamers_rx_cfg2_mac_local_msb_o[15:0]
 
Rx Config Reg 3:
wr_streamers_rx_cfg3_mac_remote_lsb_o[31:0]
 
Rx Config Reg 4:
wr_streamers_rx_cfg4_mac_remote_msb_o[15:0]
 
Rx Config Reg 5:
wr_streamers_rx_cfg5_fixed_latency_o[27:0]
 
TxRx Config Override:
wr_streamers_cfg_or_tx_ethtype_o
wr_streamers_cfg_or_tx_mac_loc_o
wr_streamers_cfg_or_tx_mac_tar_o
wr_streamers_cfg_or_tx_qtag_o
wr_streamers_cfg_or_rx_ethertype_o
wr_streamers_cfg_or_rx_mac_loc_o
wr_streamers_cfg_or_rx_mac_rem_o
wr_streamers_cfg_or_rx_acc_broadcast_o
wr_streamers_cfg_or_rx_ftr_remote_o
wr_streamers_cfg_or_rx_fix_lat_o
 
DBG Control register:
wr_streamers_dbg_ctrl_mux_o
wr_streamers_dbg_ctrl_start_byte_o[7:0]
 
DBG Data:
wr_streamers_dbg_data_i[31:0]
 
Test value:
wr_streamers_dummy_dummy_i[31:0]
 
Reset Register:
wr_streamers_rstr_rst_sw_o
 
Rx statistics:
wr_streamers_rx_stat14_rx_buf_overflow_cnt_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat15_rx_late_frames_cnt_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat16_rx_timeout_frames_cnt_i[31:0]
 
Rx statistics:
wr_streamers_rx_stat17_rx_match_frames_cnt_i[31:0]
 
Rx Config Reg 6:
wr_streamers_rx_cfg6_rx_fixed_latency_timeout_o[27:0]

3. Register description

3.1. Version register

HW prefix: wr_streamers_ver
HW address: 0x0
C prefix: VER
C offset: 0x0
31 30 29 28 27 26 25 24
ID[31:24]
23 22 21 20 19 18 17 16
ID[23:16]
15 14 13 12 11 10 9 8
ID[15:8]
7 6 5 4 3 2 1 0
ID[7:0]

3.2. Statistics status and ctrl register

HW prefix: wr_streamers_sscr1
HW address: 0x1
C prefix: SSCR1
C offset: 0x4
31 30 29 28 27 26 25 24
RST_TS_CYC[27:20]
23 22 21 20 19 18 17 16
RST_TS_CYC[19:12]
15 14 13 12 11 10 9 8
RST_TS_CYC[11:4]
7 6 5 4 3 2 1 0
RST_TS_CYC[3:0] RX_LATENCY_ACC_OVERFLOW SNAPSHOT_STATS RST_SEQ_ID RST_STATS

3.3. Statistics status and ctrl register

HW prefix: wr_streamers_sscr2
HW address: 0x2
C prefix: SSCR2
C offset: 0x8
31 30 29 28 27 26 25 24
RST_TS_TAI_LSB[31:24]
23 22 21 20 19 18 17 16
RST_TS_TAI_LSB[23:16]
15 14 13 12 11 10 9 8
RST_TS_TAI_LSB[15:8]
7 6 5 4 3 2 1 0
RST_TS_TAI_LSB[7:0]

3.4. Statistics status and ctrl register

HW prefix: wr_streamers_sscr3
HW address: 0x3
C prefix: SSCR3
C offset: 0xc
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
RST_TS_TAI_MSB[7:0]

3.5. Rx statistics

HW prefix: wr_streamers_rx_stat0
HW address: 0x4
C prefix: RX_STAT0
C offset: 0x10
31 30 29 28 27 26 25 24
- - - - RX_LATENCY_MAX[27:24]
23 22 21 20 19 18 17 16
RX_LATENCY_MAX[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_MAX[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_MAX[7:0]

3.6. Rx statistics

HW prefix: wr_streamers_rx_stat1
HW address: 0x5
C prefix: RX_STAT1
C offset: 0x14
31 30 29 28 27 26 25 24
- - - - RX_LATENCY_MIN[27:24]
23 22 21 20 19 18 17 16
RX_LATENCY_MIN[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_MIN[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_MIN[7:0]

3.7. Tx statistics

HW prefix: wr_streamers_tx_stat2
HW address: 0x6
C prefix: TX_STAT2
C offset: 0x18
31 30 29 28 27 26 25 24
TX_SENT_CNT_LSB[31:24]
23 22 21 20 19 18 17 16
TX_SENT_CNT_LSB[23:16]
15 14 13 12 11 10 9 8
TX_SENT_CNT_LSB[15:8]
7 6 5 4 3 2 1 0
TX_SENT_CNT_LSB[7:0]

3.8. Tx statistics

HW prefix: wr_streamers_tx_stat3
HW address: 0x7
C prefix: TX_STAT3
C offset: 0x1c
31 30 29 28 27 26 25 24
TX_SENT_CNT_MSB[31:24]
23 22 21 20 19 18 17 16
TX_SENT_CNT_MSB[23:16]
15 14 13 12 11 10 9 8
TX_SENT_CNT_MSB[15:8]
7 6 5 4 3 2 1 0
TX_SENT_CNT_MSB[7:0]

3.9. Rx statistics

HW prefix: wr_streamers_rx_stat4
HW address: 0x8
C prefix: RX_STAT4
C offset: 0x20
31 30 29 28 27 26 25 24
RX_RCVD_CNT_LSB[31:24]
23 22 21 20 19 18 17 16
RX_RCVD_CNT_LSB[23:16]
15 14 13 12 11 10 9 8
RX_RCVD_CNT_LSB[15:8]
7 6 5 4 3 2 1 0
RX_RCVD_CNT_LSB[7:0]

3.10. Rx statistics

HW prefix: wr_streamers_rx_stat5
HW address: 0x9
C prefix: RX_STAT5
C offset: 0x24
31 30 29 28 27 26 25 24
RX_RCVD_CNT_MSB[31:24]
23 22 21 20 19 18 17 16
RX_RCVD_CNT_MSB[23:16]
15 14 13 12 11 10 9 8
RX_RCVD_CNT_MSB[15:8]
7 6 5 4 3 2 1 0
RX_RCVD_CNT_MSB[7:0]

3.11. Rx statistics

HW prefix: wr_streamers_rx_stat6
HW address: 0xa
C prefix: RX_STAT6
C offset: 0x28
31 30 29 28 27 26 25 24
RX_LOSS_CNT_LSB[31:24]
23 22 21 20 19 18 17 16
RX_LOSS_CNT_LSB[23:16]
15 14 13 12 11 10 9 8
RX_LOSS_CNT_LSB[15:8]
7 6 5 4 3 2 1 0
RX_LOSS_CNT_LSB[7:0]

3.12. Rx statistics

HW prefix: wr_streamers_rx_stat7
HW address: 0xb
C prefix: RX_STAT7
C offset: 0x2c
31 30 29 28 27 26 25 24
RX_LOSS_CNT_MSB[31:24]
23 22 21 20 19 18 17 16
RX_LOSS_CNT_MSB[23:16]
15 14 13 12 11 10 9 8
RX_LOSS_CNT_MSB[15:8]
7 6 5 4 3 2 1 0
RX_LOSS_CNT_MSB[7:0]

3.13. Rx statistics

HW prefix: wr_streamers_rx_stat8
HW address: 0xc
C prefix: RX_STAT8
C offset: 0x30
31 30 29 28 27 26 25 24
RX_LOST_BLOCK_CNT_LSB[31:24]
23 22 21 20 19 18 17 16
RX_LOST_BLOCK_CNT_LSB[23:16]
15 14 13 12 11 10 9 8
RX_LOST_BLOCK_CNT_LSB[15:8]
7 6 5 4 3 2 1 0
RX_LOST_BLOCK_CNT_LSB[7:0]

3.14. Rx statistics

HW prefix: wr_streamers_rx_stat9
HW address: 0xd
C prefix: RX_STAT9
C offset: 0x34
31 30 29 28 27 26 25 24
RX_LOST_BLOCK_CNT_MSB[31:24]
23 22 21 20 19 18 17 16
RX_LOST_BLOCK_CNT_MSB[23:16]
15 14 13 12 11 10 9 8
RX_LOST_BLOCK_CNT_MSB[15:8]
7 6 5 4 3 2 1 0
RX_LOST_BLOCK_CNT_MSB[7:0]

3.15. Rx statistics

HW prefix: wr_streamers_rx_stat10
HW address: 0xe
C prefix: RX_STAT10
C offset: 0x38
31 30 29 28 27 26 25 24
RX_LATENCY_ACC_LSB[31:24]
23 22 21 20 19 18 17 16
RX_LATENCY_ACC_LSB[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_ACC_LSB[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_ACC_LSB[7:0]

3.16. Rx statistics

HW prefix: wr_streamers_rx_stat11
HW address: 0xf
C prefix: RX_STAT11
C offset: 0x3c
31 30 29 28 27 26 25 24
RX_LATENCY_ACC_MSB[31:24]
23 22 21 20 19 18 17 16
RX_LATENCY_ACC_MSB[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_ACC_MSB[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_ACC_MSB[7:0]

3.17. Rx statistics

HW prefix: wr_streamers_rx_stat12
HW address: 0x10
C prefix: RX_STAT12
C offset: 0x40
31 30 29 28 27 26 25 24
RX_LATENCY_ACC_CNT_LSB[31:24]
23 22 21 20 19 18 17 16
RX_LATENCY_ACC_CNT_LSB[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_ACC_CNT_LSB[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_ACC_CNT_LSB[7:0]

3.18. Rx statistics

HW prefix: wr_streamers_rx_stat13
HW address: 0x11
C prefix: RX_STAT13
C offset: 0x44
31 30 29 28 27 26 25 24
RX_LATENCY_ACC_CNT_MSB[31:24]
23 22 21 20 19 18 17 16
RX_LATENCY_ACC_CNT_MSB[23:16]
15 14 13 12 11 10 9 8
RX_LATENCY_ACC_CNT_MSB[15:8]
7 6 5 4 3 2 1 0
RX_LATENCY_ACC_CNT_MSB[7:0]

3.19. Tx Config Reg 0

HW prefix: wr_streamers_tx_cfg0
HW address: 0x12
C prefix: TX_CFG0
C offset: 0x48
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
ETHERTYPE[15:8]
7 6 5 4 3 2 1 0
ETHERTYPE[7:0]

3.20. Tx Config Reg 1

HW prefix: wr_streamers_tx_cfg1
HW address: 0x13
C prefix: TX_CFG1
C offset: 0x4c
31 30 29 28 27 26 25 24
MAC_LOCAL_LSB[31:24]
23 22 21 20 19 18 17 16
MAC_LOCAL_LSB[23:16]
15 14 13 12 11 10 9 8
MAC_LOCAL_LSB[15:8]
7 6 5 4 3 2 1 0
MAC_LOCAL_LSB[7:0]

3.21. Tx Config Reg 2

HW prefix: wr_streamers_tx_cfg2
HW address: 0x14
C prefix: TX_CFG2
C offset: 0x50
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
MAC_LOCAL_MSB[15:8]
7 6 5 4 3 2 1 0
MAC_LOCAL_MSB[7:0]

3.22. Tx Config Reg 3

HW prefix: wr_streamers_tx_cfg3
HW address: 0x15
C prefix: TX_CFG3
C offset: 0x54
31 30 29 28 27 26 25 24
MAC_TARGET_LSB[31:24]
23 22 21 20 19 18 17 16
MAC_TARGET_LSB[23:16]
15 14 13 12 11 10 9 8
MAC_TARGET_LSB[15:8]
7 6 5 4 3 2 1 0
MAC_TARGET_LSB[7:0]

3.23. Tx Config Reg 4

HW prefix: wr_streamers_tx_cfg4
HW address: 0x16
C prefix: TX_CFG4
C offset: 0x58
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
MAC_TARGET_MSB[15:8]
7 6 5 4 3 2 1 0
MAC_TARGET_MSB[7:0]

3.24. Tx Config Reg 4

HW prefix: wr_streamers_tx_cfg5
HW address: 0x17
C prefix: TX_CFG5
C offset: 0x5c
31 30 29 28 27 26 25 24
- - - - - QTAG_PRIO[2:0]
23 22 21 20 19 18 17 16
- - - - QTAG_VID[11:8]
15 14 13 12 11 10 9 8
QTAG_VID[7:0]
7 6 5 4 3 2 1 0
- - - - - - - QTAG_ENA

3.25. Rx Config Reg 0

HW prefix: wr_streamers_rx_cfg0
HW address: 0x18
C prefix: RX_CFG0
C offset: 0x60
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - FILTER_REMOTE ACCEPT_BROADCAST
15 14 13 12 11 10 9 8
ETHERTYPE[15:8]
7 6 5 4 3 2 1 0
ETHERTYPE[7:0]

3.26. Rx Config Reg 1

HW prefix: wr_streamers_rx_cfg1
HW address: 0x19
C prefix: RX_CFG1
C offset: 0x64
31 30 29 28 27 26 25 24
MAC_LOCAL_LSB[31:24]
23 22 21 20 19 18 17 16
MAC_LOCAL_LSB[23:16]
15 14 13 12 11 10 9 8
MAC_LOCAL_LSB[15:8]
7 6 5 4 3 2 1 0
MAC_LOCAL_LSB[7:0]

3.27. Rx Config Reg 2

HW prefix: wr_streamers_rx_cfg2
HW address: 0x1a
C prefix: RX_CFG2
C offset: 0x68
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
MAC_LOCAL_MSB[15:8]
7 6 5 4 3 2 1 0
MAC_LOCAL_MSB[7:0]

3.28. Rx Config Reg 3

HW prefix: wr_streamers_rx_cfg3
HW address: 0x1b
C prefix: RX_CFG3
C offset: 0x6c
31 30 29 28 27 26 25 24
MAC_REMOTE_LSB[31:24]
23 22 21 20 19 18 17 16
MAC_REMOTE_LSB[23:16]
15 14 13 12 11 10 9 8
MAC_REMOTE_LSB[15:8]
7 6 5 4 3 2 1 0
MAC_REMOTE_LSB[7:0]

3.29. Rx Config Reg 4

HW prefix: wr_streamers_rx_cfg4
HW address: 0x1c
C prefix: RX_CFG4
C offset: 0x70
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
MAC_REMOTE_MSB[15:8]
7 6 5 4 3 2 1 0
MAC_REMOTE_MSB[7:0]

3.30. Rx Config Reg 5

HW prefix: wr_streamers_rx_cfg5
HW address: 0x1d
C prefix: RX_CFG5
C offset: 0x74
31 30 29 28 27 26 25 24
- - - - FIXED_LATENCY[27:24]
23 22 21 20 19 18 17 16
FIXED_LATENCY[23:16]
15 14 13 12 11 10 9 8
FIXED_LATENCY[15:8]
7 6 5 4 3 2 1 0
FIXED_LATENCY[7:0]

3.31. TxRx Config Override

HW prefix: wr_streamers_cfg
HW address: 0x1e
C prefix: CFG
C offset: 0x78
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - OR_RX_FIX_LAT OR_RX_FTR_REMOTE OR_RX_ACC_BROADCAST OR_RX_MAC_REM OR_RX_MAC_LOC OR_RX_ETHERTYPE
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OR_TX_QTAG OR_TX_MAC_TAR OR_TX_MAC_LOC OR_TX_ETHTYPE

3.32. DBG Control register

HW prefix: wr_streamers_dbg_ctrl
HW address: 0x1f
C prefix: DBG_CTRL
C offset: 0x7c

This register is meant to control simple debugging of transmitted or received data.
It allows to sniff a 32-bit word at a configurable offset from received or transmitted data.

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
START_BYTE[7:0]
7 6 5 4 3 2 1 0
- - - - - - - MUX

3.33. DBG Data

HW prefix: wr_streamers_dbg_data
HW address: 0x20
C prefix: DBG_DATA
C offset: 0x80
31 30 29 28 27 26 25 24
DBG_DATA[31:24]
23 22 21 20 19 18 17 16
DBG_DATA[23:16]
15 14 13 12 11 10 9 8
DBG_DATA[15:8]
7 6 5 4 3 2 1 0
DBG_DATA[7:0]

3.34. Test value

HW prefix: wr_streamers_dummy
HW address: 0x21
C prefix: DUMMY
C offset: 0x84
31 30 29 28 27 26 25 24
DUMMY[31:24]
23 22 21 20 19 18 17 16
DUMMY[23:16]
15 14 13 12 11 10 9 8
DUMMY[15:8]
7 6 5 4 3 2 1 0
DUMMY[7:0]

3.35. Reset Register

HW prefix: wr_streamers_rstr
HW address: 0x22
C prefix: RSTR
C offset: 0x88
31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - RST_SW

3.36. Rx statistics

HW prefix: wr_streamers_rx_stat14
HW address: 0x23
C prefix: RX_STAT14
C offset: 0x8c
31 30 29 28 27 26 25 24
RX_BUF_OVERFLOW_CNT[31:24]
23 22 21 20 19 18 17 16
RX_BUF_OVERFLOW_CNT[23:16]
15 14 13 12 11 10 9 8
RX_BUF_OVERFLOW_CNT[15:8]
7 6 5 4 3 2 1 0
RX_BUF_OVERFLOW_CNT[7:0]

3.37. Rx statistics

HW prefix: wr_streamers_rx_stat15
HW address: 0x24
C prefix: RX_STAT15
C offset: 0x90
31 30 29 28 27 26 25 24
RX_LATE_FRAMES_CNT[31:24]
23 22 21 20 19 18 17 16
RX_LATE_FRAMES_CNT[23:16]
15 14 13 12 11 10 9 8
RX_LATE_FRAMES_CNT[15:8]
7 6 5 4 3 2 1 0
RX_LATE_FRAMES_CNT[7:0]

3.38. Rx statistics

HW prefix: wr_streamers_rx_stat16
HW address: 0x25
C prefix: RX_STAT16
C offset: 0x94
31 30 29 28 27 26 25 24
RX_TIMEOUT_FRAMES_CNT[31:24]
23 22 21 20 19 18 17 16
RX_TIMEOUT_FRAMES_CNT[23:16]
15 14 13 12 11 10 9 8
RX_TIMEOUT_FRAMES_CNT[15:8]
7 6 5 4 3 2 1 0
RX_TIMEOUT_FRAMES_CNT[7:0]

3.39. Rx statistics

HW prefix: wr_streamers_rx_stat17
HW address: 0x26
C prefix: RX_STAT17
C offset: 0x98
31 30 29 28 27 26 25 24
RX_MATCH_FRAMES_CNT[31:24]
23 22 21 20 19 18 17 16
RX_MATCH_FRAMES_CNT[23:16]
15 14 13 12 11 10 9 8
RX_MATCH_FRAMES_CNT[15:8]
7 6 5 4 3 2 1 0
RX_MATCH_FRAMES_CNT[7:0]

3.40. Rx Config Reg 6

HW prefix: wr_streamers_rx_cfg6
HW address: 0x27
C prefix: RX_CFG6
C offset: 0x9c
31 30 29 28 27 26 25 24
- - - - RX_FIXED_LATENCY_TIMEOUT[27:24]
23 22 21 20 19 18 17 16
RX_FIXED_LATENCY_TIMEOUT[23:16]
15 14 13 12 11 10 9 8
RX_FIXED_LATENCY_TIMEOUT[15:8]
7 6 5 4 3 2 1 0
RX_FIXED_LATENCY_TIMEOUT[7:0]