// ---------------------------- // define SCSN IDs for ring 0 // ---------------------------- SINGLEROB=1; // 1 = for ROBORI only, ROB is not connected to any other ROB include src/tests-common/scsn_ids.tcs const root_bm = 0; // Last merger => ACEX or ORI, not used actually const m_data_delay0 = 1; const m_data_delay1 = 1; const m_data_delay2 = 1; const m_data_delay3 = 1; const m_data_delay4 = 1; const m_data_delay5 = 1; const m_data_delay6 = 1; const m_data_delay7 = 1; const m_data_delay8 = 1; const m_data_delay9 = 1; const m_strb_delay = 0; // 0 const m_ctrl_delay = 0; // 0..7 egal const m_false_bit = 8; // 0..9 const m_parit_bit = 9; // 0..9 // TRAP => TRAP data_delay = 3; // if strobe delay is 0, here should work with 2..5 and minor errors at 1 at 6 const t_data_delay0 = data_delay; const t_data_delay1 = data_delay; const t_data_delay2 = data_delay; const t_data_delay3 = data_delay; const t_data_delay4 = data_delay; const t_data_delay5 = data_delay; const t_data_delay6 = data_delay; const t_data_delay7 = data_delay; const t_data_delay8 = data_delay; const t_data_delay9 = data_delay; t_strb_delay = 0; // 0, better not to change, actually the difference data_delay-strb_delay is important const t_ctrl_delay = 0; // 0..7 not used at all, only in the case of OASE chip but not in ORI tpattern0 = 0xAAAAAAAA; tpattern1 = 0xAA55AA55; tpattern2 = 0xFFFFFFFF; tpattern3 = 0x00FF00FF; tpattern4 = 0xDEADAFFE; tpattern5 = 0xFACEAFFE; tpattern6 = 0xDEADFACE; tpattern0_n = ~ tpattern0; // the complement tpattern1_n = ~ tpattern1; // the complement tpattern2_n = ~ tpattern2; // the complement tpattern3_n = ~ tpattern3; // the complement tpattern4_n = ~ tpattern4; // the complement tpattern5_n = ~ tpattern5; // the complement tpattern6_n = ~ tpattern6; // the complement nloops = 4; // 1 to 4 npulses = 4*nloops*7; // 2 x 32 bit words, 2 strobe pulses/word => 4 strobes