|
|
# WR Streamer statistics:
|
|
|
|
|
|
The xrtx\_streamers\_stats module included in the
|
|
|
[xwr-streamer](/WR-Streamers) module produces performance-related data
|
|
|
[`xwr-streamer`](/WR-Streamers) module produces performance-related data
|
|
|
that can be used for advanced diagnostics and monitoring.
|
|
|
The module generates information on streamer module function in terms
|
|
|
of:
|
... | ... | @@ -18,6 +18,38 @@ of: |
|
|
The streamer interface outputs can then be written to wishbone registers
|
|
|
but are also available through SNMP.
|
|
|
|
|
|
## Module structure
|
|
|
|
|
|
### Interface of `xrtx_streamers_stats`
|
|
|
|
|
|
- `g_streamers_op_mode` - Generic to specify whether the stats module
|
|
|
needs to collect information from (set as approriate to) `TX_ONLY`,
|
|
|
`RX_ONLY`, or `TX_AND_RX`.
|
|
|
- `g_cnt_width` - Width of frame counters (50-bit default should
|
|
|
sufficient)
|
|
|
- `g_acc_width` - Width of cumulated latency counter (64-bit Default
|
|
|
is also the maximum possible value)
|
|
|
|
|
|
### Input from Transceiver
|
|
|
|
|
|
- `sent_frame_i` - 1 pulse signal when frame is successfuly sent
|
|
|
(Provided by Tx streamer)
|
|
|
- `rcvd_frame_i` - 1 pulse signal when frame is successfuly received
|
|
|
(Provided by Rx streamer)
|
|
|
- `lost_block_i` - 1 pulse signal when a block is lost (Provided by
|
|
|
Rx)
|
|
|
- `lost_frame_i` - 1 pulse signal when a frame is lost (Provided by
|
|
|
Rx)
|
|
|
- `lost_frames_cnt_i` - Number of frames lost (Provided by Rx)
|
|
|
- `rcvd_latency_i` - Latency of frame received (Provided by Rx)
|
|
|
- `rcvd_latency_valid_i` - 1 pulse signal when latency value is valid
|
|
|
(Provided by Rx)
|
|
|
|
|
|
### Statistics control
|
|
|
|
|
|
- `reset_stats_i` -
|
|
|
- `snapshot_ena_i`
|
|
|
|
|
|
The statistics module can be reset remotely via the reset\_stats\_i
|
|
|
input port. This input can be written to via a wishbone register as is
|
|
|
the case in the xwr\_transmission module.
|
... | ... | |