C280 BSCLK Trigger Processor

Available Documentation

[DUCAR.DOC]CMC280.OPC

PALS DOCUMENTATION

Note: Please see Ann Mason or Bob Ducar for more information.

 

[DUCAR.DOC] CMC280.OPC
	CAMAC 280 Module:  MRBS Pulse Processor     
	Location:  Tevatron $84 N6
	F(1) A(0):  Read Module Status
	            R16:  TCLK Present
	            R15:  MRBS Clock Present
	            R14:  0
	            R13:  0
	            R12:  MRBS $7A Flag (Reset by $7B)
	            R11:  Fixed Target Flag (Set by TCLK $49)
	            R10:  Collider Flag (Set By TCLK $C1)
	             R9:  Main Ring to Tevatron Transfer Permit
	                  (Tevatron at 150 GeV, 650 to 670 Amps)
	             R8:  Main Ring 2B Cycle
	             R7:  Proton Bunch A Cycle (Set by TCLK $15)
	             R6:  Proton Bunch B Cycle (Set by TCLK $19)
	             R5:  Proton Bunch C Cycle (Set by TCLK $1C)
	             R4:  Main Ring 2A Cycle
	             R3:  P-Bar Bunch X Cycle (Set by TCLK $91 or $9A)
	             R2:  P-Bar Bunch Y Cycle (Set by TCLK $9B)
	             R1:  P-Bar Bunch Z Cycle (Set by TCLK $9C)
	F(6) A(0):  Read Module Number
		    280 Decimal, 118 Hex
	F(7) A(0):  No-op Read
		    No data are returned.
	F(9) A(0):  Reset Module
	            Resets all process gates.  This command 
	            could be dangerous during certain
	            operational scenarios.
	Q and X are returned immediately for all valid codes.
	This module never asserts LAM.

						        5-11-87
 
                      PALS DOCUMENTATION
PALS Directory
28002a28005a28025b
28026c28026d28027a
28028b28028c28029c

 

module 28002a
title ' CAMAC 280 281 282                          R. DUCAR
 12-10-86 '
28002a device 'f173';
F16, F8, F4, F2, F1, A8  pin 1,2,3,4,5,6;
A4, A2, N, A1, S1  pin 7,8,9,10,11;
S2, Z, DF6, DF1, CLR, QX   pin 13,14,15,16,17,18;
NC19, NC20, NC21, PUC, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /QX = /N*F16*F8*F4*F2*/F1*A8*A4*A2*A1*PUC +      "F(1) A(0)
       /N*F16*F8*/F4*/F2*F1*A8*A4*A2*A1*PUC +     "F(6) A(0)
       /N*F16*F8*/F4*/F2*/F1*A8*A4*A2*A1*PUC +    "F(7) A(0)
       /N*F16*/F8*F4*F2*/F1*A8*A4*A2*A1*PUC       ;"F(9) A(0)
 
 /DF6 = /N*F16*F8*/F4*/F2*F1*A8*A4*A2*A1*PUC;
 
 /DF1 = /N*F16*F8*F4*F2*/F1*A8*A4*A2*A1*PUC;
 
 /CLR = /N*F16*/F8*F4*F2*/F1*A8*A4*A2*A1*/S1*PUC + /Z*/S2 + /PUC
 
 
"DESCRIPTION:  This PAL provides the NAF decoding for the CAMAC
               280, 281, and 282 modules.  A F(7)A(0) code for a 
               no-op read is included in the QX term.  
end 28002a
 
module 28005a
title ' CAMAC 280 281 282                          R. DUCAR
 2-5-91 '
28005a device 'f173';
E1, E2, E3, E4, E5, E6  pin 1,2,3,4,5,6;
E7, E8, TPI, B17, _2A  pin 7,8,9,10,11;
NC13, TP, J1, J8, J7, J6   pin 13,14,15,16,17,18;
J5, J4, J3, J2, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /J1 = E1*_2A;
 
 J2 = E2;
 
 J3 = E3;
 
 J4 = E4;
 
 J5 = E5*/B17;
 
 J6 = E6;
 
 J7 = E7;
 
 J8 = E8;
 
 /TP = TPI;
 
