Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

Manuscript Title: A Software Package for the Configuration of Hardware Devices following a Generic Model
Authors: N. Almeida, R. Alemany, F. Glege, J. C. da Silva, J. Varela
Program title: Generic Configurator
Catalogue identifier: ADUK
Journal reference: Comput. Phys. Commun. 163(2004)41
Programming language: C++.
Computer: Intel Pentium IV PC.
Operating system: Linux 2.4.2.
RAM: This depends on the complexity of the module configuration. Test runs require less then 500KB
Word size: 32
Keywords: control systems, data acquisition, hardware, configuration, VME, PCI.
PACS: 07.05.Dz.
Classification: 6.1.

External routines: HAL (version 03.03), http://cmsdoc.cern.ch/~cschwick/software/documentation,
Xerces-C library (version 2.3), http://xml.apache.org

Nature of problem:
Generalization of hardware device configuration procedure in VME or PCI buses.

Solution method:
The developed package uses a generic configuration model that allows users to configure VME and PCI devices. The hardware configuration parameters and the data structures associated to each hardware register are specified in XML files. The package performs the desired configuration using these files along with a description of the hardware access proprieties of each register.

Unusual features:
requires the installation of HAL (version 03.03) and the Xerces-C library (version 2.3).

Running time:
This depends on the complexity of the device configuration and on the bus interface. The test runs using a dummy bus adapter require less then 1 s.

[1] J.Boyer, XML Version 1.0, W3C recommendation, 15 march 2001: http://www.w3.org/.
[2] Proceedings of the International Conference on Computing in High Energy and Nuclear Physics, CHEP 2001, Beijing, China, September 3-7, 2001, Ed.H.S.Chen, pp.601-605, Science Press, ISBN 1-880132-77-xx, J.Gutleber et al., "Clustered Data Acquisition for the CMS Experiment".
[3] CMS CR-2003/007, V.Brigljevic et al., "Using XDAQ in Application Scenarios of the CMS Experiment".
[4] DOM Level 3 Core Specification Version 1.0, A.L.Hors et al., W3C Working Draft 09 Jun3 2003: http://www.w3.org/.