LAV firmware status Francesco Gonnella Mauro Raggi 28 th March 2012 TDAQ Working Group Meeting.

Slides:



Advertisements
Similar presentations
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Advertisements

Commercial FPGAs: Altera Stratix Family Dr. Philip Brisk Department of Computer Science and Engineering University of California, Riverside CS 223.
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Programmable Interval Timer
LAV trigger primitives Francesco Gonnella Photon-Veto Working Group CERN – 09/12/2014.
On-Chip Processing for the Wave Union TDC Implemented in FPGA
Maciej Gołaszewski Tutor: Tadeusz Sondej, PhD Design and implementation of softcore dual processor system on single chip FPGA Design and implementation.
LAV firmware status Francesco Gonnella Mauro Raggi 10 th October 2012 TDAQ Working Group Meeting.
Local Trigger Control Unit prototype
1 MICE Tracker Readout Update, Preparation for Cosmic Ray Tests Introduction/Overview AFE-IIt firmware development VLSB firmware development Hardware progress.
Kazi Fall 2006 EEGN 4941 EEGN-494 HDL Design Principles for VLSI/FPGAs Khurram Kazi Some of the slides were taken from K Gaj’s lecture slides from GMU’s.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.
Students: Oleg Korenev Eugene Reznik Supervisor: Rolf Hilgendorf
Inter TEL62 communication M. Raggi, M. Piccini, F. Gonnella 16 th October 2013 TDAQ Working Group Meeting.
Sub-Nyquist Sampling DSP & SCD Modules Presented by: Omer Kiselov, Daniel Primor Supervised by: Ina Rivkin, Moshe Mishali Winter 2010High Speed Digital.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Status of the digital readout electronics Mauro Raggi and F. Gonnella LNF Photon Veto WG CERN 13/12/2011.
By: Daniel BarskyNatalie Pistunovich Supervisors: Rolf HilgendorfInna Rivkin.
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
Matrix Multiplication on FPGA Final presentation One semester – winter 2014/15 By : Dana Abergel and Alex Fonariov Supervisor : Mony Orbach High Speed.
1 WORLD CLASS – through people, technology and dedication High level modem development for Radio Link INF3430/4431 H2013.
FPGA (Field Programmable Gate Array): CLBs, Slices, and LUTs Each configurable logic block (CLB) in Spartan-6 FPGAs consists of two slices, arranged side-by-side.
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),
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
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 הטכניון - מכון טכנולוגי.
Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
TELL-1 and TDC board: present status and future plans B. Angelucci, A. Burato, S. Venditti.
TDCB Status report Bruno Angelucci, Stefano Venditti NA62 meeting, 14/12/2011.
Fast Fault Finder A Machine Protection Component.
Barto B170-W/MAPLD2005 Page 1 Verification of Moderate Complexity IP: Case Study, MIL-STD-1553B Interface Rod Barto NASA Office of Logic Design.
Project Final Semester A Presentation Implementing a compressor in software and decompression in hardware Presents by - Schreiber Beeri Yavich Alon Guided.
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)
TEL62 status and plans Elena Pedreschi INFN-Pisa Thursday 08 September 2011 TDAQ WG Meeting at Mainz University.
Assignment write a short notes on 1.Manufacturing Testing. 2.Functional Testing. 3.Files and Text I/O. 4.Differentiate the cpld and fpga architecture.
Kraków4FutureDaQ Institute of Physics & Nowoczesna Elektronika P.Salabura,A.Misiak,S.Kistryn,R.Tębacz,K.Korcyl & M.Kajetanowicz Discrete event simulations.
RTL Design Methodology Transition from Pseudocode & Interface
8279 KEYBOARD AND DISPLAY INTERFACING
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
Jet algorithm and Jet FPGA by Attila Hidvégi. Content Status of the Jet algorithm New design for the Jet FPGA on JEM-1.0 Jet CMM firmware Summary Outlook.
CDA 4253 FPGA System Design RTL Design Methodology 1 Hao Zheng Comp Sci & Eng USF.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
Progress on Pixel Region Optimization and SystemVerilog Simulation Phase 2 Pixel Electronics Meeting – Progress on Pixel Region Optimization and SystemVerilog.
Implementing JPEG Encoder for FPGA ECE 734 PROJECT Deepak Agarwal.
LAV L0 trigger primitives Mauro Raggi, Francesco Gonnella TDAQ Working Group.
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.
Disk Drive Architecture Exploration VisualSim Mirabilis Design.
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.
C.Beigbeder, D.Breton, M.El Berni, J.Maalmi, V.Tocut – LAL/In2p3/CNRS L.Leterrier, S. Drouet - LPC/In2p3/CNRS P. Vallerand - GANIL/CNRS/CEA SuperB -Collaboration.
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,
Work on Muon System TDR - in progress Word -> Latex ?
RTL Design Methodology Transition from Pseudocode & Interface
The LAV primitive generator
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 Implementation of Multicore AES 128/192/256
RTL Design Methodology
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.
Introduction to ModelSim Implementing Sequential
RTL Design Methodology Transition from Pseudocode & Interface
RTL Design Methodology Transition from Pseudocode & Interface
SVT detector electronics
Presentation transcript:

