3–7 Sept 2007
Prague
Europe/Zurich timezone

Software environment for controlling and re-configuration of Xilinx Virtex FPGAs

6 Sept 2007, 16:45
1h 15m
Prague

Prague

Czech Republic

Speaker

Mr Dominik Fehlker (University of Bergen)

Description

The Time Projection Chamber (TPC) is one of the sub-detectors of the ALICE detector that is currently being commissioned as a part of the Large Hadron Collider (LHC) at CERN. The Detector Control System (DCS) is used for control and monitoring of the system. For the TPC Front End Electronics (FEE) the control node is a Readout Control Unit (RCU) that communicates to higher layers via Ethernet, using the standard framework DIM (Distributed Information Management). The RCU is equipped with commercial SRAM based FPGAs that will experience errors due to the radiation environment they are operating in. This article will present the implemeted hardware solution for error correction and will focus on the software environment for configuration and controlling of the system.

Summary

In this article the implementation of the DCS for FPGA configuration and error
correction in the TPC Front End Electronics (FEE) is introduced. In the field layer
the DCS consists of an RCU (ReadOut Control Unit) motherboard with DCS (Detector
Control System) board and several Front-End-Cards (FECs) attached. On the RCU an SRAM
based Xilinx Virtex-II Pro FPGA is essential for the read-out chain. Since the
Front-End-Electronics operates in a radiation environment single event upsets can
occur. The Xilinx Virtex-II supports a feature called Active Partial Reconfiguration.
This allows for reconfiguration of the FPGA without interrupting operation. There is
also radiation tolerant 8 MB of Flash memory and a Flash based Actel FPGA on the RCU
motherboard. The Actel FPGA communicates with the DCS Board, the Flash Memory and the
configuration memory of the Xilinx Virtex-II. This hardware solution has three
different modes of operation: initial configuration, scrubbing (continously
overwriting the configuration memory) and frame by frame readback verification and
error correction. The last mode reads back every frame one by one and if an error is
found this one frame is overwritten in the configuration memory. It is also possible
to count the number of errors that occured using this mode.
The DCS board drives a Linux Operating system which provides a communication system
called the FeeServer (Front-End-Electronics Server). The FeeServer is in charge of
publishing values and status information as well as receiving commands from the upper
layers. To provide a remote way for configuring the Xilinx a Linux device driver is
used and functions in the FeeServer have been implemented to access the Xilinx device
through the standard communication channels. The FeeServer consists of a device
independent core and the so called ControlEngine (CE) to support the use in different
detectors. Finite State Machines (FSM) for each mode of operation have been
introduced in the Control Engine of the FeeServer. In case of a frame by frame
readback verification and error correction it is also possible to publish the number
of occurred errors to the higher layers.
Configuration files are stored in the Configuration Database and are transported by
the DCS communication software to the FeeServer. Since error tolerance and robustness
are mandatory checksums are used to check the data integrity. This article focuses on
the software part of the configuration and error correction modes.
Although the presented remote configuration functionality was developed for the RCU
and the Virtex-II, it is possible to use this solution in other parts of the detector
as well. In these parts the devices to be configured are Xilinx Virtex-4s, which are
also supported by the device driver.

Primary author

Mr Dominik Fehlker (University of Bergen)

Co-authors

Mr Benjamin Schockert (University of Applied Sciences Worms) Ms Carmen Gonzalez Gutierrez (CERN, European Organization for Nuclear Research) Mr Dag Larsen (University of Bergen) Prof. Dieter Röhrich (University of Bergen) Prof. Håvard Helstrup (Bergen University College) Mr Johan Alme (University of Bergen) Mr Ketil Røed (Bergen University College) Prof. Kjetil Ullaland (University of Bergen) Mr Luciano Musa (CERN, European Organization for Nuclear Research) Mr Matthias Richter (University of Bergen) Prof. Ralf Keidel (University of Applied Sciences Worms) Mr Roberto Campagnolo (CERN, European Organization for Nuclear Research) Mr Sebastian Bablok (University of Bergen) Prof. Thomas Beierlein (University of Applied Sciences Mittweida) Mr Tobias Krawutschke (University of Applied Sciences Cologne) Mr Torsten Alt (University of Heidelberg) Prof. Volker Lindenstruth (University of Heidelberg)

Presentation materials