const nsamples=63; const oase_mode = 0; // 1 or 0 const root_flag = 0; // 1 or 0 const rst_inv = 0; // must be 0 if no additional reset inverter is soldered const rst_opend = 1; // if open drain the pull up in the TRAP can be measured. const xor_mask = 0x3FF; // the data bits are inverted in wafer tester! const and_mask = 0x3FF; // if some bit is 0 it will be permanently 0 const or_mask = 0x000; // if some bit is 1 it will be permanently 1 const L0time= 0x00000050; const L1time= 0x00004230+24+100+30*12; // the start of readout, no confirm, used only internally const L2time= 0x000002BC+100+30*12; // this is for ALICE the L1A // all delays can be from 0 to 7 // configuration for DUT -> FPGA readout // all delays: min .best. max const f_ctrl_delay = 3; // 2 .3. 4 stable const f_data_delay0 = 3; // const f_data_delay1 = 3; // const f_data_delay2 = 3; // const f_data_delay3 = 3; // const f_data_delay4 = 3; // 3..6 const f_data_delay5 = 3; // const f_data_delay6 = 3; // const f_data_delay7 = 3; // const f_data_delay8 = 3; // const f_data_delay9 = 3; // const f_strb_delay = 2; // const f_false_bit = 0; // 0..9 const f_parit_bit = 8; // 0..9 const scsn_sw = 0x4400;