LAV firmware status Francesco Gonnella Mauro Raggi 28 th March 2012 TDAQ Working Group Meeting

PP firmware framework 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy2

LAV firmware tasks  Produce a specific data stream for trigger primitive generation  Time correction (PP)  Constant offset  Slewing  Trigger and fine time generation (SL)  Collect signals into physical events  Calculate fine time as the average of selected-block times All time corrections shall be used for trigger purpose only. Data stored on DDR will be untouched. 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy3

Input data-stream (1/2)  Data-stream characteristics  Transmission frequency: 160 MHz  32-bit words: Flag (31:28) - Channel (27:19) - Measure(18:0)  Flags: 0xA Timestamp, 0xB Footer, 0x4 Leading, 0x5 Trailing  Time measurement LSB ~100 ps  Timestamp characteristics  Timestamp LSB ~ 400 ns  Timestamp is a 28-bit word  Timestamp is transmitted every ~12.8 μs, i.e. four times before fine-time rollover  This periodicity could be subject to modifications 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy4

Input data-stream (2/2) TimestampFine time  7-bit overlap between Timestamp and Fine time  Possibility of data rollover before next time-stamp 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy ps ns μs ms Maximum time ~ 1 s 0xA xA

Framework  Project developed with HDL Designer  Behavioural simulation performed with ModelSim  Synthesis performed with Quartus II within HDL Designer  Not using Tell1 framework and libraries  Using an independent test-bench  Data-stream coming from custom text file 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy6

LAV firmware architecture 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy7 InputOutput ClockStrobe Out ResetBlock Number (5:0) Strobe InRise Time (7:0) Data In (31:0)Time Out (39:0) RAM Address (8:0) RAM Data (12:0) RAM WE  Offset corrector;  RAM  Channel Selector  Channel FIFO (128 instances)  Priority encoder  Data demultiplexer  Event Finder FSM

Time-Offset corrector module  Receives input stream  Checks if data is time  Retrieves the proper offset value from offset RAM  Adds the offset to the time  If data is timestamp or footer  Transmits data untouched  Input-output delay: 4 clock cycles.  Offset values can be set independently for each LAV station 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy8 Data in Time Offset Corrector Data out address offset clock Strobe in Read enable RAM address offset Write enable ECS Strobe Out

Event-finder module architecture 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy9 This module works under the assumption that data, for a given channel, are time ordered.

Channel module  Data formatting  Time Stamp and rollover handling  Automatically push useless data 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy10 MegaWizard Fifo (16 words) Push Fifo Ready Empty

Test bench  Data-stream has been generated through a Toy MC code  Physical muon-hit generation with proper rate (~1 MHz)  Poissonian pulse-height generation according to LAV specs  H&L threshold (7 and 25 mV) crossing-time evaluation  TDCB-like data stream production dumped to an ASCII file  Behavioural VHDL simulation  Stand-alone test bench (not within TELL1 framework)  Read data stream from ASCII file  Write output data to ASCII file  Post-synthesis simulation (within HDL designer)  Found some “bug” in HDL generation, contact me for details  Exactly the same results as behavioural 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy11

Test-bench results 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy12 eventoutput data14 clock cycles 18 clk 550 clk460 clk  First output data is generated 14 clock cycles after the first complete (high and low threshold crossing) event is received  Data received in 570 clock cycles (3.6 μs) are managed after 460 clock cycles (2.9 μs).

Preliminary FPGA resources estimate Fitter StatusSuccessful - Fri Mar 23 11:10: Quartus II Version11.0 Build /03/2011 SP 1 SJ Full Version FamilyStratix III DeviceEP3SL110F1152C4 Logic utilization28% Combinational ALUTs17,365 / 86,000 ( 20 % ) Memory ALUTs0 / 43,000 ( 0 % ) Dedicated logic registers20,924 / 86,000 ( 24 % ) Total registers20924 Total block memory bits53,760 / 4,303,872 ( 1 % ) DSP block 18-bit elements0 / 288 ( 0 % ) Total PLLs0 / 8 ( 0 % ) Total DLLs0 / 4 ( 0 % ) 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy13

Conclusions  Status:  We have a first version of the PP firmware, up to the computational part;  A synthesis has been completed successfully;  Things to do:  Write the computational part: retrieving threshold form RAM, compute the slewing correction (one multiplication and one division)  Reduce logic utilization (we have some ideas)  Make some parameter programmable by CCPC on TEL62:  Time Stamp resolution (overlap with Fine Time)  Customisable channel mapping  Write the trigger primitive generation HDL on SL FPGA 28 March 2012Francesco Gonnella - I.N.F.N. - Laboratori Nazionali di Frascati - Italy14

Thank you for your attention 28 March