"DESCRIPTION:  This PAL processes incoming triggers for the CAMAC
               280, 281, and 282 modules.  Assignments are as 
               follows:
 
       280 Module            281 Module          282 Module
       ----------            ----------          ----------
       E1 - MRBS $7A         E1 - nc             E1 - nc
       E2 - MRBS $7B         E2 - MRBS $D8       E2 - TVBS $D7
       E3 - MRBS $7D         E3 - nc             E3 - nc
       E4 - MRBS $7E         E4 - MRBS $76       E4 - APTVBS to PTVBS Sync
       E5 - MRBS $77         E5 - nc             E5 - TVBS $D9
       E6 - MRBS $78         E6 - MRBS $79a      E6 - nc
       E7 - nc               E7 - MRBS $79b      E7 - nc
       E8 - MRBS $7C         E8 - MRBS $79c      E8 - nc
 
 
 
 5-9-90: Text Change Only.
 2-5-91: Text Change Only.
end 28005a
 
module 28025b
title ' CAMAC 280 281 282                          R. DUCAR
 5-12-88 '
28025b device 'f173';
C, B0, B1, B2, B3, B4  pin 1,2,3,4,5,6;
B5, B6, B7, ED, NC11  pin 7,8,9,10,11;
NC13, _2B, _49, P16, _9AR, _9A   pin 13,14,15,16,17,18;
C1, B1719, _2A, _2ABR, B1719R  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 B1719 = /ED*/B7*/B6*/B5*B4*/B3*B2*B1*B0*C +      "17 Flag +
         /ED*/B7*/B6*/B5*B4*B3*/B2*/B1*B0*C +     "19 Flag
         B1719*C*/B1719R;
 
 B1719R = /ED*/B7*/B6*/B5*B4*/B3*/B2*/B1*B0 +     "11
          /ED*/B7*/B6*/B5*B4*/B3*/B2*B1 +         "12 13
          /ED*/B7*/B6*/B5*B4*/B3*B2*/B1 +         "14 15
          /ED*/B7*/B6*/B5*B4*/B3*B2*B1*/B0 +      "16
          /ED*/B7*/B6*/B5*B4*B3*B2*/B1*/B0 +      "1C
          /C                                      ;"CLR
 
 _2A = /ED*/B7*/B6*B5*/B4*B3*/B2*B1*/B0*C +        "2A Flag
      _2A*C*/_2ABR*/_2B;
 
 _2B = /ED*/B7*/B6*B5*/B4*B3*/B2*B1*B0*C +         "2B Flag
      _2B*C*/__2ABR*/2A;
 
 __2ABR = /ED*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 +      "20
Flag
        /ED*/B7*/B6*B5*/B4*/B3*/B2*/B1*B0 +       "21
        /ED*/B7*/B6*B5*/B4*/B3*B2*B1*/B0 +        "26
        /ED*/B7*/B6*B5*/B4*B3*/B2*/B1*B0 +        "29  
        /ED*/B7*/B6*B5*/B4*B3*B2*/B1*B0 +         "2D
        /ED*/B7*/B6*B5*/B4*B3*B2*B1*/B0 +         "2E
        /C                                        ;"CLR
 
 _49 = /ED*/B7*B6*/B5*/B4*B3*/B2*/B1*B0*C +        "49 Flag
g
      _49*C*/C1;
 
 C1 = /ED*B7*B6*/B5*/B4*/B3*/B2*/B1*B0*C +        "C1 Flag
      C1*C*/_49;
 
 _9A = /ED*B7*/B6*/B5*B4*B3*/B2*B1*/B0*C +         "9A Flag
g
      _9A*C*/_9AR;
 
 __9AR = /ED*/B7*B6*/B5*/B4*/B3*/B2*B1*/B0*C +      "42
Flag
g
       /ED*B7*B6*/B5*/B4*/B3*/B2*B1*/B0*C + /C    "C2
 
 P16 = _2A*_2B*/C                                   ;"Not Used - 0
 
 
"DESCRIPTION:  This PAL decodes various TCLK events as sets
 	      and resets for internally configured flags for
               the CAMAC 280, 281, and 282 modules.
 
 5-12-88: Modified for redefinition of $19 cycle and elimination
          of $91, $9B, and $9C for 6 on 6 operations.
end 28025b
 
module 28026c
title ' CAMAC 280 281 282                          R. DUCAR
 8-18-88 '
