Presentation is loading. Please wait.

Presentation is loading. Please wait.

RCU Status 1.RCU hardware 2.Firmware/Software 3.Test setups HiB, UiB, UiO.

Similar presentations


Presentation on theme: "RCU Status 1.RCU hardware 2.Firmware/Software 3.Test setups HiB, UiB, UiO."— Presentation transcript:

1 RCU Status 1.RCU hardware 2.Firmware/Software 3.Test setups HiB, UiB, UiO

2 Readout Contoller Unit

3 1. RCU hardware Prototype I –3 commercial PLDA PCI boards (two at CERN) –FEC test (ALTRO + FEE bus) –SIU integration –Qtr 3, 2001 – Qtr 3, 2002 Prototype II –Custom design –All functional blocks –PCB: pre-prototype: June 2002, full prototype: September 2002 –Implementation of basic functionality (FEE-board-> SIU): Qtr 4, 2002 –Implementation of essential functionality: Qtr 2, 2003 Prototype III –Minimal implementation –Form factor adapted to sector geometry –SRAM FPGA -> masked version or Antifuse FPGA (if needed) RCU production –Qtr 2, 2003

4 RCU prototype II Implementation of essential functionality –Custom design –All functional blocks PCI core SIU-CMC interface SIU PCI bus FPGA internal SRAM memory FLASH EEPROM DCS Ether- net TTC rx FEE- bus DCS Profi- bus FEE SC

5 RCU prototype II Costs (August 2002) –dominated by FPGA + SRAM –FPGA EP20K400EFC672 speed grade 3: 350 EUR speed grade 1: 700 EUR –SRAM (32bit + 64bit) 0 + 2 MByte: 40 EUR 8 + 4 Mbyte: 240 EUR –all other components approx. 200 EUR –total component cost fully loaded: 1140 EUR minimal: 590 EUR

6 RCU prototype II Motherboard –FPGA –memory data buffer –memory work space –ethernet –PCI interface –CMC connectors Mezzanine card I –SIU Mezzanine card II –FEE bus A and B –TTCrx –Profibus interface

7 RCU prototype II - motherboard x 314 mm107 mm

8 Status motherboard (in collab. with HD) 3 working prototypes Basic functionality ALTERA PCI core external 32 bit and 64 bit memory NIOS core Ethernet RCU functionality PLDA PCI core FEB / SIU programs 8 more prototypes in production RCU prototype II – status (1)

9 Status RCU mezzanine board 2 boards fully loaded 2 x FEC-bus TTCrx Profibus 6 boards with minimal configuration FEC-bus Layout finished, PCB production and mounting of components at UiO (David Wormald) in September RCU prototype II - status (2)

10 2. RCU firmware design – control flow State machines RCU resource & priority manager TTCrx FEE bus controller SIU controller DDL command decoder FEE SC DCS low level Watchdog 1: health agent Debugger PCI core Huffman encoder DCS high level Watchdog 2

11 Firmware/software – status and plans FEC-bus controller Jørgen Lien and ALTRO crew SIU controller Jørgen and Csaba Soos DCS Jon Wikne (UiO) and FH Worms TTCrx Interface Sten Solli (UiO) SEU watchdogs UiB

12 FEC/SIU controller – current RCU setup Based on the PLDA commercial PCI-board One PLDA-RCU reads out channel by channel up to 13 FECs Data is stored in internal memory and transferred via PCI to the PC memory. This is done on a channel by channel basis. Linux application (mini-DAQ, API, device driver) merges the data from each channel into one subevent.

13 Firmware status RCU-FEE integration: ReadOut of ALTROs/FECs via PCI using PLDA prototype done (channel by channel) Configuration of ALTROs via PCI using the FE- Bus/ALTRO protocol done RCU-DDL integration: Transfer of data from PLDA- RCU ext. Memory to DDL (current SIU mezzanine) done Writing of status reg. on PLDA-RCU from DDL(SIU mezzanine) done Writing blocks of data from DDL (SIU mezzanine) to PLDA-RCU memory (int. and ext.) done

14 Migration to prototype II – next steps Transfer of current design to Prototype II (done). Testing of data transfer from Prototype II external memory to new SIU card. Building larger fragments (up to full subevent) in RCU external memory (consisting of data from all active channels on all ALTROs/FECs connected to the RCU front end branches) – optimize performance/latency vs memory usage. Improve PCI readout speed by DMA engine Merging the Front End and DDL/SIU designs to send data via the new SIU to the RORC/DAQ.

15 DCS Backend interface to DCS – OPC server Fieldbus –Profibus –Ethernet Frontend interface –Profibus slave ASIC + SM –Ethernet chip + NIOS core

16 PROFIBUS Profichip VPC3+B Evaluation Kit including Slave board, Software (incl. source code C) 5 pcs programmable PROFIBUS- DP Slave Controller ASICs Hilscher Master-Card CIF50-PB (PCI-interface, incl. software) 3 pcs Profichip EasyConn PB diagnostic plugs with P/D sockets 10 m profichip PROFIBUS cable type A (EN 50170) OPC server licence

17 TTCrx interface Firmware development –Model the TTCrx ASIC with VHDL –Emulate the TTC system stimulating the TTCrx model –Code the communication between the RCU FPGA and the TTCrx Trigger system test –Need “TPC local trigger crate” –Where? CERN or Oslo/Bergen? –Who?

18 TTCrx block diagram

19 RCU system for TPC test: end 2002 /2003 FEE-bus controller SIU controller PCI core SIU interface PCI bus FPGA SRAM LINUX RH7.2 FEE configurator PCI-tools RCU-API device driver SIU DIU interface PCI bus LINUX RH7.2 DATE 4 DDL/PCI-tools HLT-RORC- API device driver DIU DDL RCU prototype II RORC ext. SRAM FLASH Manager FEE- bus Trigger FEE-boards PCI core FPGA


Download ppt "RCU Status 1.RCU hardware 2.Firmware/Software 3.Test setups HiB, UiB, UiO."

Similar presentations


Ads by Google