Cat
CatCaloUpgrade_load.cpp
Go to the documentation of this file.
1 // $Id: $
2 // Include files
3 #include <iostream>
4 
5 //#include "DeclareFactoryEntries.h"
6 #include "DLL.h"
7 
8 // Elements
9 #include "FEB_v1.h"
10 #include "CU_v1.h"
11 #include "SeqPGA.h"
12 #include "FePGA.h"
13 
14 #include "UsbFTMLInterface.h"
15 #include "UsbMLSpiBus.h"
16 #include "UsbMLI2cBus.h"
17 #include "ICPhaser.h"
18 
19 // Processus
20 #include "EmulateFE.h"
21 #include "TestUSB.h"
22 #include "TestI2C.h"
23 #include "TestSPI.h"
24 #include "Acquisition.h"
25 
26 DECLARE_DLL ( CatCaloUpgrade )
27 {
28  DECLARE_ELEMENT ( FEB_v1, Proto v1 of the Upgrade LHCb Calo front-end board);
29  DECLARE_ELEMENT ( CU_v1, Proto v1 of the Upgrade LHCb Calo Control board);
30  DECLARE_ELEMENT ( SeqPGA, SeqPGA FPGA description);
31  DECLARE_ELEMENT ( FePGA, FePGA FPGA description);
32 
33  DECLARE_ELEMENT ( UsbFTMLInterface, USB FT245 interface description);
34  DECLARE_ELEMENT ( UsbMLSpiBus, USB Spi Bus);
35  DECLARE_ELEMENT ( UsbMLI2cBus, USB I2c Bus);
36  DECLARE_ELEMENT ( ICPhaser, ICECAL Delay Chip);
37  DECLARE_PROCESSUS ( EmulateFE , Emulation of the front-end fpga processing);
38  DECLARE_PROCESSUS ( TestI2C , Test of the I2C interface);
39  DECLARE_PROCESSUS ( TestSPI , Test of the SPI interface);
40  DECLARE_PROCESSUS ( TestUSB , Test of the USB interface);
42 }
43 
45 FACTORY ( Element , CU_v1 )
47 FACTORY ( Element , FePGA )
48 
53 
DECLARE_DLL(CatCaloUpgrade)
#define DECLARE_ELEMENT(x, y)
Definition: DLL.h:26
Definition: FePGA.h:23
Definition: CU_v1.h:19
#define DECLARE_PROCESSUS(x, y)
Definition: DLL.h:29
Definition: FEB_v1.h:21
#define FACTORY(type, x)
Definition: DLL.h:43
Definition: SeqPGA.h:23