Upload
augustus-bell
View
213
Download
0
Embed Size (px)
Citation preview
ODE Workshop, LIP, 07-08/04/[email protected]@cea.fr
SRP: Software
Irakli MANDJAVIDZE
DAPNIA, CEA Saclay,91191 Gif-sur-Yvette, France
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 2
Overview
Software requirements Current software activity Software project
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 3
Software Requirements
Configuration→ Communication channels→ TTC section→ Active partitions and modules
TCCs, DCCs, ABs
Masks
→ Time-out values→ Low-high water-marks→ SR algorithm parameters→ Test mode parameters
e.g. forced TT flags
Monitoring and controls→ Operation states
RC, sTTS, internal FSM
→ Operation statisticse.g. error counters
→ Contents of spy memory Debug and test
→ Low level software to validate functionality
→ Standalone operation→ Operation with minimal number of
ODE components
Development within the CMS software frameworks (when possible) Question on support for FPGA firmware download via VME (or BS):
→ will it be provided and by whom?
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 4
Current Software Activity
AB is based on Xilinx Virtex2Pro FPGA with embedded PowerPCs→The use of PowerPC allows for parallel hardware/software
development
Low level control and test software→ “C” libraries and standalone applications
to configure and control AB
developing in parallel with firmware
firmware and libraries being debugged / tested on Xilinx development kits
→Currently run on embedded PowerPC→ In principle, reusable in AB driver
for control via VME
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 5
Low Level Software
Access to hardware resources via a Local Bus →Hardware is composed of modules
Module type: e.g. TTCModule id for several instances: e.g. ComChan
→Each module has its own Control and Status Register spaceRegistry file: command, configuration, status, statistics ...Optional Memory spaces: spy, pre-loaded data, ...
→Only 32-bit words are supported
Local bus address
00Module Id Module internal address space21314171821
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 6
Low Level Software (Cont.)
Test/Debug applications developed so far→ TCS_Emu
Controls TCS emulator hardware
→ AbTesterControls AB Tester hardware
Low level libraries developed for modules→ Communication channels→ TTC→ TCS_Emu→ TstSender for AbTester
TCC_EmuAbTx_Emu
→ TstReceiver for AbTesterDCC_EmuAbRx_Emu
[email protected]@cea.fr ODE Workshop, LIP, 07-08/04/05 7
Software Project
Getting experience with CMS framework→ Installing DAQKit on a Linux PC→Standalone HAL exercises→Connecting the PC to a 6U VME64x crate
via SBS620 adapter
→Familiarize with VME64x Plug&Playusing CES RIO3 VME processors
→Understand ODE CrateController and CMS RunCotrol applications
... for seamless integration within common ODE software framework→be inspired from DCC and TCC developments