LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.

Slides:



Advertisements
Similar presentations
NetFPGA Project: 4-Port Layer 2/3 Switch Ankur Singla Gene Juknevicius
Advertisements

Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Programmable Interval Timer
LAV trigger primitives Francesco Gonnella Photon-Veto Working Group CERN – 09/12/2014.
Internal Logic Analyzer Final presentation-part B
Maciej Gołaszewski Tutor: Tadeusz Sondej, PhD Design and implementation of softcore dual processor system on single chip FPGA Design and implementation.
TEL62 firmware live kick-off meeting Mainz September 2011.
LAV firmware status Francesco Gonnella Mauro Raggi 10 th October 2012 TDAQ Working Group Meeting.
LAV contribution to the NA62 trigger Mauro Raggi, LNF ONLINE WG CERN 9/2/2011.
Local Trigger Control Unit prototype
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
1 Pulsar firmware status March 12th, 2004 Overall firmware status Pulsar Slink formatter Slink merger Muon Reces SVT L2toTS Transmitters How to keep firmware.
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
“A board for LKr trigger interface and proto-L0TP” G.Lamanna (CERN) NA62 Collaboration Meeting in Brussels LKr-WG
Inter TEL62 communication M. Raggi, M. Piccini, F. Gonnella 16 th October 2013 TDAQ Working Group Meeting.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Status of the digital readout electronics Mauro Raggi and F. Gonnella LNF Photon Veto WG CERN 13/12/2011.
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Status of the Beam Phase and Intensity Monitor for LHCb Richard Jacobsson Zbigniew Guzik Federico Alessio TFC Team: Motivation Aims Overview of the board.
1 “Fast FPGA-based trigger and data acquisition system for the CERN experiment NA62: architecture and algorithms” Authors G. Collazuol(a), S. Galeotti(b),
PROCStar III Performance Charactarization Instructor : Ina Rivkin Performed by: Idan Steinberg Evgeni Riaboy Semestrial Project Winter 2010.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
8279 KEYBOARD AND DISPLAY INTERFACING
Dec. 19, 2006TELL1 commissioning for Calorimeters 1 TELL1 commissioning for calorimeters ■ Reminder ■ TELL1 status ■ ECS for TELL1- PVSS panels ■ Firmware.
First ideas for the Argontube electronics Shaper, simulations Block Diagram for analog path Delta Code Data Reduction Bus system, Controller Max.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
TELL-1 and TDC board: present status and future plans B. Angelucci, A. Burato, S. Venditti.
Company LOGO Final presentation Spring 2008/9 Performed by: Alexander PavlovDavid Domb Supervisor: Mony Orbach GPS/INS Computing System.
TDCB Status report Bruno Angelucci, Stefano Venditti NA62 meeting, 14/12/2011.
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)
Introduction to TEL62 (common) firmware M. Sozzi Pisa - January 30/31, 2014.
Kraków4FutureDaQ Institute of Physics & Nowoczesna Elektronika P.Salabura,A.Misiak,S.Kistryn,R.Tębacz,K.Korcyl & M.Kajetanowicz Discrete event simulations.
1Ben ConstanceFONT Meeting 1st August 2008 ATF2 digital feedback board 9 channel board with replaceable daughter board (RS232 etc.) − Board will log data.
The FPGA based Trigger and Data Acquisition system for the CERN NA62 experiment Bruno Angelucci Physics Department University of Pisa INFN Pisa on behalf.
IT3002 Computer Architecture
TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
LAV firmware status Francesco Gonnella Mauro Raggi 28 th March 2012 TDAQ Working Group Meeting.
18/05/2000Richard Jacobsson1 - Readout Supervisor - Outline Readout Supervisor role and design philosophy Trigger distribution Throttling and buffer control.
XTRP Software Nathan Eddy University of Illinois 2/24/00.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Straw readout status Status and plans in Prague compared with situation now Choke and error Conclusions and plans.
SL-PGA firmware overview M. Sozzi Pisa - January 30/31, 2014.
“TALK board status” R.Fantechi, G.Lamanna & D.Gigi (CERN)
LAV L0 trigger primitives Mauro Raggi, Francesco Gonnella TDAQ Working Group.
Plans for the 2015 Run Michal Koval, Peter Lichard and Vito Palladino TDAQ Working Group 25/3/2015.
Many LAV stations in digital trigger Francesco Gonnella Photon-Veto Working Group CERN – 03/02/2015.
Status of LAV electronics commissioning Mauro Raggi, Francesco Gonnella Laboratori Nazionali di Frascati 1 Mauro Raggi - Laboratori Nazionali di Frascati4.
WINLAB Open Cognitive Radio Platform Architecture v1.0 WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala,
LAV electronics status report Mauro Raggi and Francesco Gonnella TDAQ meeting NA62 Collboration Meeting 1-5 September 2014 Ferrara.
PC-based L0TP Status Report “on behalf of the Ferrara L0TP Group” Ilaria Neri University of Ferrara and INFN - Italy Ferrara, September 02, 2014.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Gianluca Lamanna TDAQ WG meeting. CHOD crossing point two slabs The CHOD offline time resolution can be obtained online exploiting hit position.
A. Salamon - TDAQ WG Pisa 27/03/ Lkr/L0 Trigger V. Bonaiuto, N. De Simone, L. Federici, A. Fucci, G. Paoluzzi, A. Salamon, G. Salina, E. Santovetti,
Level-zero trigger status
Production Firmware - status Components TOTFED - status
The LAV primitive generator
R. Piandani2 , F. Spinella2, M.Sozzi1 , S. Venditti 3
Status of the Beam Phase and Intensity Monitor for LHCb
Data Acquisition System for Gamma-Gamma Physics at KLOE
14-BIT, 125MHz ADC Module Pedestal Subtraction Mircea Bogdan
FPGA-based Time to Digital Converter and Data Acquisition system for High Energy Tagger of KLOE-2 experiment L. Iafolla1,4, A. Balla1, M. Beretta1, P.
Presentation transcript:

LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting

LAV PP firmware  High and Low threshold crossing association and Time correction (PP)  Constant offset (done)  Event reconstruction (done)  Slewing (done, thanks to A. Bellotta)  Deliver data to SL on a 32-bit bus 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy2 to SL From TDCb 64 blocks (128 FIFOs)

New channel modules  Reduced logic utilization  Different High and Low modules  Different High and Low FIFO depth: 8 and 16 words 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy3 MegaWizard Fifo (8/16 words) Push Fifo Ready Empty

Threshold retriever module  Parse 2x 32-bit input words:  Retrieve proper threshold values from RAM  Produce a formatted 72-bit word: 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy4 32-bit Data in Data formatter & Threshold retriever 72-bit Data out address offset clock Strobe in Read enable Threshold RAM address Thr WE ECS Strobe out 31 – 3029 Block – 2019 Risetime – 87 Time(39:32) 0 31 Time(31:0) 0 71 Low Threshold 6059 High Threshold 4847 Risetime 4039 Time 0

High Level Synthesis Calculator 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy5  Module realised using High Level Synthesis software by Antonio Bellotta  HLS calculator performing slewing calculation:  Working frequency: 160 MHz  Input-output latency: 9 clk  Throughput: 1 clk  Reasonable resources utilization 72-bit Data in HLS Slewing correction calculator 40-bit data out Strobe in Strobe out clock Megawizard divider:

Test bench  Data-stream has been generated through a Toy MC code  Physical muon-hit generation with proper rate (~1 MHz)  H&L threshold (7 and 25 mV) crossing-time evaluation  TDCB-like data stream production dumped to an ASCII file  Post-synthesis simulation (within HDL designer)  Successful integration of EDF from A. Bellotta  Successful detection of all events  Slewing corrected data match MC truth within 2 LSB (~200 ps) 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy6

