FASTBUS SOFTWARE WORKSHOP Geneva, 23 and 24 September
Total Page:16
File Type:pdf, Size:1020Kb
CERN 85-15 4 November 1985 Data Handling Division ORGANISATION EUROPÉENNE POUR LA RECHERCHE NUCLÉAIRE CERN EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH FASTBUS SOFTWARE WORKSHOP Geneva, 23 and 24 September 1985 PROCEEDINGS GENBVA 1985 © Copyright CERN, Genève, 1985 Propriété littéraire et scientifique réservée pour Literary and scientific copyrights reserved in ail tous les pays du monde. Ce document ne peut countries of the world. This report, or any part of être reproduit ou traduit en tout ou en partie sans it, may not be reprinted or translated without l'autorisation écrite du Directeur général du written permission of the copyright holder, the CERN, titulaire du droit d'auteur. Dans les cas Director-General of CERN. However, permission appropriés, et s'il s'agit d'utiliser le document à will be freely granted for appropriate non• des fins non commerciales, cette autorisation commercial use. sera volontiers accordée. If any patentable invention or registrable design Le CERN ne revendique pas la propriété des is described in the report, CERN makes no claim inventions brevetables et dessins ou modèles to property rights in it but offers it for the free use susceptibles de dépôt qui pourraient être décrits of research institutions, manufacturers and dans le présent document; ceux-ci peuvent être others. CERN, however, may oppose any attempt librement utilisés par les instituts de recherche, by a user to claim any proprietary or patent rights les industriels et autres intéressés. Cependant, le in such inventions or designs as may be des• CERN se réserve le droit de s'opposer à toute cribed in the present document. revendication qu'un usager pourrait faire de la propriété scientifique ou industrielle de toute invention et tout dessin ou modèle décrits dans le présent document. ABSTRACT FASTBUS is a standard for modular high-speed data-acquisition, data-processing and control, developed for use in high-energy physics experi• ments incorporating different types of computers and microprocessors. This Workshop brought together users from different laboratories for a review of current software activities, using the standard both in experiments and for test equipment. There are also papers on interfacing and the present state of systems being devel• oped for use in future LEP experiments. Also included is a discussion on the pro• posed revision of FASTBUS Standard Routines. iii FOREWORD All participants at the CERN FASTBUS Software Workshop are most warmly thanked for contributing to its success. The speakers are to be especially thanked for their oral presentations and written papers; session chairmen did an excellent job in keeping more or less to the agreed schedule and in animating the discussions; those people 'behind the scenes' at any such meeting were, as usual, so efficient and discreet that, as usual, we hardly noticed them at all; nevertheless their efforts were fully appreciated. E.M.Rimmer (Organiser) CONTENTS Foreword Review of FASTBUS Software Activities Use of FASTBUS Software at CERN T.Berners-Lee Status of FASTBUS Software in the FERMILAB Computing Department A.Cohen, S.Gannon, R.Pordes FASTBUS Software Activity at SLAC D.Sherden Work at NIKHEF on FASTBUS FASTBUS in Experiments GJ.Evers, D.Gosman, H.L.Groenstege FASTBUS at the Colliding Detector Facility FASTBUS Software in the NA31 Data Acquisition Environment C. Van Ingen Software Environment of FASTBUS ADC's Crate for NA31 Experiment The NA31 Collaboration (K.Peach) FASTBUS Test Software The NA31 Collaboration (CArnault) FASTBUS Monitor Program Y.Bertsch FASTBUS Slave Diagnostic Software C.M.Story A System for Test of Slave Functions in FASTBUS Modules P.Werner FASTBUS Interfacing Software Software for a FASTBUS B.Yost Segment Manager/Interface Module A FASTBUS to VME Interface J.Oliver, J.Rohlf, A.Schwartz Plans for a CERN FASTBUS Database T.Kozlowski, K.Osen, C.M.Story and Associated Software CERN Supported FASTBUS E.M.Rimmer 103 Interface Routines Proposed Revision of the J.Marsh, C.Van Ingen, 108 FASTBUS Standard Routines D.Sherden, EJ.Siskind FASTBUS 'Equipment' The XOP Processor in FASTBUS J.Lecoq, M.Moynot, G.Perrot, 112 P.Bahler, C.Ljuslin The Readout Controller of the ALEPH S.R.Amendolia, F.Fidecaro, 121 Time Projection Chamber S.Galeotti, B.Löfstedt, A.Lusiani, P.S.Marrocchesi, D.Passuello The ALEPH Event Builder R.Benetta, A.Marchioro, 131 G.McPherson, W.von Rüden General Purpose Masters GPMs H.Müller 138 in the DELPHI Online System The FASTBUS Segment Extension D.Machen 145 The Crate Clustering Card S.R.Amendolia, F.Fidecaro, S.Galeotti, 157 B.Löfstedt, P.S.Marrocchesi, D.Passuello ******************************** List of Participants 165 ******************************** viü Use of FASTBUS Software in CERN T.J. Berners-Lee CERN /DD, 1211 Geneva 23, Switzerland Introduction FASTBUS via CAM AC This paper serves to review the use of At CERN, CAMAC is the most established FASTBUS software in CERN. It does not method of connecting a minicomputer or VME describe any aspect in great detail: many systems based system to FASTBUS. CAMAC Input/ are detailed elsewhere in these procedings or Output registers are used to drive one of the existing documents. interface modules which reside in the FASTBUS crate. This is largely for historical reasons: there CERN FASTBUS software [1] is based on the is a lot of CAMAC equipment at CERN, as original set of routines proposed by the well as CAMAC-related software. FASTBUS Software Working Group, and is implemented on on a variety of processors and Direct Interfacing interfaces. It is in widespread use both for hardware development and data acquisition. An alternative to CAMAC interfacing is direct interface from a parallel I/O register to the Of the application software which has been FASTBUS interface module. The CERN produced, we may distinguish between that FASTBUS routines have been extended to being used for testing FASTBUS hardware and optionally run through a DRE 11 interface from software, and that being used for actual data the DEC UNIBUS, or from a VME crate via a acquisition. Firstly, though, let us put it in CERN-designed "SuperVIOR" Input/Output perspective with a look at the hardware configu• Register. rations on which software is running. The VIRTUS project [21, which uses a farm of General Purpose Master (GPM) modules [3] for Paths to FASTBUS on- or off-line processing, used a direct parallel interface between a VAX UNIBUS register and Below is an attempt to show on one diagram all the auxilliary parallel interface of a GPM to the methods currently used at CERN of con• form another variety of host — FASTBUS inter• necting a computer to FASTBUS: connection. The VALET-Plus Small test system VME is in extensive use in CERN, one use being as the "VALET-Plus" [4] small test sys• tem. This is based on an M68000 processor running in a VME crate, but uses a personal computer as a terminal, and to provide disk and printer support. The personal computer runs a small "bridge" program, which communicates with the VME crate over a 19.2 kbaud RS232 serial line. Bridge software has been produced for the Macintosh, Hewlett Packard and IBM personal computers, and also for the VAX. The Macintosh and IBM-PC implementations are the most commonly used. The MacVEE aproach An alternative test system along similar lines is the "MacVEE" [5] designed by CERN/EP, and in use by UAl and Aleph. This uses a direct bus connection beteen a Macintosh bus and the VME backplane. The software runs on the processor in the Macintosh. The CERN 1 FASTBUS routines have been ported to thEvene t Builder [8], and the Aleph Time MacVEE. Projection Processor [9]. In summary, these are M68000 or M68020 based processor modules, FASTBUS Interface devices with a large amount of memory and a fast, closely coupled, FASTBUS interface, a number SM FSEQ FIORI CFI 1821 of peripheral interfaces and the option of exten• sion via an M68020 bus connector. I 1 Three interface devices have been designed aTht e "Mac-GPM" CERN, and the LeCroy Research Systems 1821 Segment Manager [6] is also used. The CERAN recent development is the porting of the interfaces are VALET-Plus test software to the GPM, making it into a single-board FASTBUS test system. It can be used with the same selection of personal • The FIORI (FASTBUS Input-Output computers as the Valet-plus. Register Interface), a European version of the IORFI module. This is basically aSoftwar e portability collection of multiplexers and latches allowing a connected computer to doO f the various processors mentioned which are virtually anything with the FASTBUS designed for running application software, the bus lines, under program control. It isCER N FASTBUS routine library is available for slow, but flexible, and therefore useful the VAX, NORD, VALET-Plus, MacVEE and for testing slave modules and crates. GPM. It is worth pointing out that this FASTBUS access software has had to be made • The Fast Sequencer [7], by contrast, portable, avoiding the snares of varying byte runs very fast. An ECL sequencer actsorderin g and compiler and system facilities on as FASTBUS interface, and executes adifferen t machines. The library will also provide pre-loaded list of FASTBUS operations. access through a variety of interfaces and inter• There are several constraints on the lisconnectiot n paths, selectable at run time. length and content which make the fast sequencer inappropriate for general data This work, and standardisation, at the system acquisition, but the fact that it can driveleve l now allows user application programs to a slave to and past the speed limits ruonf interchangeably on all any host: a feature the FASTBUS specificaion makes it much exploited, especially for module testing. invaluable for hardware testing. Graphics Emulation • The CFI (CERN FASTBUS Interface) is the current tool for general data Graphics emulation is a feature of the acquisition.