The code for the RAID boards is compiled on an SGI Indigo (h1l4). The main functions are all contained in the archive SiFarm.a which is linked to all the user files. See the Makefile on h1l4 under /disk02/people/markus/SiFarmUser. At present, the user part consists of five files:
The compilation produces an executable SiSPYRaid (size approx. 200 kBytes) which has then to be transferred to the SIDAQ_2 Mac. From there, it is loaded to the RAID boards with the application SiMoCS (s. Sec.3).
SiFarm.a contains the files raid.c with the routines of the main task and FarmUtils.c with general purpose utility routines, e.g. C-wrappers for the FORTRAN histogramming functions and functions doing DMA to the Pedestal and Sigma Buffers in the DPMs. Source code and makefile for updating SiFarm.a reside under /disk02/people/markus/raid. Be careful with changes on that part!!