##// END OF EJS Templates
snapshots extraction fully functionnal in SBM1 and SBM2
snapshots extraction fully functionnal in SBM1 and SBM2

File last commit:

r106:4b288e043b64 VHDLib206
r106:4b288e043b64 VHDLib206
Show More
fsw_params_processing.h
54 lines | 1.7 KiB | text/x-c | CLexer
/ header / fsw_params_processing.h
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 #ifndef FSW_PARAMS_PROCESSING_H
#define FSW_PARAMS_PROCESSING_H
paul
snapshots extraction fully functionnal in SBM1 and SBM2
r106 #define NB_BINS_PER_SM 128
#define NB_VALUES_PER_SM 25
#define TOTAL_SIZE_SM 3200 // 25 * 128
//
#define NB_RING_NODES_ASM_F0 12 // AT LEAST 3
#define NB_RING_NODES_ASM_F1 2 // AT LEAST 3
#define NB_RING_NODES_ASM_F2 2 // AT LEAST 3
paul
Sync
r99 //
#define NB_BINS_PER_ASM_F0 88
paul
SM simulator functionnal...
r100 #define NB_BINS_PER_PKT_ASM_F0 44
#define TOTAL_SIZE_ASM_F0_IN_BYTES 4400 // 25 * 88 * 2
paul
Sync
r99 #define ASM_F0_INDICE_START 17 // 88 bins
#define ASM_F0_INDICE_STOP 104 // 2 packets of 44 bins
//
#define NB_BINS_PER_ASM_F1 104
paul
SM simulator functionnal...
r100 #define NB_BINS_PER_PKT_ASM_F1 52
paul
Sync
r99 #define TOTAL_SIZE_ASM_F1 2600 // 25 * 104
#define ASM_F1_INDICE_START 6 // 104 bins
#define ASM_F1_INDICE_STOP 109 // 2 packets of 52 bins
//
#define NB_BINS_PER_ASM_F2 96
paul
SM simulator functionnal...
r100 #define NB_BINS_PER_PKT_ASM_F2 48
paul
Sync
r99 #define TOTAL_SIZE_ASM_F2 2400 // 25 * 96
#define ASM_F2_INDICE_START 7 // 96 bins
#define ASM_F2_INDICE_STOP 102 // 2 packets of 48 bins
//
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 #define NB_BINS_COMPRESSED_SM_F0 11
#define NB_BINS_COMPRESSED_SM_F1 13
#define NB_BINS_COMPRESSED_SM_F2 12
paul
Sync
r99 //
paul
Bug #60 corrected...
r102 #define NB_BINS_TO_AVERAGE_ASM_F0 8
#define NB_BINS_TO_AVERAGE_ASM_F1 8
#define NB_BINS_TO_AVERAGE_ASM_F2 8
//
#define TOTAL_SIZE_COMPRESSED_ASM_F0 275 // 11 * 25
#define TOTAL_SIZE_COMPRESSED_ASM_F1 325 // 13 * 25
#define TOTAL_SIZE_COMPRESSED_ASM_F2 300 // 12 * 25
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 #define NB_AVERAGE_NORMAL_f0 96*4
#define NB_SM_TO_RECEIVE_BEFORE_AVF0 8
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 volatile unsigned char PE[2];
volatile unsigned char PB[2];
volatile unsigned char V0;
volatile unsigned char V1;
volatile unsigned char V2_ELLIP_DOP;
volatile unsigned char SZ;
volatile unsigned char VPHI;
paul
Minor modifications to meet Logiscope requirements
r77 } BP1_t;
paul
SID corrected in TM_LFR_TC_EXE packets...
r31
#endif // FSW_PARAMS_PROCESSING_H