28026c device 'f173';
C, B0, B1, B2, B3, B4  pin 1,2,3,4,5,6;
B5, B6, B7, ED, _2A  pin 7,8,9,10,11;
_2B, MCPS, MCPL, INH, INHR, NC18   pin 13,14,15,16,17,18;
NC19, NC20, P21, P22, _15  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 P21 = _2A*_2B*/C                                    ;"Not Used - 0
 
 P22 = _2A*_2B*/C                                    ;"Not Used - 0
 
 _15 = /ED*/B7*/B6*/B5*B4*/B3*B2*/B1*B0*C +         "15 Flag
ed - 0
      _15*C*_2A + 15*C*_2B
 
 INHR = /ED*/B7*/B6*B5*/B4*/B3*/B2*B1*/B0*C +      "22
        MCPL*/MCPS*C + /C
 
 INH = /ED*/B7*/B6*B5*/B4*B3*/B2*B1*/B0*C +        "Inhibit Flag 
       INH*/INHR                                   ;"Set by $_2A
 
 
"DESCRIPTION:  This PAL decodes various TCLK events for in-
 	      ternally generated flags for the CAMAC 280, 281,
               and 282 modules.
 
 5-12-88: $19 and $1C Flags eliminated.
 
 8-18-88: Added INH to prevent MRBS clock events from going out 
          from beginning of $_2A cycle to 1 usec after McCarthy 
          Pulse has been received.  Front panel INH output (which
          is active low for Inhibit) wires to Priority In Lemo
          of MRBS 175 module in slot 8 of Crate $84.
 
          PAL 28026B.DAT remains as a valid PAL for the 281 and 282
          modules.  PAL 28026C.DAT may, however, be used for the 
          281 and 282 modules with no ill effect.
end 28026c
 
module 28026d
title ' CAMAC 280 281 282                          R. DUCAR
 5-9-90 '
28026d device 'f173';
C, B0, B1, B2, B3, B4  pin 1,2,3,4,5,6;
B5, B6, B7, ED, _2A  pin 7,8,9,10,11;
_2B, MCPS, MCPL, INH, INHR, NC18   pin 13,14,15,16,17,18;
NC19, NC20, _1C, P22, _15  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 _1C = /ED*/B7*/B6*/B5*B4*B3*B2*/B1*/B0*C +         "1C Flag
      _1C*C*_2A;
 
 P22 = _2A*_2B*/C                                    ;"Not Used - 0
 
 _15 = /ED*/B7*/B6*/B5*B4*/B3*B2*/B1*B0*C +         "15 Flag
ed - 0
      _15*C*_2A + 15*C*_2B
 
 INHR = /ED*/B7*/B6*B5*/B4*/B3*/B2*B1*/B0*C +      "22
        MCPL*/MCPS*C + /C +                        "McCarthy Pulse or CLR
        _15 + _1C                                    "15 + 1C Flags
 
 INH = /ED*/B7*/B6*B5*/B4*B3*/B2*B1*/B0*C +        "Inhibit Flag 
       INH*/INHR                                   ;"Set by $_2A
 
 
"DESCRIPTION:  This PAL decodes various TCLK events for in-
 	      ternally generated flags for the CAMAC 280, 281,
               and 282 modules.
 
 5-12-88: $19 and $_1C Flags eliminated.
 
 8-18-88: Added INH to prevent MRBS clock events from going out 
          from beginning of $_2A cycle to 1 usec after McCarthy 
          Pulse has been received.  Front panel INH output (which
          is active low for Inhibit) wires to Priority In Lemo
          of MRBS 175 module in slot 8 of Crate $84.
 
          PAL 28026B.DAT remains as a valid PAL for the 281 and 282
          modules.  PAL 28026C.DAT may, however, be used for the 
          281 and 282 modules with no ill effect.
 
 4-6-90:  $_1C Flag added. Only asserts during $_2A cycle.
          _15 and _1C Flags added to INHR.
          This change made to effect 280 module operation.
          PAL 28026D.DAT may, however, be used for the 
          281 and 282 modules with no ill effect.
 
 5-9-90:  Note addition only:  This PAL in process of being in-
          stalled on 280, 281, and 282 modules - noting that 
          B and C versions are still ok to use on the 281 and 282.
