Skip to content

Latest commit

 

History

History
666 lines (605 loc) · 44.5 KB

mt_address_table.org

File metadata and controls

666 lines (605 loc) · 44.5 KB

Module MT adr = 0x0

Implements various control and monitoring functions of the DRS Logic

MT

Implements various control and monitoring functions of the DRS Logic

NodeAdrAdr8BitsPermDefDescription
LOOPBACK0x00x0[31:0]rw0x0Loopback register
CLOCK_RATE0x10x4[31:0]rSystem clock frequency
FB_CLOCK_RATE_00x20x8[31:0]rFeedback clock frequency
FB_CLOCK_RATE_10x30xc[31:0]rFeedback clock frequency
FB_CLOCK_RATE_20x40x10[31:0]rFeedback clock frequency
FB_CLOCK_RATE_30x50x14[31:0]rFeedback clock frequency
FB_CLOCK_RATE_40x60x18[31:0]rFeedback clock frequency
DSI_ON0x70x1c[4:0]rw0x1FBitmask 1 = enable DSI
FORCE_TRIGGER0x80x200wPulseWrite 1 to generate a trigger
TRIG_GEN_RATE0x90x24[31:0]rw0x0Rate of generated triggers f_trig = (1/clk_period) * rate/0xffffffff
RESYNC0xa0x280wPulseWrite 1 to resync
ANY_TRIG_IS_GLOBAL0xb0x2c0rw0x01 makes the ANY trigger read all paddles.
TRACK_TRIG_IS_GLOBAL0xb0x2c1rw0x01 makes the TRACK trigger read all paddles.
TRACK_CENTRAL_IS_GLOBAL0xb0x2c2rw0x01 makes the TRACK central read all paddles.
TRACK_UMB_CENTRAL_IS_GLOBAL0xb0x2c3rw0x01 makes the TRACK UMB central read all paddles.
EVENT_CNT_RESET0xc0x300wPulseWrite 1 to reset the event counter
EVENT_CNT0xd0x34[31:0]rEvent Counter
TIU_EMULATION_MODE0xe0x380rw0x01 to emulate the TIU
TIU_USE_AUX_LINK0xe0x381rw0x01 to use J11; 0 to use J3
TIU_EMU_BUSY_CNT0xe0x38[31:14]rw0xC350Number of 10 ns clock cyles that the emulator will remain busy
TIU_BAD0xf0x3c0r1 means that the tiu link is not working
TIU_BUSY_STUCK0xf0x3c1r1 means the TIU has been stuck high for a long time
TIU_BUSY_IGNORE0xf0x3c2rw0x01 means the the MTB should ignore the TIU busy flag (e.g. because it is stuck)
LT_INPUT_STRETCH0xf0x3c[7:4]rw0xFNumber of clock cycles to stretch the LT inputs by
RB_INTEGRATION_WINDOW0xf0x3c[12:8]rw0x1Number of 100MHz clock cycles to integrate the LTB hits to determine which RBs to read out.
RB_READ_ALL_CHANNELS0xf0x3c13rw0x1Set to 1 to read all channels from RB for any trigger

MT.EVENT_QUEUE

DAQ Buffer

NodeAdrAdr8BitsPermDefDescription
RESET0x100x400wPulseDAQ Buffer Reset
DATA0x110x44[31:0]rDAQ Read Data
FULL0x120x480rDAQ Buffer Full
EMPTY0x120x481rDAQ Buffer Empty
NUM_EVENTS0x130x4c[13:0]rDAQ Buffer Number of Events
SIZE0x130x4c[31:16]rDAQ Buffer Head Event Size

MT

Implements various control and monitoring functions of the DRS Logic

