module _c27941H2; title 'CAMAC 279 V8.2 15-March-2002 Checksum: 2074 Fuse No: 0251' c27941H2 device 'F153'; "Pin definitions B0,B1,B2,B3 pin 1,2,3,4; " Beam sync event signals B4,B5,B6,B7 pin 5,7,8,9; ED pin 6; " Event Decoded BSDCE pin 11; " Beam Sync Decoded Clock Event BS4,BS3,BS2,BS1 pin 12,13,14,15; " ARM0,ARM1 pin 16,17; R0,R1 pin 18,19; " Timer triggers GND,VCC pin 10,20; bsclk = [B7..B0]; " Macro for beam sync events equations !BSDCE = !ED & (bsclk == ^h75) "75 # !ED & (bsclk == ^h7B); "7B R0 = !ED & (bsclk == ^h7B) & ARM0; "7B*ARM0 R1 = !ED & (bsclk == ^h75) & ARM1; "75*ARM1 "DESCRIPTION: This PAL decodes MRBS events for the CAMAC 279 " module. It provides the BSDCE pulse and up to " four separate outputs to the PAL at location " 42. It also provides the reference resets to " both of the 279 timing channels. This PAL is " unique and is programmed for 279 V8.2. " " For this PAL: BSDCE = $75 + $7B " R0 = $7B * ARM0 " R1 = $75 * ARM1 end _c27941H2