COMPASS Frontend Readout Driver and Buffer Module (CATCH)

(Universität Freiburg)


DESCRIPTION

For the COMPASS experiment a readout-driver and buffer-module called CATCH (COMPASS Accumulate, Transfer & Control Hardware) is in development. The FPGA based VME module serves as an interface between the front-end of the detector systems and an on optical S-LINK, which transmits the data to the Readout Buffer (ROB). It also acts as an fan-out for the COMPASS trigger distribution and time synchronisation system (TCS). The readout-driver monitors the trigger and data flow to and from the front-ends. In addition a specific data buffer structure and sophisticated data flow control is used to pursue local pre-event building. At startup the module controls all necessary front-end initialisations.

CATCH schematic

Figure 1: Overview of the CATCH 9U VME module.

The CATCH module is the standard readout-module within the COMPASS experiment. This is the module which directly connects to the front-end boards and thus has to provide flexibility for different detector electronics. The input to the CATCH main board is done through four CATCH mezzanine cards, built according to the CMC standard. These boards are generic and can connect to a variety of physical links (e.g. HOTLink, Vitesse, optical or copper). We also have built mezzanine cards with TDC chips and cards with fast deadtime-free scalers. As an example for such a CMC card a HOTLink mezzanine card is shown in the figure above.

Each HOTLink Mezzanine card controls four front-end boards and receives data at a maximum transmission rate of 40 MByte/s. The data from up to four Mezzanine cards (i.e. 16 front-end boards) are sorted according to the event number and then combined to sub-events. The framed data are transmitted to the ROBs via S-LINK at a speed of 100 MByte/s (160 MByte/s with the new generation of S-LINK cards). Additionally an independent spy buffer can be used to access a fraction or all of the events via the VME bus at a lower rate. This allows for an easy setup of a standalone DAQ without S-LINK and spill buffer, e.g. at test beams.

The VME-interface is used to control and initialise the detector mounted front-end electronics. Data to the front-end can be downloaded at a rate of 10 MBaud. An experiment-wide synchronisation signal (38.88 MHz) as well as trigger signals and event information is received from the Trigger Control System (TCS). The experiment clock, time-zero synchronisation and the trigger signals are distributed to the front-end boards.

For the COMPASS test beam in September 1999 and the development of the front-end electronics 10 CATCH-X prototypes have been produced. The CATCH-X is designed similar to the CATCH but as a 6U VME-module. This constrains the number of mezzanines cards (e.g. CMC-HOTLink) to one and requires the S-LINK card to be mounted on the main board as a mezzanine card, since there is no P3 connector on 6U VME crates. The choice of the 6U size for the CATCH-X prototypes was driven by the larger availability of such crates in the associated laboratories.


STATUS


DOCUMENTATION


CONTACTS


CERN - CERN High Speed Interconnect - CERN S-LINK
Fritz-Herbert Heinsius - 17 October 2001