TESLA Report 2005-13 1 DOOCS environment for FPGA-based cavity control system and control algorithms development Piotr Pucyk, Waldemar Koprek, Paweł Kaleta, Jarosław Szewiński, Krzysztof T. Poźniak, Tomasz Czarski, Ryszard S.Romaniuk Warsaw ELHEP Group Institute of Electronic Systems (ISE), Warsaw University of Technology, Nowowiejska 15/19, 00-665 Warsaw, Poland photonics@ise.pw.edu.pl ABSTRACT The paper describes the concept and realization of the DOOCS control software for FPGA- based TESLA cavity controller and simulator (SIMCON). It bases on universal software components, created for laboratory purposes and used in MATLAB based control environment. These modules have been recently adapted to the DOOCS environment to ensure a unified software to hardware communication model. The presented solution can be also used as a general platform for control algorithms development. The proposed interfaces between MATLAB and DOOCS modules allow to check the developed algorithm in the operation environment before implementation in the FPGA. As the examples two systems have been presented. Keywords: Distributed Object Oriented Control System, DOOCS, cavity simulator, cavity controller, SIMCON, Matlab, FPGA, VHDL, LLRF control system, control software environment, DOOCS specifics for FPGA systems Corresponding author: ppucyk@ntmail.desy.de