NodeAdrAdr8BitsPermDefDescription
INNER_TOF_THRESH0x140x50[7:0]rw0x3Inner TOF hit threshold
OUTER_TOF_THRESH0x140x50[15:8]rw0x3Outer TOF hit threshold
TOTAL_TOF_THRESH0x140x50[23:16]rw0x8Total TOF hit threshold
GAPS_TRIGGER_EN0x140x5024rw0x0Enable the gaps trigger.
REQUIRE_BETA0x140x5025rw0x1Require beta in the gaps trigger
HIT_THRESH0x140x50[29:28]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
CONFIGURABLE_TRIGGER_EN0x140x5031rw0x0Enable the configurable trigger
CUBE_SIDE_THRESH0x150x54[7:0]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
CUBE_TOP_THRESH0x150x54[15:8]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
CUBE_BOT_THRESH0x150x54[23:16]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
CUBE_CORNER_THRESH0x150x54[31:24]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
UMBRELLA_THRESH0x160x58[7:0]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
UMBRELLA_CENTER_THRESH0x160x58[15:8]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
CORTINA_THRESH0x160x58[23:16]rw0x0Threshold for the hit bitmap. Threshold must be > this number.
TRIGGER_RATE0x170x5c[23:0]rRate of triggers in Hz
LOST_TRIGGER_RATE0x180x60[23:0]rRate of lost triggers in Hz
LT_LINK_READY00x1a0x68[9:0]rDSI 0 RX Link OK
LT_LINK_READY10x1b0x6c[9:0]rDSI 1 RX Link OK
LT_LINK_READY20x1c0x70[9:0]rDSI 2 RX Link OK
LT_LINK_READY30x1d0x74[9:0]rDSI 3 RX Link OK
LT_LINK_READY40x1e0x78[9:0]rDSI 4 RX Link OK

MT.HIT_COUNTERS

Counters

NodeAdrAdr8BitsPermDefDescription
LT00x200x80[23:0]rhit count on LT=0
LT10x210x84[23:0]rhit count on LT=1
LT20x220x88[23:0]rhit count on LT=2
LT30x230x8c[23:0]rhit count on LT=3
LT40x240x90[23:0]rhit count on LT=4
LT50x250x94[23:0]rhit count on LT=5
LT60x260x98[23:0]rhit count on LT=6
LT70x270x9c[23:0]rhit count on LT=7
LT80x280xa0[23:0]rhit count on LT=8
LT90x290xa4[23:0]rhit count on LT=9
LT100x2a0xa8[23:0]rhit count on LT=10
LT110x2b0xac[23:0]rhit count on LT=11
LT120x2c0xb0[23:0]rhit count on LT=12
LT130x2d0xb4[23:0]rhit count on LT=13
LT140x2e0xb8[23:0]rhit count on LT=14
LT150x2f0xbc[23:0]rhit count on LT=15
LT160x300xc0[23:0]rhit count on LT=16
LT170x310xc4[23:0]rhit count on LT=17
LT180x320xc8[23:0]rhit count on LT=18
LT190x330xcc[23:0]rhit count on LT=19
LT200x340xd0[23:0]rhit count on LT=20
LT210x350xd4[23:0]rhit count on LT=21
LT220x360xd8[23:0]rhit count on LT=22
LT230x370xdc[23:0]rhit count on LT=23
LT240x380xe0[23:0]rhit count on LT=24
RESET0x390xe40wPulseWrite 1 to reset hit counters.
SNAP0x3a0xe80rw0x11 to snap the hit counters.

MT

Implements various control and monitoring functions of the DRS Logic

NodeAdrAdr8BitsPermDefDescription
ETH_RX_BAD_FRAME_CNT0x3d0xf4[15:0]rEthernet MAC bad frame error
ETH_RX_BAD_FCS_CNT0x3d0xf4[31:16]rEthernet MAC bad fcs
ANY_TRIG_PRESCALE0x400x100[31:0]rw0x0Prescale value for the ANY trigger. 0 == 0% (off), 2**32-1 == 100%
TRACK_TRIGGER_PRESCALE0x410x104[31:0]rw0x0Prescale value for the Inner + Outer Track Trigger. 0 == 0% (off), 2**32-1 == 100%
TRACK_CENTRAL_PRESCALE0x420x108[31:0]rw0x0Prescale value for the Umbrella + Cube Top Track Trigger. 0 == 0% (off), 2**32-1 == 100%

