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

beamtime/cosy-nov11/mbs/cbmvme0.h (r4864/r2444)

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 
00007 #ifndef CBMVME_H
00008 #define CBMVME_H
00009 
00010 #define MAX__N_MOD   19
00011 
00012 // VME id of trigger box (VULOM4)
00013 #define VME__ID_TBOX  0
00014 
00015 // VME id of TDC-1 - NIHAM
00016 #define VME__ID_TDC1  1
00017 
00018 // VME id of TDC-2 - NIHAM
00019 #define VME__ID_TDC2  2
00020 
00021 // VME id of TDC-3 - HD
00022 #define VME__ID_TDC3  3
00023 
00024 // VME id of TDC-4 - HD
00025 #define VME__ID_TDC4  4
00026 
00027 // VME id of TDC-5 - HD
00028 #define VME__ID_TDC5  5
00029 
00030 // VME id of TDC-6 - HZDR
00031 #define VME__ID_TDC6  6
00032 
00033 // VME id of TDC-7 - HZDR
00034 #define VME__ID_TDC7  7
00035 
00036 // VME id of TDC-8 - HZDR
00037 #define VME__ID_TDC8  8
00038 
00039 // VME id of FPGA TDC1
00040 #define VME__ID_FPGA1  9
00041 
00042 // VME id of FPGA TDC2
00043 #define VME__ID_FPGA2  10
00044 
00045 // VME id of FPGA TDC3
00046 #define VME__ID_FPGA3 11
00047 
00048 // VME id of FPGA TDC4
00049 #define VME__ID_FPGA4 12
00050 
00051 // VME id of V965 QDC1 HZDR
00052 #define VME__ID_QDC1 13
00053 
00054 // VME id of V965 QDC2 HZDR
00055 #define VME__ID_QDC2 14
00056 
00057 // VME id of V965 QDC3 HZDR
00058 #define VME__ID_QDC3 15
00059 
00060 // VME id of 1182
00061 #define VME__ID_1182 16
00062 
00063 // VME id of 1183
00064 #define VME__ID_1183 17
00065 
00066 // VME id of QFW
00067 #define VME__ID_QFW 18
00068 
00069 // for each module: id, usage, base addr, addr modifier, two long words as prefixes in data
00070 // usage means: 0 - not used, 1 - master crate, 2 - slave crate
00071 #define VME__MODULES {  VME__ID_TBOX,  1, 0x3000000, 0x09, 0x00000000, 0x00000000, \
00072                         VME__ID_TDC1,  1, 0x5000000, 0x09, 0x74646331, 0x31636474, \
00073                         VME__ID_TDC2,  1, 0x6000000, 0x09, 0x74646332, 0x32636474, \
00074                         VME__ID_TDC3,  1, 0x7000000, 0x09, 0x74646333, 0x33636474, \
00075                         VME__ID_TDC4,  1, 0x8000000, 0x09, 0x74646334, 0x34636474, \
00076                         VME__ID_TDC5,  1, 0x9000000, 0x09, 0x74646335, 0x35636474, \
00077                         VME__ID_TDC6,  1, 0xA000000, 0x09, 0x74646336, 0x36636474, \
00078                         VME__ID_TDC7,  0, 0xB000000, 0x09, 0x74646337, 0x37636474, \
00079                         VME__ID_TDC8,  0, 0xC000000, 0x09, 0x74646338, 0x38636474, \
00080                         VME__ID_FPGA1, 0, 0x3000000, 0x09, 0x66706731, 0x31677066, \
00081                         VME__ID_FPGA2, 0, 0x4000000, 0x09, 0x66706732, 0x32677066, \
00082                         VME__ID_FPGA3, 0, 0x5000000, 0x09, 0x66706733, 0x33677066, \
00083                         VME__ID_FPGA4, 0, 0x6000000, 0x09, 0x66706734, 0x34677066, \
00084                         VME__ID_QDC1,  0, 0x9000000, 0x09, 0x71646331, 0x31636471, \
00085                         VME__ID_QDC2,  0, 0xA000000, 0x09, 0x71646332, 0x32636471, \
00086                         VME__ID_QDC3,  0, 0xB000000, 0x09, 0x71646333, 0x33636471, \
00087                         VME__ID_1182,  2, 0x0600000, 0x39, 0x31313832, 0x32383131, \
00088                         VME__ID_1183,  0, 0x0700000, 0x39, 0x31313833, 0x33383131, \
00089                         VME__ID_QFW,   2, 0x7000000, 0x09, 0x71667731, 0x31776671  }
00090 
00091 #endif

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