• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/gsi-aug12/hd/mbs/cbmvme0.h (r4864/r3241)

Go to the documentation of this file.
00001 // 2010-09-28 - DE - setup of CBM VME crate
00002 // 2011-08-26 - SL - IN_USE variable now defines usage of module in setup, not only memory mapping readout
00003 // 2011-08-29 - SL - add third V1290 and V560 modules for NIHAM RPC setup
00004 // 2011-09-07 - SL - change MADC assignment first two for Bucharest, last two for Dubna
00005 // 2011-11-09 - SL - new setup for COSY
00006 // 2012-02-21 - PAL - try to get it running for HD
00007 
00008 #ifndef CBMVME_H
00009 #define CBMVME_H
00010 
00011 #define MAX__N_MOD   22
00012 
00013 // VME id of trigger box (VULOM4)
00014 #define VME__ID_TBOX   0
00015 
00016 // VME id of TDC-1 - NIHAM
00017 #define VME__ID_TDC1   1
00018 
00019 // VME id of TDC-2 - NIHAM
00020 #define VME__ID_TDC2   2
00021 
00022 // VME id of TDC-3 - HD
00023 #define VME__ID_TDC3   3
00024 
00025 // VME id of TDC-4 - HD
00026 #define VME__ID_TDC4   4
00027 
00028 // VME id of TDC-5 - HD
00029 #define VME__ID_TDC5   5
00030 
00031 // VME id of TDC-6 - HZDR
00032 #define VME__ID_TDC6   6
00033 
00034 // VME id of TDC-7 - HZDR
00035 #define VME__ID_TDC7   7
00036 
00037 // VME id of TDC-8 - HZDR
00038 #define VME__ID_TDC8   8
00039 
00040 // VME id of FPGA TDC1
00041 #define VME__ID_FPGA1  9
00042 
00043 // VME id of FPGA TDC2
00044 #define VME__ID_FPGA2 10
00045 
00046 // VME id of FPGA TDC3
00047 #define VME__ID_FPGA3 11
00048 
00049 // VME id of FPGA TDC4
00050 #define VME__ID_FPGA4 12
00051 
00052 // VME id of FPGA TDC5
00053 #define VME__ID_FPGA5 13
00054 
00055 // VME id of FPGA TDC6
00056 #define VME__ID_FPGA6 14
00057 
00058 // VME id of FPGA TDC7
00059 #define VME__ID_FPGA7 15
00060 
00061 // VME id of V965 QDC2 HZDR
00062 #define VME__ID_QDC1  16
00063 
00064 // VME id of V965 QDC3 HZDR
00065 #define VME__ID_QDC2  17
00066 
00067 // VME id of 1182
00068 #define VME__ID_1182  18
00069 
00070 // VME id of 1183
00071 #define VME__ID_1183  19
00072 
00073 // VME id of QFW
00074 #define VME__ID_QFW   20
00075 
00076 // VME id of Scaler Or Multiplicity (VULOM3)
00077 #define VME__ID_SCOM  21
00078 
00079 // for each module: id, usage, base addr, addr modifier, two long words as prefixes in data
00080 // usage means: 0 - not used, 1 - master crate, 2 - slave crate
00081 #define VME__MODULES {  VME__ID_TBOX,  1, 0x08000000, 0x09, 0x74726c6f, 0x6f6c7274, \
00082                         VME__ID_TDC1,  0, 0x0B000000, 0x09, 0x74646331, 0x31636474, \
00083                         VME__ID_TDC2,  0, 0x0C000000, 0x09, 0x74646332, 0x32636474, \
00084                         VME__ID_TDC3,  0, 0x0D000000, 0x09, 0x74646333, 0x33636474, \
00085                         VME__ID_TDC4,  0, 0x0E000000, 0x09, 0x74646334, 0x34636474, \
00086                         VME__ID_TDC5,  0, 0x0F000000, 0x09, 0x74646335, 0x35636474, \
00087                         VME__ID_TDC6,  0, 0x11000000, 0x09, 0x74646336, 0x36636474, \
00088                         VME__ID_TDC7,  0, 0x12000000, 0x09, 0x74646337, 0x37636474, \
00089                         VME__ID_TDC8,  0, 0x13000000, 0x09, 0x74646338, 0x38636474, \
00090                         VME__ID_FPGA1, 0, 0x03000000, 0x09, 0x66706731, 0x31677066, \
00091                         VME__ID_FPGA2, 0, 0x04000000, 0x09, 0x66706732, 0x32677066, \
00092                         VME__ID_FPGA3, 0, 0x05000000, 0x09, 0x66706733, 0x33677066, \
00093                         VME__ID_FPGA4, 0, 0x06000000, 0x09, 0x66706734, 0x34677066, \
00094                         VME__ID_FPGA5, 1, 0x07000000, 0x09, 0x66706735, 0x35677066, \
00095                         VME__ID_FPGA6, 1, 0x09000000, 0x09, 0x66706736, 0x36677066, \
00096                         VME__ID_FPGA7, 1, 0x0A000000, 0x09, 0x66706737, 0x37677066, \
00097                         VME__ID_QDC1,  0, 0x0A000000, 0x09, 0x71646332, 0x32636471, \
00098                         VME__ID_QDC2,  0, 0x0B000000, 0x09, 0x71646333, 0x33636471, \
00099                         VME__ID_1182,  0, 0x00600000, 0x39, 0x31313832, 0x32383131, \
00100                         VME__ID_1183,  0, 0x00700000, 0x39, 0x31313833, 0x33383131, \
00101                         VME__ID_QFW,   0, 0x07000000, 0x09, 0x71667731, 0x31776671, \
00102                         VME__ID_SCOM,  1, 0x13000000, 0x09, 0x73636f6d, 0x6d6f6373}
00103 
00104 #endif

Generated on Tue Dec 10 2013 04:52:19 for ROCsoft by  doxygen 1.7.1