MT.CHANNEL_MASK

1 to mask a channel

NodeAdrAdr8BitsPermDefDescription
LT00x500x140[7:0]rw0x01 to mask a channel of LT=0
LT10x510x144[7:0]rw0x01 to mask a channel of LT=1
LT20x520x148[7:0]rw0x01 to mask a channel of LT=2
LT30x530x14c[7:0]rw0x01 to mask a channel of LT=3
LT40x540x150[7:0]rw0x01 to mask a channel of LT=4
LT50x550x154[7:0]rw0x01 to mask a channel of LT=5
LT60x560x158[7:0]rw0x01 to mask a channel of LT=6
LT70x570x15c[7:0]rw0x01 to mask a channel of LT=7
LT80x580x160[7:0]rw0x01 to mask a channel of LT=8
LT90x590x164[7:0]rw0x01 to mask a channel of LT=9
LT100x5a0x168[7:0]rw0x01 to mask a channel of LT=10
LT110x5b0x16c[7:0]rw0x01 to mask a channel of LT=11
LT120x5c0x170[7:0]rw0x01 to mask a channel of LT=12
LT130x5d0x174[7:0]rw0x01 to mask a channel of LT=13
LT140x5e0x178[7:0]rw0x01 to mask a channel of LT=14
LT150x5f0x17c[7:0]rw0x01 to mask a channel of LT=15
LT160x600x180[7:0]rw0x01 to mask a channel of LT=16
LT170x610x184[7:0]rw0x01 to mask a channel of LT=17
LT180x620x188[7:0]rw0x01 to mask a channel of LT=18
LT190x630x18c[7:0]rw0x01 to mask a channel of LT=19
LT200x640x190[7:0]rw0x01 to mask a channel of LT=20
LT210x650x194[7:0]rw0x01 to mask a channel of LT=21
LT220x660x198[7:0]rw0x01 to mask a channel of LT=22
LT230x670x19c[7:0]rw0x01 to mask a channel of LT=23
LT240x680x1a0[7:0]rw0x01 to mask a channel of LT=24

MT.COARSE_DELAYS

