*CMZU: 2.07/10 24/04/96 12.02.29 by Heiko Itterbeck *CMZU: 2.07/05 10/10/95 11.25.00 by C. Kleinwort *-- Author : C. Kleinwort 10/10/95 ! BANKname BANKtype !Comments ! TABLE ILCD ! Iron_Layer_Coincidences_Definitions ! ! emulate lookup table: ! MEMOUT = OR of MASKO for all rows of a definition with ! IEOR(IAND(input,MASKU),MASKV)=0 ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 IDEF I -INF +INF ! definition identifier 2 MASKU I -INF +INF ! mask for bit usage 3 MASKV I -INF +INF ! mask for bit values 4 MEMOUT I -INF +INF ! memory output pattern ! END TABLE ! BANK : ILCD 1 302572 ! FORMAT: 2I,(4I) ILCD 0/ 4 60 24 24 24 3 24 40 40 3 24 264 264 3 24 48 48 3 24 272 272 3 24 288 288 3 24 8 8 2 24 16 16 2 24 32 32 2 24 256 256 2 35 56 56 3 35 280 280 3 35 4120 4120 3 35 296 296 3 35 4136 4136 3 35 4360 4360 3 35 304 304 3 35 4144 4144 3 35 4368 4368 3 35 4384 4384 3 35 8 8 2 35 16 16 2 35 32 32 2 35 256 256 2 35 4096 4096 2 45 312 312 3 45 4152 4152 3 45 4376 4376 3 45 4392 4392 3 45 4400 4400 3 45 8 8 2 45 16 16 2 45 32 32 2 45 256 256 2 45 4096 4096 2 2312 280 280 3 2312 4120 4120 3 2312 296 296 3 2312 4136 4136 3 2312 304 304 3 2312 4144 4144 3 2312 8 8 2 2312 16 16 2 2312 32 32 2 2312 256 256 2 2312 4096 4096 2 10303 8 8 3 10404 16 16 3 10505 32 32 3 10808 256 256 3 11212 4096 4096 3 10312 4104 4104 3 10312 8 8 2 10312 4096 4096 2 10408 272 272 3 10408 16 16 2 10408 256 256 2 11314 24576 24576 3 11314 8192 8192 2 11314 16384 16384 2 ENDQ %===================================================================== Example: --------- row 1: 24 24 24 3 = one of the conditions of setup with ID 24 (>=2 out of 4) (1997: all barrel modules) meaning: 24 = ID of layer coincidence condition 24 = 0x18 = mask1 24 = 0x18 = mask2 3 = Layerboard output if above CONDITION = 0 CONDITION = (LBinput & mask1) ^ mask2 e.g. hits in layers 3, 4 and 8 => LBinput=2**3+2**4+2**8=280 => CONDITION = (280 & 24) ^ 24 = 24 ^ 24 = 0 (0x118 & 0x18)^ 0x18 = 0 => LBoutput=3 (bit 0: fulfilled coincidence of 2 of the inner 4 layers bit 1: indicating if 1 of the inner 4 layers was hit at all => row 1 checks, if layers 3 and 4 were hit ! %===================================================================== *CMZU: 2.07/10 24/04/96 12.12.32 by Heiko Itterbeck *-- Author : Heiko Itterbeck 24/04/96 ! BANKname BANKtype !Comments ! TABLE ILCH ! Iron_Layer_Coincidences_Hardware_Parameters ! 1 row per layer board ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 IDEF I -INF +INF ! Identifier of DEFinition --> ILCD 2 IHWCNF I 0 8140 ! HardWare CoNFiguration: ! LB_No*128 + (adjacent_ClusterNo*16+SlotNo) 3 ISTRCH I 0 3 ! STRetCHing ! END TABLE ! BANK : ILCH 77006 302583 ! FORMAT: 2I,(3I) ILCH 0/ 3 64 35 16 1 35 0 1 35 17 1 35 1 1 35 18 1 35 2 1 35 19 1 35 3 1 2312 20 1 2312 4 1 35 21 1 35 5 1 35 22 1 35 6 1 35 23 1 35 7 1 24 8 1 24 9 1 24 10 1 24 11 1 24 24 1 24 25 1 24 26 1 24 27 1 24 28 1 24 64 1 24 65 1 24 66 1 24 67 1 24 68 1 24 69 1 24 12 1 24 40 1 24 41 1 24 42 1 24 43 1 24 56 1 24 57 1 24 58 1 24 59 1 24 60 1 24 70 1 24 71 1 24 72 1 24 73 1 24 74 1 24 75 1 24 44 1 35 48 1 35 32 1 35 49 1 35 33 1 35 50 1 35 34 1 45 51 1 45 35 1 45 52 1 45 36 1 45 53 1 45 37 1 35 54 1 35 38 1 35 55 1 35 39 1 ENDQ %===================================================================== Example: --------- row 1: 35 16 1 = setup for Layerboard 0 meaning: 35 = ID of layer coincidence conditions in ILCD: >= 3 out of 5 16 = 0x10 location of Layerboard in hardware cluster crate: Crate Cluster 1 (=B), slot 0 1 = Stretching of input signals by 1 bc (to 2 bc) %===================================================================== ! BANKname BANKtype !Comments ! TABLE IRWE B16 ! Iron_Response_Wire_Event bank ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 MODULE I -INF +INF ! module no. of chamber (0, 63) ! + 256*error code (run < 92582) ! + 256*(time slice+128) ! for multi time slice mode 2 NWIRE I 0 8191 ! channel no. of wire ! layer (2**9) + element (2**4) + tube END TABLE ========================================================================== 0M/NPRNT---- NAMED BANK IRWE 2 WITH 42 DATA WORDS AT INDEX 31207 (INDEX TO NEXT BANK = 0) header see below / \ / \ 1- 20 2 41 33045 2099 32533 2613 32533 3123 32789 3632 32533 4153 32533 4155 32789 4666 32533 5177 32789 5684 21- 40 33045 5684 32789 6696 32533 7208 32533 7719 32535 3676 32791 3676 33047 3676 33303 3676 32797 8 33053 518 41- 60 32797 1030 32806 28 32550 540 32550 1051 32812 6867 32556 7379 32557 2051 32557 2563 32557 3072 32813 3075 61- 80 32813 3586 33069 3586 32813 4097 32813 4611 32813 5124 32813 5634 32813 5635 32813 5636 32574 5710 32830 5710 81- 84 33086 5710 33342 5710 ============================================================================= example: First hit in above IRWE 2 (2: post remapping) bank row 1, col 1 ------------------ 33045= 0x8115 |||| || ------- 0x15 = 21 => module 21 || || --------- 0x81 = 129 = 128+1 => timeslice 1 2099= 0x833 ||| || ------- 0x3 = 3 => LST 3 || | -------- 0x3 = 3 => element 3 | --------- 0x8 = 8 => layer 8 *CMZU: 2.07/10 24/04/96 12.02.29 by Heiko Itterbeck *CMZU: 2.07/05 10/10/95 11.26.05 by C. Kleinwort *-- Author : C. Kleinwort 10/10/95 ! BANKname BANKtype !Comments ! TABLE ISCD ! Iron_Sector_Coincidences_Definitions ! ! emulate lookup table: ! MEMOUT = OR of MEMOUT for all rows of a definition with ! IEOR(IAND(input,MASKU),MASKV)=0 ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 IDEF I -INF +INF ! definition identifier 2 MASKU I -INF +INF ! mask for bit usage 3 MASKV I -INF +INF ! mask for bit values 4 MEMOUT I -INF +INF ! memory output pattern ! END TABLE ! BANK : ISCD 92582 302693 ! FORMAT: 2I,(4I) ISCD 0/ 4 148 9501 192 192 2 9501 320 320 2 9501 384 384 2 9501 576 576 2 9501 640 640 2 9501 768 768 2 9501 1088 1088 2 9501 1152 1152 2 9501 1280 1280 2 9501 1536 1536 2 9501 2112 2112 2 9501 2176 2176 2 9501 2304 2304 2 9501 2560 2560 2 9501 3072 3072 2 9501 3 3 8 9501 5 5 8 9501 6 6 8 9501 9 9 8 9501 10 10 8 9501 12 12 8 9501 17 17 8 9501 18 18 8 9501 20 20 8 9501 24 24 8 9501 33 33 8 9501 34 34 8 9501 36 36 8 9501 40 40 8 9501 48 48 8 9501 4097 4097 8 9501 4098 4098 8 9501 4100 4100 8 9501 4104 4104 8 9501 4112 4112 8 9501 4128 4128 8 9501 8193 8193 8 9501 8194 8194 8 9501 8196 8196 8 9501 8200 8200 8 9501 8208 8208 8 9501 8224 8224 8 9501 12288 12288 8 9501 16385 16385 8 9501 16386 16386 8 9501 16388 16388 8 9501 16392 16392 8 9501 16400 16400 8 9501 16416 16416 8 9501 20480 20480 8 9501 24576 24576 8 9501 32769 32769 8 9501 32770 32770 8 9501 32772 32772 8 9501 32776 32776 8 9501 32784 32784 8 9501 32800 32800 8 9501 36864 36864 8 9501 40960 40960 8 9501 49152 49152 8 9501 64 64 1 9501 128 128 1 9501 256 256 1 9501 512 512 1 9501 1024 1024 1 9501 2048 2048 1 9501 1 1 4 9501 2 2 4 9501 4 4 4 9501 8 8 4 9501 16 16 4 9501 32 32 4 9501 4096 4096 4 9501 8192 8192 4 9501 16384 16384 4 9501 32768 32768 4 -9501 3 3 2 -9501 5 5 2 -9501 6 6 2 -9501 9 9 2 -9501 10 10 2 -9501 12 12 2 -9501 17 17 2 -9501 18 18 2 -9501 20 20 2 -9501 24 24 2 -9501 33 33 2 -9501 34 34 2 -9501 36 36 2 -9501 40 40 2 -9501 48 48 2 -9501 65 65 2 -9501 66 66 2 -9501 68 68 2 -9501 72 72 2 -9501 80 80 2 -9501 96 96 2 -9501 129 129 2 -9501 130 130 2 -9501 132 132 2 -9501 136 136 2 -9501 144 144 2 -9501 160 160 2 -9501 192 192 2 -9501 768 768 8 -9501 1280 1280 8 -9501 1536 1536 8 -9501 2304 2304 8 -9501 2560 2560 8 -9501 3072 3072 8 -9501 4352 4352 8 -9501 4608 4608 8 -9501 5120 5120 8 -9501 6144 6144 8 -9501 8448 8448 8 -9501 8704 8704 8 -9501 9216 9216 8 -9501 10240 10240 8 -9501 12288 12288 8 -9501 16640 16640 8 -9501 16896 16896 8 -9501 17408 17408 8 -9501 18432 18432 8 -9501 20480 20480 8 -9501 24576 24576 8 -9501 33024 33024 8 -9501 33280 33280 8 -9501 33792 33792 8 -9501 34816 34816 8 -9501 36864 36864 8 -9501 40960 40960 8 -9501 49152 49152 8 -9501 1 1 1 -9501 2 2 1 -9501 4 4 1 -9501 8 8 1 -9501 16 16 1 -9501 32 32 1 -9501 64 64 1 -9501 128 128 1 -9501 256 256 4 -9501 512 512 4 -9501 1024 1024 4 -9501 2048 2048 4 -9501 4096 4096 4 -9501 8192 8192 4 -9501 16384 16384 4 -9501 32768 32768 4 ENDQ %===================================================================== Example: --------- row 1: 9501 192 192 2 = one of the conditions of setup with ID 9501 meaning: 9501 = ID of sector condition (first 1995) 192 = mask1 192 = mask2 CONDITION = (SBinput & mask1) ^ mask2 2 = Layerboard output if above CONDITION = 0 e.g. hits in triggers in modules 6 and 7 => LBinput=2**6+2**7=192 => CONDITION = 0 => SBoutput=2 ( = BIEC>1) => row 1 checks, if modules 6 and 7 fulfill the BIEC>1 condition %===================================================================== *CMZU: 2.07/10 24/04/96 12.12.32 by Heiko Itterbeck *-- Author : Heiko Itterbeck 24/04/96 ! BANKname BANKtype ! Comments ! TABLE ISCH ! Iron_Sector_Coincidences_Hardware_Parameters ! 1 row per 2 sector board RAMs (16->4 LUT) ! ATTributes: ! ----------- !COL ATT-name FMT Min Max ! Comments ! 1 IDEF0 I -INF +INF ! def. identifier -> ISCD, for low nibble RAM 2 IDEF1 I -INF +INF ! def. identifier -> ISCD, for high nibble RAM ! (IDEF=0: RAM disabled ) 3 IRAMID I 0 115 ! Ram_ID: SB_No*16+RAM_Pair_No 4 IHWCNF I 0 159 ! HardWareConfiguration: connected to GPTP ! GPTP_Cd_No*16+GPTPInputPort (-1:not conn.) 5 ITOFF I -1 +1 ! input time offset (in bc) ! END TABLE ! BANK : ISCH 92581 302707 ! FORMAT: 2I,(5I) ISCH 0/ 5 8 0 0 0 -1 0 -9501 9501 1 2 -1 9501 -9501 2 0 -1 0 0 3 -1 0 0 0 16 -1 0 -9501 9501 17 3 0 9501 -9501 18 1 0 0 0 19 -1 0 ENDQ %===================================================================== Example: --------- row 1: 0 0 0 -1 0 RAM 0 (both ICs) of Sectorboard not used and output is NOT connected to GPTP row 2: -9501 = ID of LUT definitions to load into IC0 of RAM 1 of SB 0 9501 = ID of LUT definitions to load into IC1 of RAM 1 of SB 0 1 = 0x01 : SB 0, RAM 1 2 = 0x02 : output connected to GPTP 0, input port 2 (=C) -1 = relative delay in bc at GPTP input port %===================================================================== *CMZU: 2.07/10 24/04/96 12.02.32 by Heiko Itterbeck *CMZU: 2.07/05 10/10/95 11.27.45 by C. Kleinwort *-- Author : C. Kleinwort 10/10/95 ! BANKname BANKtype !Comments ! TABLE ITPD ! Iron_Trigger_Pipeline_Definition ! (GPTP trigger card) ! ! emulate lookup table: ! MEMOUT = OR of MEMOUT for all rows of a definition with ! IEOR(IAND(input,MASKU),MASKV)=0 ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 IDEF I -INF +INF ! definition identifier 2 MASKU I -INF +INF ! mask for bit usage 3 MASKV I -INF +INF ! mask for bit values 4 MEMOUT I -INF +INF ! memory output pattern ! END TABLE ! BANK : ITPD 119526 302739 ! FORMAT: 2I,(4I) ITPD 0/ 4 22 9502 2 2 5 9502 8 8 6 9502 1 1 1 9502 4 4 2 9502 32 32 24 9502 80 80 24 9502 272 272 24 9502 1040 1040 24 9502 128 128 24 9502 320 320 24 9502 1088 1088 24 9502 512 512 24 9502 1280 1280 24 9502 2048 2048 24 9502 16 16 8 9502 64 64 8 9502 256 256 8 9502 1024 1024 8 9502 8192 8192 160 9502 32768 32768 192 9502 4096 4096 32 9502 16384 16384 64 ENDQ %===================================================================== Example: --------- row 1: 9502 2 2 5 = one of the conditions of setup with ID 9502 meaning: 9502 = ID of layer coincidence condition 2 = mask1 2 = mask2 CONDITION = (GPTP-RAMinput & mask1) ^ mask2 5 = GPTP output if above CONDITION = 0 e.g. hits in modules 6 and 7 (=> BIEC>0) => GPTP-RAMinput=2 => CONDITION = 0 => GPTPoutput=5 (TE 0: Mu_BIEC TE 2: Mu_2_BIoOEC) %===================================================================== *CMZU: 2.07/10 24/04/96 12.12.32 by Heiko Itterbeck *-- Author : Heiko Itterbeck 24/04/96 ! BANKname BANKtype !Comments ! TABLE ITPH ! Iron_Trigger_Pipeline_Hardware_Parameters ! 1 row per GPTP/APTM card ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 IDEF I -INF +INF ! definition identifier --> ITPD 2 ID I 0 7 ! GPTP/APTM Card No 3 IMODE I 0 3 ! input mode (0=OR, 1=AND) ! Mode_Ports_AB*2+Mode_Ports_CD ! END TABLE ! BANK : ITPH 119526 302750 ! FORMAT: 2I,(3I) ITPH 0/ 3 1 9502 0 3 ENDQ %===================================================================== Example: --------- col 1: 9502 = ID of LUT conditions used in GPTP RAM col 2: 0 = Card No 0 3 = signals put in both pairs of ports are ANDed %===================================================================== ! BANKname BANKtype !Comments ! TABLE TEL1 B32 ! Trigger elements Level 1 ! ! Bank number = card number ! ! teoff = (card number ) * 64 ! ! trigger elements 0 to 63 come from card 0 ! trigger elements 64 to 127 come from card 1 ! trigger elements 128 to 191 come from card 2 ! ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 history I -32 32 ! time slice (0=slice of trigger) ! positive values indicate slices after trigger time ! (post history, pipeline was already held), negative ! values indicate prehistory (elements that did ! not set a subtrigger either because there was ! no subtrigger or the downscale count was nonzero). 2 te0 I -INF +INF ! trigger elements teoff+ 0 to teoff+31 3 te1 I -INF +INF ! trigger elements teoff+32 to teoff+63 END TABLE ============================================================================= Muon TEs (group h, 56-63) in bank TEL1 0, => columns 3, bits 24-31 e.g. col 3 = 167772160 = 0xA000000 = bits 25 & 27 => Mu_BOEC & Mu_Ba ! TABLE TGPP B08 ! Contents of the GPTP modules ! ! Banknumber = 256*XIDAQ_branch + local_increment ! The local_increment is used to distinguish ! different GPTP groups of the same branch. ! ! For details of the channel numbering refer to manual by ! E. Wuensch. ! ! ATTributes: ! ----------- !COL ATT-name FMT Min Max !Comments ! 1 input_id I 0 255 ! Board_No*4 + channel_no (= 8 bits) ! Board_no starts at 0. ! Channel_no = 0 for A ! = 1 for B ! = 2 for C ! = 3 for D 2 delay I 0 31 ! delay for this channel 3 offset I 0 31 ! offset for first pipeline channel 4 bunch__0 I 0 255 ! channel contents for bunch 0 5 bunch__1 I 0 255 ! channel contents for bunch 1 6 bunch__2 I 0 255 ! channel contents for bunch 2 7 bunch__3 I 0 255 ! channel contents for bunch 3 8 bunch__4 I 0 255 ! channel contents for bunch 4 9 bunch__5 I 0 255 ! channel contents for bunch 5 10 bunch__6 I 0 255 ! channel contents for bunch 6 11 bunch__7 I 0 255 ! channel contents for bunch 7 12 bunch__8 I 0 255 ! channel contents for bunch 8 13 bunch__9 I 0 255 ! channel contents for bunch 9 14 bunch_10 I 0 255 ! channel contents for bunch 10 15 bunch_11 I 0 255 ! channel contents for bunch 11 16 bunch_12 I 0 255 ! channel contents for bunch 12 17 bunch_13 I 0 255 ! channel contents for bunch 13 18 bunch_14 I 0 255 ! channel contents for bunch 14 19 bunch_15 I 0 255 ! channel contents for bunch 15 20 bunch_16 I 0 255 ! channel contents for bunch 16 21 bunch_17 I 0 255 ! channel contents for bunch 17 22 bunch_18 I 0 255 ! channel contents for bunch 18 23 bunch_19 I 0 255 ! channel contents for bunch 19 24 bunch_20 I 0 255 ! channel contents for bunch 20 25 bunch_21 I 0 255 ! channel contents for bunch 21 26 bunch_22 I 0 255 ! channel contents for bunch 22 27 bunch_23 I 0 255 ! channel contents for bunch 23 28 bunch_24 I 0 255 ! channel contents for bunch 24 29 bunch_25 I 0 255 ! channel contents for bunch 25 30 bunch_26 I 0 255 ! channel contents for bunch 26 31 bunch_27 I 0 255 ! channel contents for bunch 27 32 bunch_28 I 0 255 ! channel contents for bunch 28 33 bunch_29 I 0 255 ! channel contents for bunch 29 34 bunch_30 I 0 255 ! channel contents for bunch 30 35 bunch_31 I 0 255 ! channel contents for bunch 31 * END TABLE ============================================================================ 0M/NPRNT---- NAMED BANK TGPP 2048 WITH 36 DATA WORDS AT INDEX 70630 (INDEX TO NEXT BANK = 0) header ; entire first two lines (up to word 30) see below / \ 1- 30 35 4 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 64 64 0 0 0 0 0 31- 60 0 0 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 64 64 61- 90 64 0 0 0 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 91-120 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 3 2 0 0 0 0 0 0 0 0 0 0 0 121-144 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 ============================================================================= example: First hit in above IRWE 2 (2: post remapping) bank row 1: ====== col 1: 0 : GPTP 0, input port 0 (=A) col 2: 2 : depth/bc of delay pipe, 2B set on mice piano ... col 22/23: 64 = 0x40 : input bit 6 => Mu_BLBA (Bwd. Lower Barrel) row 2: ====== col 22/23/24: 64 = 0x40 : input bit 6 => Mu_BLBA_t0 (Bwd. Lower Barrel) row 3: ====== col 21/22: 1 = 0x01 : input bit 0 => Mu_FUBA (Fwd. Upper Barrel) row 4: ====== col 22/23/24: 1 = 0x01 : input bit 0 => Mu_FUBA_t0 (Fwd. Upper Barrel)