SVT CONFIGURATION

This pages collects information about the software tools to generate maintain and manage the data needed to download SVT boards.

GENERAL INTRO

We are currently (Jan-00) putting everything in working order for Run II, setting up things in order to be able to download SVT correctly under Run_Control, following the experience of integration tests in the commissioning run. During the commissioning, we used to download each SVT board in turn, under control of a run_control message constructed from the Hardware Database, that sends out a single parameter ("metakey") , of type string, to each board to instruct it about how it should start up. We initialize each board by reading data from diskfiles located in a fixed area. Each board may require more than one file: their name are obtained by appending to the message string some fixed extensions. For instance, an HB board receiving the message 'xxxxx' will load files xxxxx.HB-SSMAP and xxxxx.HB-AMMAP. When there are registers to be set, their values are stored in a file xxxxx.HB-REG.
Configuring SVT is done in two logical steps. The first is to create a high-level description of the desired configuration for SVT, taking the form of a set of files. They are defined in the high-level files description.
The second step is to produce a "machine-level" description of the data that must be downloaded into each board to achieve the desired configuration, taking the form of a different set of files, containing hex data : their formats are defined here
. In the commissioning stage, this information was stored in the online cvs repository, but the current plan is to move the high level files into the appropriate databases, and to generate as much as possible of the low-level files "on the fly" in crate CPU's during the board downloading operation. Below you will find links to existing files and related code.
The same run-control messages must also initialize the spy-buffer monitor system; it is not yet clear that this can work with the current configuration, we need to investigate this more, and make changes where appropriate. One possibility we are considering is to keep both high- and low-level description of the board internal data together, so that each client subscribing to the message can pick what he needs for its own use.

PLANS/ONGOING WORK

See Bill's list for Run-Control and integration issues and Giovanni's list for issues related to the data that must go into the boards. They are probably mostly useful to the people actually involved.

WHERE IS THE STUFF

All software needed to create and manage config files is (will be) maintained in the CDF online CVS repository, under directory svt_config. (see cvs manual for help on cvs). Version numbers like vx.x will identify different releases.
There are three directories:

HOW TO MAKE SVT STARTUP IN A GIVEN CONFIGURATION

  1. Login as cdf_svt
  2. setup -q online cvs
  3. rm /cdf/code-common/cdfonline/svt_config/*
  4. cd /cdf/code-common/cdfonline
  5. cvs export -d svt_config -D today svt_config/data/config-name
If an older version is desired, set the -D option to the desired past date, or better use the -r option with the appropriate release tag (it is mandatory to use either -r or -D).

This makes R_C load into SVT the configuration identified by config-name next time it is started. Look below for a commented list of currently available configurations.


MAJOR CODE VERSIONS


FILES PROVIDED FOR EACH CONFIGURATION

This is the current list of files available by board ('xxx' is the metakey):
Boardfiles
XTF-A xxx.XT-MAP
HF ?
AMS xxx.AM-HITSS, xxx.AM-USEQ,xxx.AMS-REG
AMB xxx.AM-ROADS
HB xxx.HB-HITSS, xxx.HB-ROADS, xxx.HB-REG
TF See detailed description
SPY xxx.SC-REG
MG xxx.MRG-REG

There are some additional files around, mostly input files for the program that produces the above listed ones, and can generally be ignored. They are easily distiguished by the lack of a '-' character in the file extension, which is present in all downloadable files.

AVAILABLE DATA SETS


FILES FOR 2001 RUN


0123X_regular
Nominal performance (on GEANT simulation):

0123X_wide_fakeXFT

Nominal performance (on GEANT simulation):

0123X_wide
Nominal performance (on GEANT simulation):

OLDER FILES, used in commissioning run in year 2000


nom_wide_fakeXFT
TAGGED RELEASES:
Nominal performance (on GEANT simulation):

nom_wider_fakeXFT

Same as the above nom_wide_fakeXFT, except: TAGGED RELEASES:
Nominal performance:

nom_regular_XFTM
Nominal performance (on GEANT simulation):

nom_wide_XFTM
Nominal performance (on GEANT simulation):