NodeAdrAdr8BitsPermDefDescription
LT00xc00x300[3:0]rw0x0Integer clock delay of LT LINK 0
LT10xc10x304[3:0]rw0x0Integer clock delay of LT LINK 1
LT20xc20x308[3:0]rw0x0Integer clock delay of LT LINK 2
LT30xc30x30c[3:0]rw0x0Integer clock delay of LT LINK 3
LT40xc40x310[3:0]rw0x0Integer clock delay of LT LINK 4
LT50xc50x314[3:0]rw0x0Integer clock delay of LT LINK 5
LT60xc60x318[3:0]rw0x0Integer clock delay of LT LINK 6
LT70xc70x31c[3:0]rw0x0Integer clock delay of LT LINK 7
LT80xc80x320[3:0]rw0x0Integer clock delay of LT LINK 8
LT90xc90x324[3:0]rw0x0Integer clock delay of LT LINK 9
LT100xca0x328[3:0]rw0x0Integer clock delay of LT LINK 10
LT110xcb0x32c[3:0]rw0x0Integer clock delay of LT LINK 11
LT120xcc0x330[3:0]rw0x0Integer clock delay of LT LINK 12
LT130xcd0x334[3:0]rw0x0Integer clock delay of LT LINK 13
LT140xce0x338[3:0]rw0x0Integer clock delay of LT LINK 14
LT150xcf0x33c[3:0]rw0x0Integer clock delay of LT LINK 15
LT160xd00x340[3:0]rw0x0Integer clock delay of LT LINK 16
LT170xd10x344[3:0]rw0x0Integer clock delay of LT LINK 17
LT180xd20x348[3:0]rw0x0Integer clock delay of LT LINK 18
LT190xd30x34c[3:0]rw0x0Integer clock delay of LT LINK 19
LT200xd40x350[3:0]rw0x0Integer clock delay of LT LINK 20
LT210xd50x354[3:0]rw0x0Integer clock delay of LT LINK 21
LT220xd60x358[3:0]rw0x0Integer clock delay of LT LINK 22
LT230xd70x35c[3:0]rw0x0Integer clock delay of LT LINK 23
LT240xd80x360[3:0]rw0x0Integer clock delay of LT LINK 24
LT250xd90x364[3:0]rw0x0Integer clock delay of LT LINK 25
LT260xda0x368[3:0]rw0x0Integer clock delay of LT LINK 26
LT270xdb0x36c[3:0]rw0x0Integer clock delay of LT LINK 27
LT280xdc0x370[3:0]rw0x0Integer clock delay of LT LINK 28
LT290xdd0x374[3:0]rw0x0Integer clock delay of LT LINK 29
LT300xde0x378[3:0]rw0x0Integer clock delay of LT LINK 30
LT310xdf0x37c[3:0]rw0x0Integer clock delay of LT LINK 31
LT320xe00x380[3:0]rw0x0Integer clock delay of LT LINK 32
LT330xe10x384[3:0]rw0x0Integer clock delay of LT LINK 33
LT340xe20x388[3:0]rw0x0Integer clock delay of LT LINK 34
LT350xe30x38c[3:0]rw0x0Integer clock delay of LT LINK 35
LT360xe40x390[3:0]rw0x0Integer clock delay of LT LINK 36
LT370xe50x394[3:0]rw0x0Integer clock delay of LT LINK 37
LT380xe60x398[3:0]rw0x0Integer clock delay of LT LINK 38
LT390xe70x39c[3:0]rw0x0Integer clock delay of LT LINK 39
LT400xe80x3a0[3:0]rw0x0Integer clock delay of LT LINK 40
LT410xe90x3a4[3:0]rw0x0Integer clock delay of LT LINK 41
LT420xea0x3a8[3:0]rw0x0Integer clock delay of LT LINK 42
LT430xeb0x3ac[3:0]rw0x0Integer clock delay of LT LINK 43
LT440xec0x3b0[3:0]rw0x0Integer clock delay of LT LINK 44
LT450xed0x3b4[3:0]rw0x0Integer clock delay of LT LINK 45
LT460xee0x3b8[3:0]rw0x0Integer clock delay of LT LINK 46
LT470xef0x3bc[3:0]rw0x0Integer clock delay of LT LINK 47
LT480xf00x3c0[3:0]rw0x0Integer clock delay of LT LINK 48
LT490xf10x3c4[3:0]rw0x0Integer clock delay of LT LINK 49

MT.RB_READOUT_CNTS

Counters

