Status of Readout Board Firmware Guillaume Vouters On behalf of the MiniDAQ developers 11 December 2014 LHCb Upgrade Electronics.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

Internal Logic Analyzer Final presentation-part B
20 July 2006 H. Chanal, R. Cornat, E. Delage, O. Deschamps, J. Laubser, M. Magne, P. Perret LPC Clermont Level 0 Decision Unit PRR.
Muon Electronic Upgrade Data Format. 32 bits nODE Architecture: remarks Six 32 input channels nSYNC for each nODE Three nSYNC per GBT LLT implemented.
1 Tell10 Guido Haefeli, Lausanne Electronics upgrade meeting 10.February 2011.
Upstream Tracker Data Format JC Wang Upgrade Electronics & AMC40 Firmware Meeting 12/12/2013.
LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.
Niko Neufeld CERN PH/LBC. Detector front-end electronics Eventbuilder network Eventbuilder PCs (software LLT) Eventfilter Farm up to 4000 servers Eventfilter.
Study on buffer usage and data packing at the FE Federico Alessio, with inputs from Richard, Ken, Guillaume LHCb Electronics Upgrade Meeting 11 April 2013.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
Firmware based Array Sorter and Matlab testing suite Final Presentation August 2011 Elad Barzilay & Uri Natanzon Supervisor: Moshe Porian.
Start-up & synchronization sequence for Front-End LHCb Electronics Upgrade Meeting 13 February 2014 F. Alessio, CERN.
David Cussans/Scott Mandry, NIKHEF, October 2008 TLU v0.2.
Status of the Beam Phase and Intensity Monitor for LHCb Richard Jacobsson Zbigniew Guzik Federico Alessio TFC Team: Motivation Aims Overview of the board.
CERN Real Time conference, Montreal May 18 – 23, 2003 Richard Jacobsson 1 Driving the LHCb Front-End Readout TFC Team: Arek Chlopik, IPJ, Poland Zbigniew.
Status report for TFC and ECS* LHCb Upgrade Electronics meeting F. Alessio, CERN with acknowledgements to Cairo (Caplan), Mauricio (Rivello),
Network Architecture for the LHCb DAQ Upgrade Guoming Liu CERN, Switzerland Upgrade DAQ Miniworkshop May 27, 2013.
14/6/2000 End Cap Muon Trigger Review at CERN 1 Muon Track Trigger Processing on Slave and Hi-pT Boards C.Fukunaga/Tokyo Metropolitan University TGC electronics.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
J. Prast, G. Vouters, Arlington, March 2010 DHCAL DIF Status Julie Prast, Guillaume Vouters 1. Future CCC Use in DHCAL Setup 2. Calice DAQ Firmware Implementation.
24/03/2010 TDAQ WG - CERN 1 LKr L0 trigger status report V. Bonaiuto, G. Carboni, L. Cesaroni, A. Fucci, G. Paoluzzi, A. Salamon, G. Salina, E. Santovetti,
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
LHCb front-end electronics and its interface to the DAQ.
HBD electronics status All the ADC and XMIT boards are installed. –Top 3 crates are for the ADC, XMIT boards –Bottom crate is for test pulse boards/future.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
Niko Neufeld, CERN/PH. Online data filtering and processing (quasi-) realtime data reduction for high-rate detectors High bandwidth networking for data.
1 Calorimeter electronics Upgrade Outcome of the meeting that took place at LAL on March 9th, 2009 Calorimeter Upgrade Meeting Barcelona March 10th-11st,
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
NSYNC and Data Format S. Cadeddu – INFN Cagliari P. Ciambrone – INFN LNF.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
PhD Student, Federico Alessio Directeur de thèse, Renaud Le Gac Superviseur de thèse, Richard Jacobsson, CERN Beam and Background Monitoring and the Upgrade.
TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February
TEL62 AND TDCB UPDATE JACOPO PINZINO ROBERTO PIANDANI CERN ON BEHALF OF PISA GROUP 14/10/2015.
Common test for L0 calorimeter electronics (2 nd campaign) 4 April 2007 Speaker : Eric Conte (LPC)
Could we abandon the HW LLT option and save money (and allow possible further improvements to the upgraded muon system)? Alessandro Cardini of behalf of.
DAQ interface + implications for the electronics Niko Neufeld LHCb Electronics Upgrade June 10 th, 2010.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
CERN F. Alessio & R. Jacobsson CERN LHCb Electronics Upgrade Meeting, April 15, LHCb Upgrade Front End  Back End Readout Architecture Proposal.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
Ken Wyllie, CERN Tracker ASIC, 5th July Overview of LHCb Upgrade Electronics Thanks for the invitation to Krakow!
1 Status of Validation Board, Selection Board and L0DU Patrick Robbe, LAL Orsay, 19 Dec 2006.
Straw readout status Status and plans in Prague compared with situation now Choke and error Conclusions and plans.
August 4th 2008Jacques Lefrancois1 Digital specification Keep signal treatment ( dynamic pedestal subtraction)Keep signal treatment ( dynamic pedestal.
09/09/2010 TDAQ WG - Louvain 1 LKr L0 trigger status report V. Bonaiuto, A. Fucci, G. Paoluzzi, A. Salamon, G. Salina, E. Santovetti, F. Sargeni, F. Scarfi’
AMC40 firmware Data format discussions 17/10/2013Guillaume Vouters1.
ROM. ROM functionalities. ROM boards has to provide data format conversion. – Event fragments, from the FE electronics, enter the ROM as serial data stream;
August 24, 2011IDAP Kick-off meeting - TileCal ATLAS TileCal Upgrade LHC and ATLAS current status LHC designed for cm -2 s 7+7 TeV Limited to.
Status of CRU FW Resource Estimations Erno DAVID Wigner Research Center for Physics (HU) 10 March, 2016.
The Evaluation Tool for the LHCb Event Builder Network Upgrade Guoming Liu, Niko Neufeld CERN, Switzerland 18 th Real-Time Conference June 13, 2012.
Off-Detector Processing for Phase II Track Trigger Ulrich Heintz (Brown University) for U.H., M. Narain (Brown U) M. Johnson, R. Lipton (Fermilab) E. Hazen,
Giovanna Lehmann Miotto CERN EP/DT-DI On behalf of the DAQ team
of the Upgraded LHCb Readout System
LHCb and InfiniBand on FPGA
Introduction LOI Hardware activities and GBT Simulations
TELL1 A common data acquisition board for LHCb
RT2003, Montreal Niko Neufeld, CERN-EP & Univ. de Lausanne
Status of the Beam Phase and Intensity Monitor for LHCb
MiniDAQ2 Workshop Control System.
Read-out of High Speed S-LINK Data Via a Buffered PCI Card
Tracker Software Status
LHCb Electronics Brainstorm
New DCM, FEMDCM DCM jobs DCM upgrade path
PID meeting Mechanical implementation Electronics architecture
LHCb Online Meeting November 15th, 2000
The LHCb Front-end Electronics System Status and Future Development
Presentation transcript:

Status of Readout Board Firmware Guillaume Vouters On behalf of the MiniDAQ developers 11 December 2014 LHCb Upgrade Electronics

Outline Guillaume Vouters - Readout System meeting210/12/ End of First part of Second part of Xmas 2014

Guillaume Vouters - Readout System meeting310/12/ End of 2013 What we got for Christmas 2013 FORGE GIT

Guillaume Vouters - Readout System meeting410/12/ First part of 2014 We organized very useful meetings !! What really happened

Guillaume Vouters - Readout System meeting510/12/ First part of 2014 Meetings were very successful ! What really happened

Guillaume Vouters - Readout System meeting610/12/ First part of 2014 More seriously, after huge work, at the end of the first part of 2014 we had : -A simulation framework working -A first version of a firmware for the MiniDAQ (without data processing) -Definition of a data format -Documentations to use the FORGE, GIT and the framework -Software for the CCPC -Software to control the MiniDAQ. -Full data flow test from the CCPC to a computer But also a first glimpse of FPGA logic cell resources limitation

Guillaume Vouters - Readout System meeting710/12/ First part of 2014 Previous firmware architecture

Guillaume Vouters - Readout System meeting810/12/ First part of 2014 Previous data format Fixed header length and Variable data length Variable header length and Variable data length Fixed header length and Fixed data length

Guillaume Vouters - Readout System meeting910/12/ First part of LHCb Upgrade  System-level Specifications of the Timing and Fast Control system for the LHCb Upgrade (on CDS) System-level Specifications of the Timing and Fast Control system for the LHCb Upgrade  Electronics Architecture of the LHCb Upgrade (on CDS) Electronics Architecture of the LHCb Upgrade CCPC booting  Framework Documentation  FORGE documentation (on the FORGE) FORGE documentation  GIT documentation (on the FORGE) GIT documentation Data Format Data format documentation Data format documentation (on the FORGE) MiniDAQ Handbook  MiniDAQ documentation (on the FORGE) MiniDAQ documentation  MiniDAQ documentation (on CDS) MiniDAQ documentation Documentation listing

Guillaume Vouters - Readout System meeting1010/12/ Second part of 2014 What really happened We had intense workshops

Guillaume Vouters - Readout System meeting11 What we developed in the first part of the year allows us to test a lot the system from the MiniDAQ control Software to the Firmware and the Hardware which leads us to: -A New Firmware Architecture -A Firmware for the MiniDAQ with a Generic Data Processing -A New a data format -A Software to control the MiniDAQ developed with WinCCOA -Estimations about the filling of the FPGA according to influential parameters -Work environment training for sub-detector groups 10/12/ Second part of 2014

Guillaume Vouters - Readout System meeting1210/12/ Second part of 2014 New firmware architecture

Guillaume Vouters - Readout System meeting13 2 differences between the previous and the new firmware architecture: The TFC processing block has been moved before the data processing (as it was decided last meeting 08.10) and split with the add of the Event ID (since the Event ID is added after the processing of the data) There are now 2 data flows receiving half the number of inputs fiber each. There are 2 mains reasons for having 2 data flows :  To be able to use completely the 2 PCIe output interfaces, with one data flow, we need at a certain point to be able to send : Either 2xPCIe clock = 500MHz Or 2x256bits = PCIe clock Both solutions have very few chances to fit with the timing constraints. Using them independently is easier and will reduce effort on timing  It will reduced the complexity of the alignment and the data processing blocks since less fibers are handled in the same time. Then it will save FPGA cell resources. It’s very easy to duplicate one data flow process, then it’s possible to focus on only one data flow like we do in the MiniDAQ and to duplicate it when it will be ready. 10/12/ Second part of 2014

Guillaume Vouters - Readout System meeting1410/12/2014 Event ID >64bits Data Processing MEP building Data (256bits) / data valid / ready + SOF /EOF Clock 10GbE or PCIe Data (256bits or 64bits) / data valid / ready + SOF /EOF Clock 10GbE or PCIe 3. Second part of 2014 The output interface of the data processing is changing too up to the MEP building TFC Processing BCID Alignment Raw Data Decoding Data (80 or 112bits) / data valid / ready GBT clock Data (Xbits) / data valid / ready Internal clock X = 80 or 112bits + (BCID full length - BCID header)

Guillaume Vouters - Readout System meeting1510/12/ Second part of 2014 Event ID >64bits Data Processing MEP building TFC Processing BCID Alignment Raw Data Decoding Expected from Computer side Current Data Format Event IDBLDATA LENGTHBXIDEvent ID DATA What we have

1610/12/2014 Then, the data format could change from FE boards and here are the consequences :  Modification of the code for the user code blocks:  Change of the FE data format rules -The header will be in position MSB and not in position LSB=0 anymore 3. Second part of 2014 Likely future Data Format Guillaume Vouters - Readout System meeting This still need to be studied and could be done in the TELL40 firmware (even easier for FF data format) Need to see with each sub-detector groups what could be the best option for each of them

Guillaume Vouters - Upgrade Readout System meeting17 A document (EDMS# ) about the FPGA resources required by each block of the firmware has been written to help the sub-detector groups to define the % of resources used by their firmware.document Some graphs have been created to define the resources required by the blocks according to influential parameters such as : - number of links - GBT protocol - data length unit - data packing algorithm Everything is estimation, values can evolve increasing or decreasing in the future after more precise studies. The differences can be quickly significant with many links. 10/12/ Second part of 2014

Guillaume Vouters - Readout System meeting1810/12/ Second part of 2014 GBT Wide-Bus mode protocol: If a sub-detector group chooses to use the FV data format with an 120bits GBT width, a data unit value of 4 and 24 input links, they will fill the FPGA up to : 7.8% (LLI) + 34% (D&A) + 1% (TFCP) + 5% (MEP) + 50% (GDP) =97.8% This estimation is not compliant with the specifications. The number of links has to be reduced such as: If a sub-detector group chooses to use the FV data format with an 120bits GBT width, a data unit value of 4 and 12 input links, they will fill the FPGA up to : 5.9% (LLI) + 17% (D&A) + 1% (TFCP) + 5% (MEP) + 26% (GDP) =54.9%

Guillaume Vouters - Readout System meeting1910/12/ Xmas 2014 Let’s spy Santa 2014 Xmas LHCb upgrade gifts PCIe40 boards More money Bigger FPGA More manpower What are we going to have for Christmas 2014 ?

Guillaume Vouters - Readout System meeting2010/12/ Xmas 2014 Then let’s continue with the small short but efficient team and let’s thanks them for the huge work which has been done this year for the firmware developments: -Jean-Pierre Cachemiche, Frédéric Hachon, Julian Mendez, Frédéric Rethore, Michel Jevaud, Pierre-Yves Duval, Renaud Le Gac (Marseille) -Federico Alessio, Paolo Durante, Clara Gaspard, Niko Neufeld, Rainer Schwemmer, Ken Wyllie (CERN) -Sebastien Cap, Stephane T’Jampens (Annecy) And the VELO, SciFi and UT teams for their welcoming during the trainings and their work with the environment we have set up. Hope the MUON and RICH teams will join soon.

Guillaume Vouters - Upgrade Readout System meeting2110/12/2014 Conclusion We have now a complete chain of the firmware at least for the generic one. And we have improved the definition of the specifications. In the first part of 2015, all together, we will need to : - Define the number of PCIe40 boards required by each group - Define precisely the new data format - Deeply test and debug the generic firmware (in particular the Generic Data Processing) - Help the sub-detector groups to develop the specific data processing for the ones which are not going to use the generic data processing. - Switch from the 10GbE MiniDAQ to the PCIe MiniDAQ - Develop a complete WINCC0A control of the MiniDAQ