10 #define RB_FIBER_HDR_LEN 64
14 #define MZ_BUFFER_NUM 12
18 #define MZ_TPC_PADS_PER_ASIC 64
19 #define MZ_TPC_TIMEBINS 512
20 #define MZ_TPC_CPP_PER_PAD 32
21 #define MZ_TPC_MAX_PADS_PER_MEZ (MZ_TPC_PADS_PER_ASIC*MZ_ASIC_NUM)
23 #define MZ_FTP_PADS_PER_ASIC 64
24 #define MZ_FTP_TIMEBINS 512 // deal with this in software
25 #define MZ_FTP_CPP_PER_PAD 32
26 #define MZ_FTP_MAX_PADS_PER_MEZ (MZ_TPC_PADS_PER_ASIC*MZ_ASIC_NUM)
27 #define MZ_FTP_PADS_PER_MEZ 320
29 #define MZ_SVT_PADS_PER_ASIC 256
30 #define MZ_SVT_TIMEBINS 128
31 #define MZ_SVT_CPP_PER_PAD 8
32 #define MZ_SVT_MAX_PADS_PER_MEZ (MZ_SVT_PADS_PER_ASIC*MZ_ASIC_NUM) // not really verified
35 #define MZ_MAX_PADS_PER_ASIC 256 // SVT case
36 #define MZ_MAX_TIMEBINS 512 // TPC
37 #define MZ_MAX_CPP_PER_PAD 32 // TPC
38 #define MZ_MAX_PADS (256*MZ_ASIC_NUM) // SVT
39 #define MZ_MAX_CHANNELS (512*64*MZ_ASIC_NUM) // all
40 #define MZ_MAX_CPPS (8*256*MZ_ASIC_NUM) // all
41 #define MZ_MAX_ROWS 6 // TPC, SVT
43 #define MZ_MAX_CLUSTERS 6000
45 #define MZ_RAW_DEBUG_BYTES (0x40000 + 0x10000) // ADC and CPP
49 #define DMA_SL3_TYPE (1 << 28)
50 #define DMA_FMT_TYPE (2 << 28)