NodeAdrAdr8BitsPermDefDescription
CNTS_00xf20x3c8[7:0]rReadout count on RB=0
CNTS_10xf20x3c8[15:8]rReadout count on RB=1
CNTS_20xf20x3c8[23:16]rReadout count on RB=2
CNTS_30xf20x3c8[31:24]rReadout count on RB=3
CNTS_40xf30x3cc[7:0]rReadout count on RB=4
CNTS_50xf30x3cc[15:8]rReadout count on RB=5
CNTS_60xf30x3cc[23:16]rReadout count on RB=6
CNTS_70xf30x3cc[31:24]rReadout count on RB=7
CNTS_80xf40x3d0[7:0]rReadout count on RB=8
CNTS_90xf40x3d0[15:8]rReadout count on RB=9
CNTS_100xf40x3d0[23:16]rReadout count on RB=10
CNTS_110xf40x3d0[31:24]rReadout count on RB=11
CNTS_120xf50x3d4[7:0]rReadout count on RB=12
CNTS_130xf50x3d4[15:8]rReadout count on RB=13
CNTS_140xf50x3d4[23:16]rReadout count on RB=14
CNTS_150xf50x3d4[31:24]rReadout count on RB=15
CNTS_160xf60x3d8[7:0]rReadout count on RB=16
CNTS_170xf60x3d8[15:8]rReadout count on RB=17
CNTS_180xf60x3d8[23:16]rReadout count on RB=18
CNTS_190xf60x3d8[31:24]rReadout count on RB=19
CNTS_200xf70x3dc[7:0]rReadout count on RB=20
CNTS_210xf70x3dc[15:8]rReadout count on RB=21
CNTS_220xf70x3dc[23:16]rReadout count on RB=22
CNTS_230xf70x3dc[31:24]rReadout count on RB=23
CNTS_240xf80x3e0[7:0]rReadout count on RB=24
CNTS_250xf80x3e0[15:8]rReadout count on RB=25
CNTS_260xf80x3e0[23:16]rReadout count on RB=26
CNTS_270xf80x3e0[31:24]rReadout count on RB=27
CNTS_280xf90x3e4[7:0]rReadout count on RB=28
CNTS_290xf90x3e4[15:8]rReadout count on RB=29
CNTS_300xf90x3e4[23:16]rReadout count on RB=30
CNTS_310xf90x3e4[31:24]rReadout count on RB=31
CNTS_320xfa0x3e8[7:0]rReadout count on RB=32
CNTS_330xfa0x3e8[15:8]rReadout count on RB=33
CNTS_340xfa0x3e8[23:16]rReadout count on RB=34
CNTS_350xfa0x3e8[31:24]rReadout count on RB=35
CNTS_360xfb0x3ec[7:0]rReadout count on RB=36
CNTS_370xfb0x3ec[15:8]rReadout count on RB=37
CNTS_380xfb0x3ec[23:16]rReadout count on RB=38
CNTS_390xfb0x3ec[31:24]rReadout count on RB=39
CNTS_400xfc0x3f0[7:0]rReadout count on RB=40
CNTS_410xfc0x3f0[15:8]rReadout count on RB=41
CNTS_420xfc0x3f0[23:16]rReadout count on RB=42
CNTS_430xfc0x3f0[31:24]rReadout count on RB=43
CNTS_440xfd0x3f4[7:0]rReadout count on RB=44
CNTS_450xfd0x3f4[15:8]rReadout count on RB=45
CNTS_460xfd0x3f4[23:16]rReadout count on RB=46
CNTS_470xfd0x3f4[31:24]rReadout count on RB=47
CNTS_480xfe0x3f8[7:0]rReadout count on RB=48
CNTS_490xfe0x3f8[15:8]rReadout count on RB=49
RESET0xff0x3fc0wPulseWrite 1 to reset hit counters.
SNAP0x1000x4000rw0x11 to snap the hit counters.

MT.PULSER

LTB Channel Pulser

NodeAdrAdr8BitsPermDefDescription
FIRE0x1000x4000wPulseWrite 1 to Fire the Pulser.
CH_0_240x1010x404[24:0]rw0x0Set fire bits for channels 0 to 24
CH_25_490x1020x408[24:0]rw0x0Set fire bits for channels 25 to 49
CH_50_740x1030x40c[24:0]rw0x0Set fire bits for channels 50 to 74
CH_75_990x1040x410[24:0]rw0x0Set fire bits for channels 75 to 99
CH_100_1240x1050x414[24:0]rw0x0Set fire bits for channels 100 to 124
CH_125_1490x1060x418[24:0]rw0x0Set fire bits for channels 125 to 149
CH_150_1740x1070x41c[24:0]rw0x0Set fire bits for channels 150 to 174
CH_175_1990x1080x420[24:0]rw0x0Set fire bits for channels 175 to 199

