clara gaspar, april 2014 ecs (marseille+annecy+cern) 1 fpga ccpc firmware dimserver mini daq test...

3
Clara Gaspar, April 2014 ECS (Marseille+Annecy+CERN) 1 FPGA CCPC Firmware DIMServer Mini DAQ Test UI HW Description UI Operation UI Control PC WinCC-OA PCIe driver P PCIe Library P Ccserv XML Description PCIe

Upload: natalie-garrett

Post on 18-Jan-2018

215 views

Category:

Documents


0 download

DESCRIPTION

Clara Gaspar, April 2014 HwTool Integration 3

TRANSCRIPT

Page 1: Clara Gaspar, April 2014 ECS (Marseille+Annecy+CERN) 1 FPGA CCPC Firmware DIMServer Mini DAQ Test UIHW Description UIOperation UI Control PC WinCC-OA PCIe

Clara Gaspar, April 2014

ECS (Marseille+Annecy+CERN)

1

FPGA CCPCFirmware DIMServer

Mini DAQ

Test UI HW Description UI Operation UI

Control PC

WinCC-OA

PCIe driver P

PCIe Library P Ccserv

XMLDescription

PCIe

Page 2: Clara Gaspar, April 2014 ECS (Marseille+Annecy+CERN) 1 FPGA CCPC Firmware DIMServer Mini DAQ Test UIHW Description UIOperation UI Control PC WinCC-OA PCIe

Clara Gaspar, April 2014

XML Example

❚ Do we need a tool to generate XML from something?

2

<!- Declare an area with two registers and add it to the board type

<hwtype name="MyArea1" address=0x1000000><reg name="myReg1" type="PCIe" offset=0x0 size=1 poll=5 onchange=1></reg><reg name="myReg2" type="PCIe" offset=0x4 size=1 poll=5 onchange=1></reg>

</hwtype>

<hwtype name="MyBoardType" type="CCPC"><node name="myArea1" type="MyArea1"</node>

</hwtype>

<!- Declare a block of registers/memory area accessed for read/write in one go

<reg name="myBigReg" type="PCIe" address=0x1000000 size=30 poll=5 onchange=1></reg>

<!- The same but inside the block one of the registers can be accessed individualy

<hwtype name="MyArea" address=0x1000000><reg name="myBigReg" type="PCIe" offset=0x0 size=30 poll=10 onchange=1></reg><reg name="mySpecialReg" type="PCIe" offset=0x10 size=1 poll=5 onchange=1></reg>

</hwtype>

Page 3: Clara Gaspar, April 2014 ECS (Marseille+Annecy+CERN) 1 FPGA CCPC Firmware DIMServer Mini DAQ Test UIHW Description UIOperation UI Control PC WinCC-OA PCIe

Clara Gaspar, April 2014

HwTool Integration

3