# # test pattern for GTRC/B # addressRC: 17 addressFE: 19 placePattern: ADDR 17 placePattern: RESET 1 0 repeat: 50 # # test control register (CLKS:0-299) # chipsToRead: 19 checkSum: exclude XYcoincidence: ignore readLayer: withFastOR # registerRC: *placePattern: CLKS 1*25 0 registerRC: *placePattern: CLKS 1*25 0 # resetChip: repeat: 50 # registerRC: *placePattern: CLKS 1*25 0 registerRC: *placePattern: CLKS 1*25 0 # placePattern: RESET 1 0 repeat: 50 # registerRC: *placePattern: CLKS 1*25 0 registerRC: *placePattern: CLKS 1*25 0 # # test clock-on command (CLKS:300-349) # clockOn: *placePattern: CLKS 1*25 0 *placePattern: RESET 0*20 1 0 repeat: 50 # # test sending reset-chip command (CLKS:350-399) # sendResetChip: *placePattern: CLKS 1*25 0 # # test sending reset-FIFO command (CLKS:400-449) # sendResetFifo: *placePattern: CLKS 1*25 0 # # test clear-event command (CLKS:450-549) # placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 # placePattern: RESET 1 0 repeat: 50 # # test load-register-of-FE command (CLKS:550-1049) # ctrlDir: right mask: calib 0-63-3 mask: chan 1-63-3 mask: trig 2-63-3 thresDac: 13 high calibDac: 14 high registerFE: *placePattern: CLKS 1*250 0 *placePattern: CTLREG 0*10 1 0 1*2 0 1*3 0 1*4 0 # # test strobe command (CLKS:1050-2149) # strobe: *placePattern: CLKS 1*550 0 # # test address decoding (CLKS: 2150-2799) # addressRC: 0 placePattern: ADDR 0 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 1 placePattern: ADDR 1 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 2 placePattern: ADDR 2 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 4 placePattern: ADDR 4 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 8 placePattern: ADDR 8 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 16 placePattern: ADDR 16 sendResetChip: *placePattern: CLKS 1*25 0 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 31 placePattern: ADDR 17 sendResetChip: *placePattern: CLKS 1*25 0 # addressRC: 17 addressFE: 19 placePattern: ADDR 17 # # check readout flags (CLKS:2800-3999) # chipsToRead: 1 readLayer: withFastOR XYcoincidence: use checkSum: include registerRC: # placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TRI 1 1 1 1 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 # clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 # placePattern: CLKS 1*20 0 # placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 default: 50 # clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 clearEvt: *placePattern: CLKS 1*25 0 # placePattern: CLKS 1*20 0 placePattern: RESET 1 0 repeat: 50 # # test readout protocol (CLKS:4000-6299) # chipsToRead: 5 checkSum: include readLayer: always registerRC: placePattern: TRI 1*20 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*25 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*175 0 # chipsToRead: 3 registerRC: placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*140 0 # placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: TOKI 1 0 *placePattern: CLKS 1*125 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: TOKI 1 0 *placePattern: CLKS 1*75 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 # placePattern: RESET 1 0 repeat: 50 # chipsToRead: 5 checkSum: exclude readLayer: withFastOR registerRC: placePattern: TRI 1*20 0 *placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*25 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*175 0 # placePattern: TACKI 0 1 1 0 0 *placePattern: CLKS 1*10 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*40 0 # placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: TOKI 1 0 *placePattern: CLKS 1*125 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 placePattern: TOKI 1 0 *placePattern: CLKS 1*25 0 placePattern: DIN 1 0 1*2 0 1*3 0 1*4 0 *placePattern: CLKS 1*25 0 # placePattern: RESET 1 0 repeat: 50 # # test stopping readout sequense (CLKS:6300-6799) # chipsToRead: 1 checkSum: include readLayer: always registerRC: placePattern: RDIN 1 # placePattern: TACKI 0 1 1 0 0 readEvt: *placePattern: RESET 0*40 1 0 *placePattern: CLKS 1*50 0 # repeat: 50 # placePattern: TACKI 0 1 1 0 0 readEvt: *placePattern: CLKS 1*30 resetChip: *placePattern: CLKS 1*20 0 # repeat: 50 # placePattern: TACKI 0 1 1 0 0 readEvt: repeat: 256 placePattern: TOKI 1 0 *placePattern: RESET 0*65 1 0 *placePattern: CLKS 1*75 0 # repeat: 50 # placePattern: TACKI 0 1 1 0 0 readEvt: repeat: 256 placePattern: TOKI 1 0 *placePattern: CLKS 1*55 resetChip: *placePattern: CLKS 1*20 0 # repeat: 50 # # check trigger latency counter (CLKS:6800-8099) # chipsToRead: 5 checkSum: include readLayer: withFastOR registerRC: # placePattern: TRI 1*40 0 *placePattern: TACKI 0*32 1 1 0 0 *placePattern: CLKS 1*50 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*175 0 # placePattern: TRI 1*40 0 *placePattern: TACKI 0*33 1 1 0 0 *placePattern: CLKS 1*50 0 readEvt: *placePattern: RDIN 0*22 0 1 1 0 1 0*60 1 0 0 1 1 0 0 1 0 0 1 0*56 1 0 *placePattern: CLKS 1*175 0 # placePattern: TOKI 1 0 *placePattern: CLKS 1*125 0 placePattern: TOKI 1 0 *placePattern: CLKS 1*75 0 # placePattern: RESET 1 0 repeat: 50 # # end of test pattern (# of CLKS:8100) #