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

beamtime/gsi-aug12/get4v10/mbs/vulom3def.h (r4864/r3846)

Go to the documentation of this file.
00001 
00002 #define FLASHBASE   0x00c00000
00003 #define FPGABASE    0x00000000
00004 #define RANGE_REG   0x00800000
00005 #define FPGA_DIRECT 0x00800004
00006 
00007 #define DISPRAM     0x00010000
00008 #define DISPREG     0x00020000
00009 #define SRAM        0x00100000
00010 
00011 #define PERIODREG   0x0
00012 #define WIDTHREG    0x040
00013 #define NPREG       0x080
00014 #define ENABLEREG   0x0c0
00015 #define SCALERREG         0x100
00016 #define MODEREG   0x140
00017 
00018 #define CSR_DONE    0x20
00019 #define CSR_INIT    0x40
00020 
00021 //#define CODE    0x0
00022 
00023 
00024 /*************** Trigger Logic **********************/
00025 #define T_LOG_DEL_1   0x4       //delay spill off pulse
00026 
00027 /*******************LMU Setup************************/
00028 #define T_LOG_LMU_1   0x8               
00029 #define T_LOG_LMU_2   0xc
00030 #define T_LOG_LMU_3   0x10
00031 #define T_LOG_LMU_4   0x14
00032 #define T_LOG_LMU_5   0x18
00033 #define T_LOG_LMU_6   0x1c
00034 #define T_LOG_LMU_7   0x20
00035 #define T_LOG_LMU_8   0x24
00036 #define T_LOG_LMU_9   0x28
00037 #define T_LOG_LMU_a   0x2c
00038 #define T_LOG_LMU_b   0x30
00039 #define T_LOG_LMU_c   0x34
00040 #define T_LOG_LMU_d   0x38
00041 #define T_LOG_LMU_e   0x3c
00042 #define T_LOG_LMU_f   0x40
00043 #define T_LOG_LMU_g   0x44
00044 
00045 /*******************Trigger Box Setup*****************/
00046 #define T_LOG_TBOX_ENA     0x48
00047 #define T_LOG_TBOX_SCALL   0x4c
00048 #define T_LOG_TBOX_SCALH   0x50
00049 
00050 /*******************Switch Box Setup******************/
00051 #define T_LOG_SW_L    0x54
00052 #define T_LOG_SW_H    0x58
00053                                 //new
00054 #define T_LOG_RES      0x5c     //reset scaler + sync scaler
00055 
00056 #define T_LOG_SC_LATCH 0x60     //latch scaler
00057 #define T_LOG_INT_TDT  0x64     //internal deadtime
00058 #define T_LOG_ECO      0x68     //switch signals to hpla output
00059 #define T_LOG_EXT_INT_RES  0x6c         //internal external reset
00060 
00061 /**********Internal Pulse Generator Setup*************/
00062 #define T_LOG_PULS_IN  0x70
00063 #define T_LOG_FREQU_1  0x74
00064 #define T_LOG_FREQU_2  0x78
00065 #define T_LOG_FREQU_3  0x7c
00066 
00067 #define T_LOG_SOFTTRIG 0x80     //Software Trigger
00068 #define T_LOG_RES_DOUT 0x84     //reset for data out register
00069 //new
00070 #define T_LOG_RES_SYNC 0x88     //reset for sync scaler
00071 #define T_LOG_PULS     0x8c     // ECO PULS out via vme command
00072 /*************Scaler and Triggerpattern***************/
00073 #define T_LOG_SCAL_1    0x8c
00074 #define T_LOG_SCAL_2    0xcc
00075 #define T_LOG_SCAL_3    0x10c
00076 #define T_LOG_SCAL_4    0x14c
00077 #define T_LOG_SCAL_5    0x18c
00078 #define T_LOG_SCAL_FC   0x1d0
00079 #define T_LOG_TRIG_PAT  0x1d4
00080 //new
00081 #define T_LOG_SYNC_SCAL 0x1d8
00082 
00083 
00084 
00085 /********************************************************/
00086 #define N_SCALER        32
00087 
00088 
00089 /********** 2*16 Scalaer + OR**********/
00090 #define SCALORMU_N_SCALER       32
00091 
00092 #define SCALORMU_COUNT_1    0x4
00093 #define SCALORMU_COUNT_2    0x8
00094 #define SCALORMU_COUNT_3    0xc
00095 #define SCALORMU_COUNT_4    0x10
00096 #define SCALORMU_COUNT_5    0x14
00097 #define SCALORMU_COUNT_6    0x18
00098 #define SCALORMU_COUNT_7    0x1c
00099 #define SCALORMU_COUNT_8    0x20
00100 #define SCALORMU_COUNT_9    0x24
00101 #define SCALORMU_COUNT_10   0x28
00102 #define SCALORMU_COUNT_11   0x2c
00103 #define SCALORMU_COUNT_12   0x30
00104 #define SCALORMU_COUNT_13   0x34
00105 #define SCALORMU_COUNT_14   0x38
00106 #define SCALORMU_COUNT_15   0x3c
00107 #define SCALORMU_COUNT_16   0x40
00108 
00109 #define SCALORMU_COUNT_17   0x44
00110 #define SCALORMU_COUNT_18   0x48
00111 #define SCALORMU_COUNT_19   0x4c
00112 #define SCALORMU_COUNT_20   0x50
00113 #define SCALORMU_COUNT_21   0x54
00114 #define SCALORMU_COUNT_22   0x58
00115 #define SCALORMU_COUNT_23   0x5c
00116 #define SCALORMU_COUNT_24   0x60
00117 #define SCALORMU_COUNT_25   0x64
00118 #define SCALORMU_COUNT_26   0x68
00119 #define SCALORMU_COUNT_27   0x6c
00120 #define SCALORMU_COUNT_28   0x70
00121 #define SCALORMU_COUNT_29   0x74
00122 #define SCALORMU_COUNT_30   0x78
00123 #define SCALORMU_COUNT_31   0x7c
00124 #define SCALORMU_COUNT_32   0x80
00125 
00126 #define SCALORMU_LAT        0x84
00127 #define SCALORMU_RES        0x88
00128 
00129 #define SCALORMU_MASK   0x8c
00130 
00131 
00132 #define MAXBLOCK    63
00133 #define BS  19
00134 
00135 
00136 
00137 
00138 
00139 
00140 
00141 
00142 

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