next up previous contents
Next: 2.2 Memory organisation Up: 2 Implementing code for Previous: 2 Implementing code for

2.1 Code Structure

 

The Sili-Farm sees all data being transmitted over the Silicon VMEtaxi fibre optic ring. These data already have their BOS bank structure. The following banks may be present:

An incoming event is directed to a free buffer in the RAID memory by the FIC. The RAID then processes the data and fills histograms. For this purpose, the code running on the RAID boards has been split into two levels:

  1. the main task dealing with the initialization of the board and the handling of run starts and -stops with the functions (names are pretty self-explaining):
  2. the user task consisting of three functions:

    These three functions are freely programmable to do whatever you like with the data.

Additional information (all you need...) is delivered by means of a global structure AnalRecord with the following entries:

The AnalRecord is filled by the main task: you can just use it.


next up previous contents
Next: 2.2 Memory organisation Up: 2 Implementing code for Previous: 2 Implementing code for

Markus Kausch
Fri Oct 17 14:02:27 MST 1997