Register maps
In this section, the control and status register definitions of each gateware design in the dogma system are listed. First, the registers of the dogma core functionalities (device status and control registers, Ethernet interface settings, doglink registers) that are present in most or all of the modules are explained. Next up are the registers of the unified readout system (UR) for the TDC devices and then, module-specific register definitions follow.
Note: Every subsystem has its own namespace that needs to be prepended to the register names in the tables (e.g. DOG_ for the dogma base registers).
Dogma base registers
The dogma base registers are present in all dogma designs (dogs):
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x0000_0000 |
SYS_RESET |
s/c |
[0] FPGA reload from flash (reboot)
[8] clear statistics counters
|
0x0000_0010 |
UID1 |
r/o |
HW_UID[63:32] |
0x0000_0011 |
UID0 |
r/o |
HW_UID[31:0] |
0x0000_0012 |
HW_INFO |
r/o |
[31:16] hardware module identifier
[15:0] gateware version identifier
|
0x0000_0013 |
COMPILE_TIME |
r/o |
32 bit unix timestamp from gateware compilation |
0x0000_0014 |
TEMPERATURE |
r/o |
[23:16] die temperature
[11:0] temperature sensor value
|
0x0000_0018 |
SYSTEM_UPTIME |
r/o |
time since last reboot
33.554432ms per LSB
|
0x0000_0020 |
ADDR |
r/w |
[23:0] 24 bit unique dog address
(default value 0x000000 is ignored)
|
0x0000_0021 |
MC_ADDR |
r/w |
[23:0] 24 bit dog multicast address |
0x0000_0024 |
LEDS_CTRL |
r/w |
[0] Disable LEDs | [1] Party mode |
0x0000_0025 |
USR_SPI_DSBL_CS |
r/w |
[7:0] Disable CS signal activity per SPI channel |
0x0000_0026 |
PLL_CTRL |
r/w |
[2] pll reset
[1] pll force enable
[0] pll fallback mode
|
0x1000_0000 |
PERIPH_SPI |
r/w |
SPI base address |
0x1000_0400 |
PERIPH_I2C |
r/w |
I2C base address |
0x1000_0800 |
PERIPH_USPI |
r/w |
User SPI base address |
0x2000_0000 |
ETH_MAC0 |
r/o |
Device MAC (MSBs) |
0x2000_0001 |
ETH_MAC1 |
r/o |
Device MAC (LSBs) |
0x2000_0002 |
ETH_IP |
r/o |
Actual IP address |
0x2000_0003 |
ETH_SUBNETMASK |
r/o |
Actual subnet mask |
0x2000_0010 |
ETH_STATIC_IP |
r/w |
Static IP address |
0x2000_0011 |
ETH_STATIC_SUBNETMASK |
r/w |
Static subnet mask |
0x2000_0020 |
ETH_MULTICAST0 |
r/w |
Device multicast address 0 |
0x2000_0021 |
ETH_MULTICAST1 |
r/w |
Device multicast address 1 |
0x2000_0022 |
ETH_MULTICAST2 |
r/w |
Device multicast address 2 |
0x2000_0023 |
ETH_MULTICAST3 |
r/w |
Device multicast address 3 |
0x2000_0024 |
ETH_MULTICAST4 |
r/w |
Device multicast address 4 |
0x2000_0025 |
ETH_MULTICAST5 |
r/w |
Device multicast address 5 |
0x2000_0026 |
ETH_MULTICAST6 |
r/w |
Device multicast address 6 |
0x2000_0027 |
ETH_MULTICAST7 |
r/w |
Device multicast address 7 |
Dogma uplink (doglink) registers
Registers of the dogma uplink (aka “the doglink”) module:
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x30000000 |
VERSION |
r/o |
Version number of Doglink |
0x30000001 |
STATUS |
r/o |
[0] RX active (received first dogtime; 4th step)
[1] RX established (found sync between clock and data; 3rd step)
[2] TX active (all PLLs locked; 2nd step)
[3] RX clock recovered (1st step)
|
0x30000002 |
INIT_CTR |
r/o |
Counts up when link is established |
0x30000003 |
CLKREC_CTR |
r/o |
Counts up when rx clock becomes stable after instability |
0x30100000 |
UPTIME |
r/o |
time since dogma uplink was established
33.554432ms per LSB
|
0x30100001 |
RX_CTR |
r/o |
Counts up when any trigger arrives on doglink |
0x30100002 |
TX_CTR |
r/o |
Counts up when any trigger is sent on doglink |
0x30100003 |
SYNC_CTR |
r/o |
Counts up when the doglink resyncs (should only happen once in a sane system) |
0x31000000 |
TRG_REJ_CTR |
r/o |
Counts up when a trigger gets rejected |
0x31000001 |
TRG_FIFO_CNT |
r/o |
Number of entries in trigger fifo (current maximum is 4) |
0x50000000 |
TRG_REQ_CTR |
r/o |
Number of sent trigger requests |
0x50000800 |
TRG_REQ_EN_MAP |
r/w |
Enable map for trigger request inputs[31:0]:
hub design: trigger request from downlink[i]
tdc dog design: hitflag[i]
|
Unified Readout (UR) registers
The unified readout (UR) module/ architecture is our attempt to build a generic readout architecture that can accommodate or adjust to any TDC core/ data source and provide a standardized readout interface and data format across our modules and designs. It is currently included in all our TDC devices.
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x40000000 |
VERSION |
r/o |
Unified Readout version |
0x40000001 |
NUM_CHANNELS |
r/o |
Number of readout channels |
0x40000010 |
CH_DIS0 |
r/w |
Input disable channels 1-32 |
0x40000011 |
CH_DIS1 |
r/w |
Input disable channels 33-64 |
0x40000012 |
CH_DIS2 |
r/w |
Input disable channels 65-96 |
0x40000013 |
CH_DIS3 |
r/w |
Input disable channels 97-128 |
0x40000014 |
CH_INV0 |
r/w |
Input invert channels 1-32 |
0x40000015 |
CH_INV1 |
r/w |
Input invert channels 33-64 |
0x40000016 |
CH_INV2 |
r/w |
Input invert channels 65-96 |
0x40000017 |
CH_INV3 |
r/w |
Input invert channels 97-128 |
0x40000018 |
TRIG_WIN_PRE |
r/w |
[18:0] Trigger window pre (LHS of interval). 150 MHz |
0x40000019 |
TRIG_WIN_POST |
r/w |
[18:0] Trigger window post (RHS of interval). 150 MHz |
0x4000001a |
RESET_COUNTERS |
r/w |
Reset counters |
0x40100000 |
HIT_CTR_CH0 |
r/o |
[27] UR input state bit
[26:0] UR hit counter
|
0x40101000 |
LOST_HIT_CTR_CH0 |
r/o |
Lost hit counter |
0x41000000 |
EVB_CTRL |
r/w |
[8] enable event builder server/port load sharing
[5:4] number of LSBs from trigger number used to select target server
(allowed values are 0,1,2,3 -> 1/2/4/8 servers)
[2:0] number of LSBs from trigger number (after bits used for server)
used to select target port (allowed values are 0,1,2,3,4 -> 1/2/4/8/16
ports, target port = set port number + i)
|
0x41000001 |
EVB_PORT |
r/w |
[15:0] DAQ event builder UDP port |
0x41000100 |
EVB0_IP |
r/w |
DAQ event builder 0 IP |
0x41000101 |
EVB1_IP |
r/w |
DAQ event builder 1 IP |
0x41000102 |
EVB2_IP |
r/w |
DAQ event builder 2 IP |
0x41000103 |
EVB3_IP |
r/w |
DAQ event builder 3 IP |
0x41000104 |
EVB4_IP |
r/w |
DAQ event builder 4 IP |
0x41000105 |
EVB5_IP |
r/w |
DAQ event builder 5 IP |
0x41000106 |
EVB6_IP |
r/w |
DAQ event builder 6 IP |
0x41000107 |
EVB7_IP |
r/w |
DAQ event builder 7 IP |
0x41000200 |
EVB0_MAC1 |
r/w |
[15:0] DAQ event bilder 0 MAC[47:32] |
0x41000201 |
EVB0_MAC0 |
r/w |
DAQ event bilder 0 MAC[31:0] |
0x41000202 |
EVB1_MAC1 |
r/w |
[15:0] DAQ event bilder 1 MAC[47:32] |
0x41000203 |
EVB1_MAC0 |
r/w |
DAQ event bilder 1 MAC[31:0] |
0x41000204 |
EVB2_MAC1 |
r/w |
[15:0] DAQ event bilder 2 MAC[47:32] |
0x41000205 |
EVB2_MAC0 |
r/w |
DAQ event bilder 2 MAC[31:0] |
0x41000206 |
EVB3_MAC1 |
r/w |
[15:0] DAQ event bilder 3 MAC[47:32] |
0x41000207 |
EVB3_MAC0 |
r/w |
DAQ event bilder 3 MAC[31:0] |
0x41000208 |
EVB4_MAC1 |
r/w |
[15:0] DAQ event bilder 4 MAC[47:32] |
0x41000209 |
EVB4_MAC0 |
r/w |
DAQ event bilder 4 MAC[31:0] |
0x4100020a |
EVB5_MAC1 |
r/w |
[15:0] DAQ event bilder 5 MAC[47:32] |
0x4100020b |
EVB5_MAC0 |
r/w |
DAQ event bilder 5 MAC[31:0] |
0x4100020c |
EVB6_MAC1 |
r/w |
[15:0] DAQ event bilder 6 MAC[47:32] |
0x4100020d |
EVB6_MAC0 |
r/w |
DAQ event bilder 6 MAC[31:0] |
0x4100020e |
EVB7_MAC1 |
r/w |
[15:0] DAQ event bilder 7 MAC[47:32] |
0x4100020f |
EVB7_MAC0 |
r/w |
DAQ event bilder 7 MAC[31:0] |
0x41000300 |
EVT_DROP_CTR |
r/0 |
Dropped events due to overflow of fifo |
DCM
The Dogma Controller Module is the central controller of the Dogma daq system. It distributes the 75MHz/100MHz Dogma system clock and the trigger signals to all connected dogs (can also be subsequent hubs for higher fanout) and collects daq control signals (raw triggers from front-ends, trigger flow control). It also hosts the central trigger system (trigger priorisation, dead-time).
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x30000000 |
TRIG_ENABLE |
r/w |
[0] enable trigger system |
0x30000001 |
DEAD_TIME |
r/w |
[15:0] dead time after trigger acceptance
Td = VAL * 13.333ns
|
0x30000002 |
DL_TRIG_REQ_EN |
r/w |
Enable map for trigger requests from downlinks[29:0] |
0x30000003 |
DL_ENABLE |
r/w |
Enable map for downlinks[29:0] |
0x30000004 |
EXT_TRG_IN_EN |
r/w |
[0] enable trigger input on ADF J_LVDS pin pair PP0
[1] enable trigger input on ADR J_LVDS pin pair PP0
|
0x30000005 |
PULSER_EN |
r/w |
[0] internal trigger pulse generator enable |
0x30000006 |
PULSER_PERIOD |
r/w |
[27:0] internal trigger pulse generator period
T_PULSER = VAL * 13.333ns
|
0x30000007 |
PULSER_TRG_TYP |
r/w |
[3:0] trigger type to be sent when trigger from PULSER is accepted
0x1 = physics trigger, 0xd = calibration trigger
|
0x31000000 |
TRG_NUM_CTR |
r/o |
counts up when trigger is accepted in DCM
[23:0] trigger number
|
0x31000001 |
DL_RX_TRG_REQ_OVW |
r/o |
counter of incoming trigger request signals from downlinks |
0x31000002 |
DL_RX_TRG_REJ_OVW |
r/o |
counter of incoming trigger reject signals from downlinks |
0x31000003 |
DL_LINK_ESTABL_OVW |
r/o |
[29:0] Link established flags of downlinks to connected dogs |
0x31000004 |
TS_PHYS_TRG_REJ_CTR |
r/o |
DCM/ trigger system rejected physics trigger count (dead time) |
0x31000005 |
TS_SOFT_TRG_REJ_CTR |
r/o |
DCM/ trigger system rejected soft trigger count (dead time) |
0x31000006 |
DL_TX_TRG_REJ_CTR |
r/o |
Downlink rejected trigger count (downlink TX saturated) |
0x31000007 |
WHITE_RABBIT_STATUS |
r/o |
[29] wr_sync_achieved
[28] wr_uplink_enabled
[23:0] wr_sync_ctr (counts up when dogtime is (re)synced with WR TS)
|
0x31000008 |
DOGTIME_UPPER |
r/o |
dogtime_ctr[63:32] |
0x31000009 |
DOGTIME_LOWER |
r/o |
dogtime_ctr[31:0] |
0x32xx0000 |
DLx_STATUS |
r/o |
[0] Link established |
0x32xx0001 |
DLx_UPTIME |
r/o |
Link uptime (counts up with 30Hz) |
0x32xx0002 |
DLx_INIT_CTR |
r/o |
Link init counter |
0x32xx0003 |
DLx_RX_CTR |
r/o |
RX counter |
0x32xx0004 |
DLx_TRG_REQ_CTR |
r/o |
Counter for incoming trigger requests |
0x32xx0005 |
DLx_TRG_REJ_CTR |
r/o |
Counter for incoming trigger rejects |
0x32xx0006 |
DLx_CLK_REC_CTR |
r/o |
Counts up when recovered RX_CLK becomes stable |
0x32xx0007 |
DLx_CLK_REC_FF_RST_CTR |
r/o |
Counts up when RX_CLK recovery flip-flops are resetted |
0x32xx0008 |
DLx_IDELAY_TAP_VAL |
r/o |
Tap value of IDELAY for clock data alignment [0-31] |
Hub
Register map for dogma hub design.
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x60000000 |
DL_ENABLE |
r/w |
Enable map for downlinks[29:0] |
0x61000000 |
DL_LINK_ESTABL |
r/o |
Link established status bits of downlinks[29:0] |
0x61000001 |
DL_TRG_REQ_OVW |
r/o |
counter of incoming trigger request signals from downlinks |
0x61000002 |
DL_TRG_REJ_OVW |
r/o |
counter of incoming trigger reject signals from downlinks |
0x62xx0000 |
DLx_STATUS |
r/o |
[0] Link established |
0x62xx0001 |
DLx_UPTIME |
r/o |
Link uptime (counts up with 30Hz) |
0x62xx0002 |
DLx_INIT_CTR |
r/o |
Link init counter |
0x62xx0003 |
DLx_RX_CTR |
r/o |
RX counter |
0x62xx0004 |
DLx_TRG_REQ_CTR |
r/o |
Counter for incoming trigger requests |
0x62xx0005 |
DLx_TRG_REJ_CTR |
r/o |
Counter for incoming trigger rejects |
0x62xx0006 |
DLx_CLK_REC_CTR |
r/o |
Counts up when recovered RX_CLK becomes stable |
0x62xx0007 |
DLx_CLK_REC_FF_RST_CTR |
r/o |
Counts up when RX_CLK recovery flip-flops are resetted |
0x62xx0008 |
DLx_IDELAY_TAP_VAL |
r/o |
Tap value of IDELAY for clock data alignment [0-31] |
DIRICH_CONCENTRATOR1
Register map for dogmatized legacy dirich_concentrator1 module:
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x6000_0000 |
LINK_ACTIVE |
r/o |
Link active status bits of downlinks[11:0] |
0x6000_0001 |
DOGLINK_STATUS |
r/o |
Doglink clock recovery status:
[0] rxclk recovered (1st step)
[1] clkd pll locked (2nd step)
|
SCIFI_652
Specific registers of the SCIFI_652 system:
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x60000000 |
VB_SETPOINT |
r/w |
[15:0] MPPC bias voltage setpoint
VB ~= 0.00137V * VALUE
VALUE ~= VB[V] * 729.9
|
0x60000001 |
VB_ENABLE |
r/w |
[0] Enable bias voltage boost converter
|
0x60000002 |
VB_ADC_VAL |
r/o |
[15:0] Readback value from VB ADC
|
MUPPET1 PPG SMPTDC
MUPPET1 module with pulse-pattern-generator (PPG) and sampling TDC design.
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x6300_0000 |
RESET |
s/c |
[0] PPG reset |
0x6300_0001 |
MEM_WR_EN |
s/c |
[15:0] PPG_EBR_CH[15:0] RAM WR_EN strobes |
0x6300_0002 |
TRIGGER |
s/c |
[0] PPG update config trigger
[4] PPG single shot flag
[8] PPG soft trigger
|
0x6300_0003 |
TDC_TRIGGER |
s/c |
[0] TDC soft trigger
[4] TDC single shot from external trigger input
[5] TDC single shot from internal trigger input
[8] TDC STOP
[12] TDC RESET
|
0x6301_0000 |
LAST_CYCLE |
r/w |
Last cycle of PPG sequence (-> period/ repetition rate). 32bit, f=150MHz -> max period ~28s |
0x6301_0001 |
CTRL |
r/w |
[0] PPG enable
[4] PPG external trigger enable
[8] PPG free running enable
|
0x6301_0002 |
CH_INVERT |
r/w |
[15:0] PPG CH[15:0] output polarity (‘0’=pos, ‘1’=neg) |
0x6301_0003 |
CH_ENABLE |
r/w |
[15:0] PPG CH[15:0] enable |
0x6301_0004 |
OUTP_NIM_TTL |
r/w |
[7:0] PPG CH[7:0] output driver select (‘0’=NIM, ‘1’=LVTTL) |
0x6301_0005 |
TDC_LAST_CYCLE |
r/w |
Last cycle of TDC timer. 32bit, f=150MHz -> max period ~28s |
0x6301_0006 |
TDC_CTRL |
r/w |
[0] TDC enable
[4] TDC external trigger enable
[5] TDC free running enable
[8] TDC controlled by PPG enable
[15:12] PPG CH index for internal trigger
[16] TDC internal trigger enable
|
0x6301_0007 |
OUTP_STATE_LEDS |
r/w |
[0] enable PPG output state LEDs
instead of activity LEDs
(short pulses/ low dutycycle not visible)
|
0x6302_0000 |
DESIGN_INFO_STR0 |
r/o |
Design description string chars[3:0] |
0x6302_0001 |
DESIGN_INFO_STR1 |
r/o |
Design description string chars[7:4] |
0x6302_0002 |
DESIGN_INFO_STR2 |
r/o |
Design description string chars[11:8] |
0x6302_0003 |
DESIGN_INFO_STR3 |
r/o |
Design description string chars[15:12] |
0x6302_0004 |
DESIGN_INFO_STR4 |
r/o |
Design description string chars[19:16] |
0x6302_0005 |
DESIGN_INFO_STR5 |
r/o |
Design description string chars[23:20] |
0x6302_0006 |
DESIGN_INFO_STR6 |
r/o |
Design description string chars[27:24] |
0x6302_0007 |
DESIGN_INFO_STR7 |
r/o |
Design description string chars[31:28] |
0x6302_0008 |
DESIGN_INFO_NBRS |
r/o |
Implemented numbers of PPG_REG, PPG_EBR and TDC channels:
[3:0] NUM_PPG_REG_CHs (indexes 0 to NUM_PPG_REG_CHs - 1)
[7:4] NUM_PPG_EBR_CHs (indexes NUM_PPG_REG_CHs to NUM_PPG_REG_CHs + NUM_PPG_EBR_CHs - 1)
[11:8] NUM_TDC_CHs
|
0x6302_0009 |
STATUS |
r/o |
[0] PPG active
[4] PPG single shot armed (waiting for external trigger)
|
0x6302_000a |
TDC_STATUS_OVRVW |
r/o |
TDC channels 0-3 status overview
1 Byte per TDC channel:
[0] NOT FIFO empty
[1] NOT FIFO almost empty
[2] FIFO almost full
[3] FIFO full
[4] CH enabled
[7] CH enabled
|
0x6303_0000 |
REG_CH0_EVENT0 |
r/w |
PPG_REG CH0 CLK cycle of event 0 |
0x6303_0001 |
REG_CH0_DATA0 |
r/w |
PPG_REG CH0 pattern data for event 0 |
0x6303_0002 |
REG_CH0_EVENT1 |
r/w |
PPG_REG CH0 CLK cycle of event 1 |
0x6303_0003 |
REG_CH0_DATA1 |
r/w |
PPG_REG CH0 pattern data for event 1 |
0x6303_0004 |
REG_CH0_EVENT2 |
r/w |
PPG_REG CH0 CLK cycle of event 2 |
0x6303_0005 |
REG_CH0_DATA2 |
r/w |
PPG_REG CH0 pattern data for event 2 |
0x6303_0006 |
REG_CH0_EVENT3 |
r/w |
PPG_REG CH0 CLK cycle of event 3 |
0x6303_0007 |
REG_CH0_DATA3 |
r/w |
PPG_REG CH0 pattern data for event 3 |
0x6303_0008 |
REG_CH0_EVENT4 |
r/w |
PPG_REG CH0 CLK cycle of event 4 |
0x6303_0009 |
REG_CH0_DATA4 |
r/w |
PPG_REG CH0 pattern data for event 4 |
0x6303_000a |
REG_CH0_EVENT5 |
r/w |
PPG_REG CH0 CLK cycle of event 5 |
0x6303_000b |
REG_CH0_DATA5 |
r/w |
PPG_REG CH0 pattern data for event 5 |
0x6303_000c |
REG_CH0_EVENT6 |
r/w |
PPG_REG CH0 CLK cycle of event 6 |
0x6303_000d |
REG_CH0_DATA6 |
r/w |
PPG_REG CH0 pattern data for event 6 |
0x6303_000e |
REG_CH0_EVENT7 |
r/w |
PPG_REG CH0 CLK cycle of event 7 |
0x6303_000f |
REG_CH0_DATA7 |
r/w |
PPG_REG CH0 pattern data for event 7 |
0x6303_0010 |
REG_CH1_EVENT0 |
r/w |
PPG_REG CH1 CLK cycle of event 0 |
0x6303_0011 |
REG_CH1_DATA0 |
r/w |
PPG_REG CH1 pattern data for event 0 |
0x6303_0012 |
REG_CH1_EVENT1 |
r/w |
PPG_REG CH1 CLK cycle of event 1 |
0x6303_0013 |
REG_CH1_DATA1 |
r/w |
PPG_REG CH1 pattern data for event 1 |
0x6303_0014 |
REG_CH1_EVENT2 |
r/w |
PPG_REG CH1 CLK cycle of event 2 |
0x6303_0015 |
REG_CH1_DATA2 |
r/w |
PPG_REG CH1 pattern data for event 2 |
0x6303_0016 |
REG_CH1_EVENT3 |
r/w |
PPG_REG CH1 CLK cycle of event 3 |
0x6303_0017 |
REG_CH1_DATA3 |
r/w |
PPG_REG CH1 pattern data for event 3 |
0x6303_0018 |
REG_CH1_EVENT4 |
r/w |
PPG_REG CH1 CLK cycle of event 4 |
0x6303_0019 |
REG_CH1_DATA4 |
r/w |
PPG_REG CH1 pattern data for event 4 |
0x6303_001a |
REG_CH1_EVENT5 |
r/w |
PPG_REG CH1 CLK cycle of event 5 |
0x6303_001b |
REG_CH1_DATA5 |
r/w |
PPG_REG CH1 pattern data for event 5 |
0x6303_001c |
REG_CH1_EVENT6 |
r/w |
PPG_REG CH1 CLK cycle of event 6 |
0x6303_001d |
REG_CH1_DATA6 |
r/w |
PPG_REG CH1 pattern data for event 6 |
0x6303_001e |
REG_CH1_EVENT7 |
r/w |
PPG_REG CH1 CLK cycle of event 7 |
0x6303_001f |
REG_CH1_DATA7 |
r/w |
PPG_REG CH1 pattern data for event 7 |
0x6304_0000 |
EBR_CH0_RAM_ADDR |
r/w |
[7:0] PPG_EBR CH0 memory address |
0x6304_0001 |
EBR_CH0_RAM_WR_DATA0 |
r/w |
PPG_EBR CH0 memory data_in[31:0]
[31:0] event CLK cycle (ctime)
|
0x6304_0002 |
EBR_CH0_RAM_WR_DATA1 |
r/w |
PPG_EBR CH0 memory data_in[63:32]
[7:0] event pattern data
[31] end-of-pattern flag (-> jump back to pattern start address)
|
0x6304_0003 |
EBR_CH0_START_ADDR |
r/w |
[7:0] PPG_EBR CH0 pattern start address |
0x6304_0004 |
EBR_CH1_RAM_ADDR |
r/w |
[7:0] PPG_EBR CH1 memory address |
0x6304_0005 |
EBR_CH1_RAM_DATA0 |
r/w |
PPG_EBR CH1 memory data[31:0]
[31:0] event CLK cycle (ctime)
|
0x6304_0006 |
EBR_CH1_RAM_DATA1 |
r/w |
PPG_EBR CH1 memory data[63:32]
[7:0] event pattern data
[31] end-of-pattern flag (-> jump back to pattern start address)
|
0x6304_0007 |
EBR_CH1_START_ADDR |
r/w |
[7:0] PPG_EBR CH1 pattern start address |
0x6305_0000 |
EBR_CH0_RAM_RD_DATA0 |
r/o |
PPG_EBR CH0 memory data_out[31:0]
[31:0] event CLK cycle (ctime)
|
0x6305_0001 |
EBR_CH0_RAM_RD_DATA1 |
r/o |
PPG_EBR CH0 memory data_out[63:32]
[7:0] event pattern data
[31] end-of-pattern flag
|
0x6305_0002 |
EBR_CH1_RAM_RD_DATA0 |
r/o |
PPG_EBR CH1 memory data_out[31:0]
[31:0] event CLK cycle (ctime)
|
0x6305_0003 |
EBR_CH1_RAM_RD_DATA1 |
r/o |
PPG_EBR CH1 memory data_out[63:32]
[7:0] event pattern data
[31] end-of-pattern flag
|
0x6306_0000 |
TDC_CH0_CTRL |
r/w |
TDC CH0 control register
[0] enable channel
[1] invert input
[2] pulse generator enable
[3] scrub FIFO
|
0x6306_0001 |
TDC_CH1_CTRL |
r/w |
TDC CH1 control register |
0x6306_0002 |
TDC_CH2_CTRL |
r/w |
TDC CH2 control register |
0x6306_0003 |
TDC_CH3_CTRL |
r/w |
TDC CH3 control register |
0x6307_0000 |
TDC_CH0_STATUS |
r/o |
TDC CH0 status
[31:24] IDELAY0 tap value
[23:16] IDELAY1 tap value
[15:12] bitslip counter
[11] FIFO full sticky
[7] channel enabled
[4] channel enabled
[3] FIFO full
[2] FIFO almost full
[1] NOT FIFO almost empty
[0] NOT FIFO empty
|
0x6307_0001 |
TDC_CH0_HITCTR |
r/o |
TDC CH0 hit counter
[31:20] time-reference-counter T=436.907us
[19:0] hit counter value
|
0x6307_0002 |
TDC_CH1_STATUS |
r/o |
TDC CH1 status |
0x6307_0003 |
TDC_CH1_HITCTR |
r/o |
TDC CH0 hit counter |
BLACKCAT_DEP
Several BLACKCAT compatible devices.
ADDR |
Name |
Type |
Function |
|---|---|---|---|
0x00 |
SYS_RESET |
s/c |
[31] FPGA reload from flash
[30] snapshot RX/TX frame counters
[29] snapshot DLM counters
[28] snapshot protocol counters
[27] snapshot IP/MAC settings
[5] stop DLM surveillance
[4] start DLM surveillance
[1] warm reset
[0] cold reset
|
0x01 |
SYS_GBE_FC |
s/c |
[31:28] PCSD select, bit coded
[27:24] PCSC select, bitcoded
[23:20] PCSB select, bitcoded
[19:16] PCSA select, bitcoded
[15:0] GbE FlowControl Pause value
|
0x02 |
SYS_DLM_FUNC |
s/c |
[30] DLM push start
[29] SCC FIFO reset
[28] phase measurement channel write
[21] store reset DLM value (only for Mainz systems)
[20] store trigger DLM value (only for Mainz systems)
[18] TRG write (not in P-ONE systems)
[17] SCC start (not in P-ONE systems)
[16] SCC data write (not in P-ONE systems)
[7:0] SCC/TRG data (not in P-ONE systems)
|
0x10 |
SYS_STAT_UIDH |
r/o |
UID MSB of board |
0x11 |
SYS_STAT_UIDL |
r/o |
UID LSB of board |
0x12 |
SYS_STAT_HWGW |
r/o |
[21:20] hardware type
[19:16] origin
[15:0] gateware type
|
0x13 |
SYS_STAT_COMPILATION |
r/o |
compilation date |
0x14 |
SYS_STAT_TEMPERATURE |
r/o |
[23:16] die temperature (only ECP5)
[11:0] temperature sensor
|
0x15 |
SYS_STAT_FEATURES |
r/o |
[31:28] number of additional status registers
[5] UART included
[4] FWDB included
[3] FWDA included
[2] DOGMA included
[1] PING included
[0] DHCP included
|
0x16 |
SYS_ACFG_OFFSET |
r/o |
[23:0] autoconfig ROM offset |
0x17 |
SYS_ACFG_LENGTH |
r/o |
[23:0] autoconfig ROM length |
0x18 |
SYS_STAT_BOARD” |
r/o |
[31] clock select status
[30] flash select line (only TOMcat)
[29] I2C bus locked (only TOMcat)
[27] PLL (local 10MHZ) locked
[26] PLL (onboard 125MHz) locked
[25] PLL (internal 250MHz) locked
[20] DLMs locked (surveillance)
[19] AD9546 PLL locked (only TOMcat)
[18] DLMs synced to IRIG-B
[16] ROOT module
[15:0] uplink establishment counter
|
0x20 |
SYS_CTRL_ADDR_UNI |
r/w |
[23:0] unicast DOGMA address |
0x21 |
SYS_CTRL_ADDR_MULTI |
r/w |
[23:0] multicast DOGMA address (0xfd) |
0x22 |
SYS_CTRL_ADDR_BIT |
r/w |
[23:0] bitcast DOGMA address (0xfe) |
0x23 |
SYS_CTRL_FIXED_IP |
r/w |
fixed IP address (no DHCP active) |
0x24 |
SYS_CTRL_SETUP |
r/w |
[31] DHCP disable
[30] LEDs offset
[29] 200MHz oscillator on (only TOMcat)
[28] debug GPIO enable
[27] FlashROM select (normal/GoldenImage, only TOMcat)
[26] disable FPGA I2C access (only TOMcat)
[25] auxiliary SFP0 on (only P-ONE backplane)
[24] auxiliary SFP1 on (only P-ONE backplane)
[20] disable IRIG-B data stream (only P-ONE master)
[16] timing test select (only TOMcat)
[15:0] timeout for IO control buffer full
|
0x25 |
SYS_CTRL_MTU |
r/w |
[31:16] MTU (MAC level for frame handling)
[15:0] payload size for GbE core frames
|
0x40 |
MST_SLV_LIST |
r/o |
[31:16] master port list (bit coded)
[15:0] slave port list (bit coded)
|
0x41 |
LAM_ACT_LIST |
r/o |
[31:16] LAM port list (bit coded)
[15:0] active port list (bit coded)
|
0x42 |
RX_FRAME_COUNTERS |
r/o |
[31:28] SerDes channel (A0 = 0, B0 = 4, …)
[27:0] RX frame counters (check docu for decoding)
|
0x43 |
DLM_COUNTERS |
r/o |
[31:28] SerDes channel (A0 =, B0 = 4, …)
[27:0] DLM counters (check docu for decoding)
|
0x44 |
PROTOCOL_COUNTERS |
r/o |
[31:28] protocol number
[27:0] protocol based counters (check docu for decoding)
|