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
00022
00023
00024
00025 #define T_LOG_DEL_1 0x4 //delay spill off pulse
00026
00027
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
00046 #define T_LOG_TBOX_ENA 0x48
00047 #define T_LOG_TBOX_SCALL 0x4c
00048 #define T_LOG_TBOX_SCALH 0x50
00049
00050
00051 #define T_LOG_SW_L 0x54
00052 #define T_LOG_SW_H 0x58
00053
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
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
00070 #define T_LOG_RES_SYNC 0x88 //reset for sync scaler
00071 #define T_LOG_PULS 0x8c // ECO PULS out via vme command
00072
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
00081 #define T_LOG_SYNC_SCAL 0x1d8
00082
00083
00084
00085
00086 #define N_SCALER 32
00087
00088
00089
00090 #define MAXBLOCK 63
00091 #define BS 19
00092
00093
00094
00095
00096
00097
00098
00099
00100