masterfip_pts_csr

FMC masterFIP PTS registers

Wishbone slave for FMC masterFIP PTS

Contents:

1. Memory map summary
2. HDL symbol
3. Register description
3.1. rst
3.2. ext sync
3.3. PTS options
3.4. fieldrive status
3.5. fieldrive rx not carrier detect counter
3.6. fieldrive tx error counter

1. Memory map summary

H/W Address Type Name VHDL/Verilog prefix C prefix
0x0 REG rst mfpts_rst RST
0x1 REG ext sync mfpts_ext_sync EXT_SYNC
0x2 REG PTS options mfpts_tx_corrupt TX_CORRUPT
0x3 REG fieldrive status mfpts_fd FD
0x4 REG fieldrive rx not carrier detect counter mfpts_fd_rxcdn_cnt FD_RXCDN_CNT
0x5 REG fieldrive tx error counter mfpts_fd_txerr_cnt FD_TXERR_CNT

2. HDL symbol

rst_n_i rst:
clk_sys_i mfpts_rst_core_o
wb_adr_i[2:0]  
wb_dat_i[31:0] ext sync:
wb_dat_o[31:0] mfpts_ext_sync_term_en_o
wb_cyc_i mfpts_ext_sync_dir_o
wb_sel_i[3:0] mfpts_ext_sync_oe_o
wb_stb_i mfpts_ext_sync_output_value_o
wb_we_i mfpts_ext_sync_fpga_io_dir_o
wb_ack_o mfpts_ext_sync_raw_input_i
wb_stall_o  
PTS options:
mfpts_tx_corrupt_enable_o
 
fieldrive status:
mfpts_fd_wdgn_i
mfpts_fd_wdgn_latch_i
mfpts_fd_cd_n_i
mfpts_fd_txer_i
 
fieldrive rx not carrier detect counter:
mfpts_fd_rxcdn_cnt_i[31:0]
 
fieldrive tx error counter:
mfpts_fd_txerr_cnt_i[31:0]

3. Register description

3.1. rst

HW prefix: mfpts_rst
HW address: 0x0
C prefix: RST
C offset: 0x0

software reset of the masterFIP core

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
- - - - - - - CORE

3.2. ext sync

HW prefix: mfpts_ext_sync
HW address: 0x1
C prefix: EXT_SYNC
C offset: 0x4
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
- - RAW_INPUT FPGA_IO_DIR OUTPUT_VALUE OE DIR TERM_EN

3.3. PTS options

HW prefix: mfpts_tx_corrupt
HW address: 0x2
C prefix: TX_CORRUPT
C offset: 0x8
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
- - - - - - - ENABLE

3.4. fieldrive status

HW prefix: mfpts_fd
HW address: 0x3
C prefix: FD
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
- - - - TXER CD_N WDGN_LATCH WDGN

3.5. fieldrive rx not carrier detect counter

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

3.6. fieldrive tx error counter

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