end 28026d
 
module 28027a
title ' CAMAC 280 281 282                          R. DUCAR
 12-10-86 '
28027a device 'f173';
C, B0, B1, B2, B3, B4  pin 1,2,3,4,5,6;
B5, B6, B7, ED, _2A  pin 7,8,9,10,11;
NC13, ABC, NC15, NC16, NC17, NC18   pin 13,14,15,16,17,18;
M7B, CC, BB, AA, M7A  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 ABC = /ED*B7*/B6*B5*/B4*B3*/B2*B1*/B0*C +     "AA
       /ED*B7*/B6*B5*B4*B3*/B2*B1*B0*C +       "BB
       /ED*B7*B6*/B5*/B4*B3*B2*/B1*/B0*C       ;"CC
 
 AA = /ED*B7*/B6*B5*/B4*B3*/B2*B1*/B0*C        ;"AA
 
 BB = /ED*B7*/B6*B5*B4*B3*/B2*B1*B0*C          ;"BB
 
 CC = /ED*B7*B6*/B5*/B4*B3*B2*/B1*/B0*C        ;"CC
 
 M7A = /ED*/B7*B6*B5*B4*B3*/B2*B1*/B0*C*_2A +   "MRBS $7A Flag
       M7A*C*/M7B*_2A;
 
 M7B = /ED*/B7*B6*B5*B4*B3*/B2*B1*B0*C         ;"MRBS $7B
 
 
"DESCRIPTION:  This PAL decodes the three revolution events on
               either the MRBS or TVBS Beam Sync Clock.  The
               PAL also provides the OR of these three events
               and a flag for the MRBS $7A event which is reset
               by MRBS event $7B.  This PAL is common to the
               CAMAC 280, 281, and 282 modules.
end 28027a
 
module 28028b
title ' CAMAC 280                                  R. DUCAR
 2-5-91 '
28028b device 'f173';
_9A, _9B, _9C, _49, _2B, _2A  pin 1,2,3,4,5,6;
M7A, AA, BB, CC, Q3  pin 7,8,9,10,11;
Q4, Q1, Q2, TP, TR, T4   pin 13,14,15,16,17,18;
T3, T2, T1, RB, RC  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /RC = _2A*_2B*_9C                      ;"Not Used - 0
 
 /RB = _2A*_2B*_9C                      ;"Not Used - 0
 
 /T1 = Q1*TR*_2A*_9A*AA                ;"MRBS $7A - BATCH An
 
 /T2 = Q2*TR*_2A*_9A*M7A*/_49*TP*AA     ;"MRBS $7B - BUNCH An
 
 /T3 = Q3*TR*AA                      ;"MRBS $7D
 
 /T4 = Q4*TR*AA                      ;"MRBS $7E 
 
"DESCRIPTION:  This PAL provides final output logic functions
               for the CAMAC 280 module.
 
 
       280 Module            281 Module          282 Module
       ----------            ----------          ----------
       E1 - MRBS $7A         E1 - nc             E1 - nc
       E2 - MRBS $7B         E2 - MRBS $D8       E2 - TVBS $D7
       E3 - MRBS $7D         E3 - nc             E3 - nc
       E4 - MRBS $7E         E4 - MRBS $76       E4 - APTVBS to PTVBS Sync
       E5 - MRBS $77         E5 - nc             E5 - TVBS $D9
       E6 - MRBS $78         E6 - MRBS $79a      E6 - nc
       E7 - nc               E7 - MRBS $79b      E7 - nc
       E8 - MRBS $7C         E8 - MRBS $79c      E8 - nc
 
 5-12-88: RB and RC no longer needed.  T1 and T2 modified for 6 on 6.
 
 5-9-90:  Text change only.
 
 2-5-91:  Text change only.  This PAL now for 280 only.
end 28028b
 
module 28028c
title ' CAMAC 280                                  R. DUCAR
 11-15-91 '