Simulation results (1/2) 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy7 Global test of LAV firmware  A ~3.5μs data stream corresponds to 100μs of muon flux on LAV  It contains ~60 detectable events (with chosen threshold values)  2.2 μs additional time is needed to process data Configuration 3.1μs (511 clk)Data 3.5μs (563 clk) Output 2,2μs (358 clk)

Simulation results (2/2) 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy8 Input-output latency  Input-output latency strongly depends on FIFO occupancy  Uncorrected-corrected latency is fixed to 9 clock cycles Uncorrected output Corrected outputEvent ns (17 clk)56ns (9 clk)

Resources utilization OldWithout HLS and Full ErrorWith HLS and Full Error Family Stratix III Device EP3SL110F1152C4 Logic utilization 28%18%20% Combinational ALUTs 20%10,353 / 86,000 ( 12% )11,141 / 86,000 ( 13% ) Memory ALUTs 0%0 / 43,000 ( 0% )40 / 43,000 ( < 1% ) Dedicated logic registers 24%14,008 / 86,000 ( 16% )14,413 / 86,000 ( 17% ) Total registers 14,00814,413 Total block memory bits 1%40,448 / 4,303,872 ( < 1% )41,984 / 4,303,872 ( < 1% ) DSP block 18-bit elements 0%0 / 288 ( 0 % )6 / 288 ( 2 % ) Total PLLs 0 / 8 ( 0 % ) Total DLLs 0 / 4 ( 0 % ) 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy9

32 SL = FIFO 32 PP data Formatter 4x (256x32) PP FIFOs 2 copies of output FIFO Communicate with PPs (at 120 MHz ?) Check errors Merge PP data for same event 32 Data Write Formatter write data FIFO Prepare single events Merge events into MEPs Write data FIFO 32 QDR arbiter Handle ECS R/W requests Handle MEP write requests Handle MEP read requests Handle other write (and read?) requests 32 Data monitor log data FIFO Monitor PP data and errors and prepare histograms Monitor SL primitives and prepare histograms Monitor received triggers and prepare histograms Inter-TEL62 controller Input/output data FIFOs 32 ECS QDR interface 32 TTC Handler 2 copies of trigger FIFO Set/store timestamp Adjust timestamp (?) Decode trigger word Send triggers to PP Either one or the other 32 PP trigger primitive formatter [SD dependent] 4x (256x32) PP FIFOs 2 copies of output primitive FIFO Communicate with PPs (at 120 MHz ?) Check errors Merge PP primitives L0 Primitive Merger [SD dependent] output primitive FIFO 32 L0 Primitive formatter output primitive FIFO Prepare MTP Prepare Ethernet frames Handle timeout Handle LEMO triggers Data Read Formatter Read data from QDR Prepare ethernet frames TTC GbE controller Handle data and trigger flows Handle test data flows Handle ARP ECS GbE = 2012 = PP AUX 16 PP SL Firmware

SL LAV Firmware  Receive data from the 4 PP-FPGA;  Sort data  Group data into events  Calculate trigger primitive fine time as the average of the times belonging to the same event  Produce properly formatted trigger primitives May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy FIFO SL sort group Trig. Primitive

Conclusions  Status:  We have a first version of the PP firmware, including computational part  We reduced the FPGA occupancy (from 28% to 20%)  Firmware has been adapted to be integrated into TEL62 firmware  Things to do:  Write PP-to-SL data transfer modules for LAV trigger primitive  Write the trigger primitive generation HDL on SL FPGA  Integrate LAV sub-detector lib into main TEL62 firmware  Make some parameter programmable by CCPC on TEL62:  Time Stamp resolution (overlap with Fine Time)  Channel mapping  High an Low threshold matching window 23 May 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy12

Thank you for your attention 23 May