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. ext sync raw input
3.4. PTS options
3.5. fieldrive status
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 ext sync raw input mfpts_ext_sync_raw_input EXT_SYNC_RAW_INPUT
0x3 REG PTS options mfpts_tx_corrupt TX_CORRUPT
0x4 REG fieldrive status mfpts_fd FD
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_p_cnt_rst_o
wb_ack_o mfpts_ext_sync_fpga_io_dir_o
wb_stall_o  
ext sync raw input:
mfpts_ext_sync_raw_input_i
 
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 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
- - - - - - FPGA_IO_DIR P_CNT_RST
7 6 5 4 3 2 1 0
- - - - OUTPUT_VALUE OE DIR TERM_EN

3.3. ext sync raw input

HW prefix: mfpts_ext_sync_raw_input
HW address: 0x2
C prefix: EXT_SYNC_RAW_INPUT
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
- - - - - - - EXT_SYNC_RAW_INPUT

3.4. PTS options

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

3.5. fieldrive status

HW prefix: mfpts_fd
HW address: 0x4
C prefix: FD
C offset: 0x10
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.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]