MT

Implements various control and monitoring functions of the DRS Logic

NodeAdrAdr8BitsPermDefDescription
TIU_BUSY_LENGTH0x11f0x47c[31:0]rLength in 10ns cycles of the last TIU busy flag

MT.XADC

Zynq XADC

NodeAdrAdr8BitsPermDefDescription
CALIBRATION0x1200x480[11:0]rXADC Calibration
VCCPINT0x1200x480[27:16]rXADC vccpint
VCCPAUX0x1210x484[11:0]rXADC Calibration
VCCODDR0x1210x484[27:16]rXADC vccoddr
TEMP0x1220x488[11:0]rXADC Temperature
VCCINT0x1220x488[27:16]rXADC vccint
VCCAUX0x1230x48c[11:0]rXADC VCCAUX
VCCBRAM0x1230x48c[27:16]rXADC vccbram

MT.HOG

HOG Parameters

NodeAdrAdr8BitsPermDefDescription
GLOBAL_DATE0x2000x800[31:0]rHOG Global Date
GLOBAL_TIME0x2010x804[31:0]rHOG Global Time
GLOBAL_VER0x2020x808[31:0]rHOG Global Version
GLOBAL_SHA0x2030x80c[31:0]rHOG Global SHA
TOP_SHA0x2040x810[31:0]rHOG Top SHA
TOP_VER0x2050x814[31:0]rHOG Top Version
HOG_SHA0x2060x818[31:0]rHOG SHA
HOG_VER0x2070x81c[31:0]rHOG Version

MT

Implements various control and monitoring functions of the DRS Logic

NodeAdrAdr8BitsPermDefDescription
TRIG_CYCLIC_EN0x2400x9000rw0x0Interval of cyclic triggers
TRIG_CYCLIC_INTERVAL0x2410x904[31:0]rw0x0Interval of cyclic triggers
LT_LINK_EN00x2420x908[9:0]rw0x3FFDSI 0 RX Link Enable
LT_LINK_EN10x2430x90c[9:0]rw0x3FFDSI 1 RX Link Enable
LT_LINK_EN20x2440x910[9:0]rw0x3FFDSI 2 RX Link Enable
LT_LINK_EN30x2450x914[9:0]rw0x3FFDSI 3 RX Link Enable
LT_LINK_EN40x2460x918[9:0]rw0x3FFDSI 4 RX Link Enable
LT_LINK_AUTOMASK0x2470x91c0rw0x11 to enable automatic LT link masking
GAPS_TRIG_PRESCALE0x2480x920[31:0]rw0xFFFFFFFFPrescale value for the GAPS trigger. 0 == 0% (off), 2**32-1 == 100%
TRACK_UMB_CENTRAL_PRESCALE0x2490x924[31:0]rw0x0Prescale value for the Umbrella Center + Cube Top Track Trigger. 0 == 0% (off), 2**32-1 == 100%

Module SPI adr = 0x1000

SPI

NodeAdrAdr8BitsPermDefDescription
d00x10000x4000[31:0]rw~~Data reg 0
d10x10010x4004[31:0]rw~~Data reg 1
d20x10020x4008[31:0]rw~~Data reg 2
d30x10030x400c[31:0]rw~~Data reg 3
ctrl0x10040x4010[31:0]rw~~Control reg
divider0x10050x4014[31:0]rw~~Clock divider reg
ss0x10060x4018[31:0]rw~~Slave select reg

Module I2C adr = 0x1100

I2C master controller

I2C

I2C master controller

NodeAdrAdr8BitsPermDefDescription
ps_lo0x11000x4400[7:0]rw~~Prescale low byte
ps_hi0x11010x4404[7:0]rw~~Prescale low byte
ctrl0x11020x4408[7:0]rw~~Control
data0x11030x440c[7:0]rw~~Data
cmd_stat0x11040x4410[7:0]rw~~Command / status

o