28028c device 'f173';
_9A, _9B, _9C, _49, _2B, _2A  pin 1,2,3,4,5,6;
M7A, AA, BB, CC, Q3  pin 7,8,9,10,11;
Q4, Q1, Q2, TP, TR, T4   pin 13,14,15,16,17,18;
T3, T2, T1, RB, RC  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /RC = _2A*_2B*_9C                      ;"Not Used - 0
 
 /RB = _2A*_2B*_9C                      ;"Not Used - 0
 
 /T1 = Q1*TR*_2A*AA                   ;"MRBS $7A - BATCH An
 
 /T2 = Q2*TR*_2A*_9A*M7A*/_49*TP*AA     ;"MRBS $7B - BUNCH An
 
 /T3 = Q3*TR*AA                      ;"MRBS $7D
 
 /T4 = Q4*TR*AA                      ;"MRBS $7E 
 
"DESCRIPTION:  This PAL provides final output logic functions
               for the CAMAC 280 module.
 
 
       280 Module            281 Module          282 Module
       ----------            ----------          ----------
       E1 - MRBS $7A         E1 - nc             E1 - nc
       E2 - MRBS $7B         E2 - MRBS $D8       E2 - TVBS $D7
       E3 - MRBS $7D         E3 - nc             E3 - nc
       E4 - MRBS $7E         E4 - MRBS $76       E4 - APTVBS to PTVBS Sync
       E5 - MRBS $77         E5 - nc             E5 - TVBS $D9
       E6 - MRBS $78         E6 - MRBS $79a      E6 - nc
       E7 - nc               E7 - MRBS $79b      E7 - nc
       E8 - MRBS $7C         E8 - MRBS $79c      E8 - nc
 
 5-12-88: RB and RC no longer needed.  T1 and T2 modified for 6 on 6.
 
 5-9-90:  Text change only.
 
 2-5-91:  Text change only.  This PAL now for 280 only.
 
 11-15-91:  _9A term taken out of /T1 equation for test.
end 28028c
 
module 28029c
title ' CAMAC 280                                  R. DUCAR
 2-5-91 '
28029c device 'f173';
_49, _2B, _2A, NC4, _15, _19  pin 1,2,3,4,5,6;
_1C, AA, BB, CC, Q6  pin 7,8,9,10,11;
Q7, Q8, Q5, TR, T8, T7   pin 13,14,15,16,17,18;
T6, T5, TP, NC22, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /T5 = Q5*TR*/_2A*/_2B*AA +            "MRBS $77
       Q5*TR*_2A*_15*AA +              "MRBS $77 - PILOT BATCH Pn from $15
       Q5*TR*_2A*_1C*AA +              "MRBS $77 - PILOT BATCH Pn from $1C
       Q5*TR*_2B*_15*AA                ;"MRBS $77 - BATCH Pn
 
 /T6 = Q6*TR*_49*/_2A*/_2B*TP*AA        ;"MRBS $78
 
 /T7 = Q7*TR*AA                      ;"Spare MRBS Channel
 
 /T8 = Q8*TR*/_49*_2B*_15*TP*AA +       "MRBS $7C - BUNCH Pn
       Q8*TR*/_49*_2A*_15*TP*AA +       "Special Proton Studies with $15
       Q8*TR*/_49*_2A*_1C*TP*AA         ;"Special Proton Studies with $1C
 
"DESCRIPTION:  This PAL provides final output logic functions
               for the CAMAC 280 module.
 
 
       280 Module            281 Module          282 Module
       ----------            ----------          ----------
       E1 - MRBS $7A         E1 - nc             E1 - nc
       E2 - MRBS $7B         E2 - MRBS $D8       E2 - TVBS $D7
       E3 - MRBS $7D         E3 - nc             E3 - nc
       E4 - MRBS $7E         E4 - MRBS $76       E4 - APTVBS to PTVBS Sync
       E5 - MRBS $77         E5 - nc             E5 - TVBS $D9
       E6 - MRBS $78         E6 - MRBS $79a      E6 - nc
       E7 - nc               E7 - MRBS $79b      E7 - nc
       E8 - MRBS $7C         E8 - MRBS $79c      E8 - nc
 
 
 5-12-88: Removed $_19 and $_1C terms for 6 on 6 operations.
 
 4-6-90:  $_1C term is alive and used in one of the two added lines 
          of the /T8 term that allows $_15 or $_1C beam into TEV
          during a $_2A cycle.  /T5 also modified to allow a $77
          on a $_2A cycle with a $_1C.
 
 5-9-90:  Text change only.
 
 2-5-91:  Text change only.
end 28029c

Security, Privacy, Legal