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

beamtime/cern-oct11/mbs/cbmvme.h (r4864/r2163)

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 
00006 #ifndef CBMVME_H
00007 #define CBMVME_H
00008 
00009 // VME modules used: set to 1, not used: set to 0
00010 
00011 #define MAX__N_MOD   16
00012 
00013 //  VME module  ID      0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15
00014 //                      |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
00015 //#define VME__ID_IN_USE {0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // only TBOX
00016 
00017 
00018 //#define VME__ID_IN_USE {0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}   // GSI TBOX + v550
00019 //#define VME__ID_IN_USE {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1}   // GSI TBOX + TDC1 + 1182 + 1183 + v550
00020 #define VME__ID_IN_USE {0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0}   // TBOX + MADC3 + MADC4 + 1182 + 1183
00021 #define VME__ID_SLAVE  {0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1}   // MADC1 + MADC2 + TDC1 + TDC2 + TDC3 + v560 + TDC4
00022 //#define VME__ID_SLAVE  {0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}   // MADC1 + MADC2 + TDC1 + TDC2 + TDC3 + v560 + TDC4
00023 
00024 
00025 // VME id of trigger box (VULOM4)
00026 #define VME__ID_TBOX 3
00027 
00028 // VME id of delay unit (VULOM4)
00029 #define VME__ID_DELAY 4
00030 
00031 // VME id of MADC-1 - NIHAM
00032 #define VME__ID_MAD1 5
00033 
00034 // VME id of MADC-2 - NIHAM
00035 #define VME__ID_MAD2 6
00036 
00037 // VME id of MADC-3 - JINR
00038 #define VME__ID_MAD3 7
00039 
00040 // VME id of MADC-4 - JINR
00041 #define VME__ID_MAD4 8
00042 
00043 // VME id of TDC-1 - NIHAM
00044 #define VME__ID_TDC1 9
00045 
00046 // VME id of TDC-2 - NIHAM
00047 #define VME__ID_TDC2 10
00048 
00049 // VME id of TDC-3 - NIHAM
00050 #define VME__ID_TDC3 11
00051 
00052 // VME id of V560 - NIHAM
00053 #define VME__ID_V560 12
00054 
00055 // VME address of 1182
00056 #define VME__ID_1182 13
00057 
00058 // VME address of 1183
00059 #define VME__ID_1183 14
00060 
00061 // VME id of TDC-4 - NIHAM
00062 #define VME__ID_TDC4 15
00063 
00064 // VME address of V550 - disabled
00065 //#define VME__ID_V550 1
00066 
00067 #define VME__BASE {0x0,       0x1000000, 0x2000000, 0x3000000, \
00068                    0x9000000, 0x4000000, 0x5000000, 0x4000000, \
00069                    0x5000000, 0x9000000, 0xa000000, 0xb000000, \
00070                    0x3000000, 0x700000,  0x600000,  0xd000000}
00071 
00072 #define VME__SIZE { 0x100000,  0x100000,  0x100000,    0x1000, \
00073                       0x1000,    0x1000,    0x1000,    0x1000, \
00074                       0x1000,   0x10000,   0x10000,   0x10000, \
00075                      0x10000,    0x1000,    0x1000,    0x1000}
00076 
00077 #define ADD_MOD   {0x9,       0x9,       0x9,       0x9, \
00078                    0x9,       0x9,       0x9,       0x9, \
00079                    0x9,       0x9,       0x9,       0x9, \
00080                    0x9,      0x39,      0x39,       0x9 }
00081 
00082 #endif

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