Trigger matched firmware Top Level block diagram 4ch 3.2gbps deserializer “Test Assembly 1” Module Latency buffer 1GB DDR2 DRAM a.c.r. 2015-09-01 The GTKRO.

Slides:



Advertisements
Similar presentations
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Advertisements

Computer System Organization Computer-system operation – One or more CPUs, device controllers connect through common bus providing access to shared memory.
JLab High Resolution TDC Hall D Electronics Review (7/03) - Ed Jastrzembski.
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
A Gigabit Ethernet Link Source Card Robert E. Blair, John W. Dawson, Gary Drake, David J. Francis*, William N. Haberichter, James L. Schlereth Argonne.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.
LKr readout: present and future R. Fantechi 30/8/2012.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
SDR Test bench Architecture WINLAB – Rutgers University Date : October Authors : Prasanthi Maddala,
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
SVT workshop October 27, 1998 XTF HB AM Stefano Belforte - INFN Pisa1 COMMON RULES ON OPERATION MODES RUN MODE: the board does what is needed to make SVT.
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
PicoTDC Features of the picoTDC (operating at 1280 MHz with 64 delay cells) Focus of the unit on very small time bins, 12ps basic, 3ps interpolation Interpolation.
NS Training Hardware.
EUDRB: the data reduction board of the EUDET pixel telescope Lorenzo Chiarelli, Angelo Cotta Ramusino, Livio Piemontese, Davide Spazian Università & INFN.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
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.
1 Presented By: Eyal Enav and Tal Rath Eyal Enav and Tal Rath Supervisor: Mike Sumszyk Mike Sumszyk.
1 GTK-WG Meeting, CERN, Apr 1st 2014, A. Cotta Ramusino for INFN and Dip. Fisica FE “off-detector” readout electronics for the Gigatracker: status update.
TELL-1 and TDC board: present status and future plans B. Angelucci, A. Burato, S. Venditti.
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.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
01/04/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
Kraków4FutureDaQ Institute of Physics & Nowoczesna Elektronika P.Salabura,A.Misiak,S.Kistryn,R.Tębacz,K.Korcyl & M.Kajetanowicz Discrete event simulations.
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
FVTX Electronics (WBS 1.5.2, 1.5.3) Sergey Butsyk University of New Mexico Sergey Butsyk DOE FVTX review
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
JRA-1 Meeting, Jan 25th 2007 A. Cotta Ramusino, INFN Ferrara 1 EUDRB: A VME-64x based DAQ card for MAPS sensors. STATUS REPORT.
1 MICE Tracker Readout Update Introduction/Overview TriP-t hardware tests AFE IIt firmware development VLSB firmware development Hardware progress Summary.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
TEL62 AND TDCB UPDATE JACOPO PINZINO ROBERTO PIANDANI CERN ON BEHALF OF PISA GROUP 14/10/2015.
ALIBAVA system upgrade Ricardo Marco-Hernández IFIC(CSIC-Universidad de Valencia) 1 ALIBAVA system upgrade 16th RD50 Workshop, 31 May-2 June 2010, Barcelona.
1 Farm Issues L1&HLT Implementation Review Niko Neufeld, CERN-EP Tuesday, April 29 th.
Time Management.  Time management is concerned with OS facilities and services which measure real time.  These services include:  Keeping track of.
SRB data transmission Vito Palladino CERN 2 June 2014.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
Amsterdam, Oct A. Cotta Ramusino, INFN Ferrara 1 EUDRB: status report and plans for interfacing to the IPHC’s M26 Summary: EUDRB developments.
Straw readout status Status and plans in Prague compared with situation now Choke and error Conclusions and plans.
Progress on Pixel Region Optimization and SystemVerilog Simulation Phase 2 Pixel Electronics Meeting – Progress on Pixel Region Optimization and SystemVerilog.
SL-PGA firmware overview M. Sozzi Pisa - January 30/31, 2014.
29 May 2009 Henk Boterenbrood, Augusto Ceccucci, Bjorn Hallgren, Mauro Piccini and Helmut Wendler 1 The Calorimeter Recorder CARE.
“TALK board status” R.Fantechi, G.Lamanna & D.Gigi (CERN)
WINLAB Open Cognitive Radio Platform Architecture v1.0 WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala,
1 DCS Meeting, CERN (vydio), Jun 25th 2013, A. Cotta Ramusino for INFN and Dip. Fisica FE Preliminary DCS technical specifications (v1.0) for the Gigatracker.
Software and TDAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
Sumary of the LKr WG R. Fantechi 31/8/2012. SLM readout restart First goal – Test the same configuration as in 2010 (rack TS) – All old power supplies.
PC-based L0TP Status Report “on behalf of the Ferrara L0TP Group” Ilaria Neri University of Ferrara and INFN - Italy Ferrara, September 02, 2014.
Straw (T)DAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
DHH at DESY Test Beam 2016 Igor Konorov TUM Physics Department E18 19-th DEPFET workshop May Kloster Seeon Overview: DHH system overview DHE/DHC.
29/05/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 4 Report Tuesday 22 nd July 2008 Jack Hickish.
Grzegorz Kasprowicz1 Level 1 trigger sorter implemented in hardware.
PART1 Data collection methodology and NM paradigms 1.
THIS MORNING (Start an) informal discussion to -Clearly identify all open issues, categorize them and build an action plan -Possibly identify (new) contributing.
Straw readout status Run 2016 Cover FW SRB FW.
Enrico Gamberini for the GTK WG TDAQ WG Meeting June 01, 2016
Vito Palladino Straw Working Group 23/3/2015
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
R. Piandani2 , F. Spinella2, M.Sozzi1 , S. Venditti 3
PID meeting Mechanical implementation Electronics architecture
Multi Chip Module (MCM) The ALICE Silicon Pixel Detector (SPD)
Presentation transcript:

Trigger matched firmware Top Level block diagram 4ch 3.2gbps deserializer “Test Assembly 1” Module Latency buffer 1GB DDR2 DRAM a.c.r The GTKRO firmware allows the FPGA on board the GTK-RO board to configure the TDCpix controlled by it and to collects its output data, storing it into the DRAM buffer and retrieving it when required by the trigger received through the TTCrq “Test Assembly 2” Module 1 two way 320MHz ser/des TDCpix configuration link controller Latency buffer 1GB DDR2 DRAM Stefano’s ethernet MAC TM_Data TX module Stefano’s ethernet MAC TM_Data TX module Slow control module main PLL PLL phase controller for TDCpix config. house keeping uC TTCrq interface module Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN GTK readout firmware: trigger matched

“Test assembly” module (one of two) in detail: 1) from input links to the latency buffer ½ of 4ch 3.2gbps deserializer module Data Receiver Even frame buffer FIFO Odd frame buffer FIFO Ch 0 Rx Wrapper Module Data Receiver Even frame buffer FIFO Odd frame buffer FIFO Ch1Rx Wrapper Module Even frame buffer FIFO Odd frame buffer FIFO Merger Module Even DPRAM buffer Bucket Sorter Module Even DPRAM buffer DDR2 Interface module Latency buffer 1GB DDR2 DRAM Data from two input serial data channels is processed in pipelined steps (each coarse pipeline corresponding to one 6.4us time frame). At the end of each step data is stored into an intermediate buffer until it reaches the DRAM memory, which is the latency buffer  step1   step2   step3  a.c.r Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN

“Test assembly” module (one of two) in detail: 2) from the latency buffer to the subdetector PC Trigger matching unit 0 Trigger processor module Data from the DRAM based latency buffer is fetched and processed in parallel by 4 “trigger matching units”. The results are merged into one output packet. When 8 trigger matched packets are present in the “TM Data TX controller” an UDP packet is sent to the subdetector PC via the ethernet mac. a.c.r DDR2 Interface module Latency buffer 1GB DDR2 DRAM Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN TTCrq interface module Stefano’s ethernet MAC TM_Data TX controller Trigger matching unit 1 Trigger matching unit 2 Trigger matching unit 3 Trigger matched packet builder

Status: The version (wip ) of Trigger matched firmware currently in use has been installed on Sept.15 th. It allows data collection but its operation is still unstable. On the other end: it seem to work reliably on boards (more then one tested) coupled to the single chip assembly in the PC Farm room it has worked reliably when coupled to GTK stations for which the pixel array was disabled (the TDCpix where sending only framing words and no timestamps) it works more reliably when the TDCpix ASICs in the Gigatracker assemblies are configured with configuration files with higher thresholds The three facts above seem to correlate the failure rate to the input data rate, but the precise reason for the correlation is not so straightforward to determine because the receiver modules in the current TM firmware have a filter on input multiplicity and so the maximum amount of accepted timestamp within a frame period is limited to a safe (according to simulations) value. Thus, the cause of the erratic behavior doesn’t seem to be the high input multiplicity alone Designed features of version “wip ” (incremental w.r.t. the version described at the Praga meeting): The finite state machines in the modules “Ch X Rx Wrapper Module” which control the reception of data from the TDCpix ASICs have been modified to solve the issue reported at the Praga meeting: “… From the consistency checks performed on the reconstructed time stamps it results that a variable fraction of hit records extracted from the DRAM buffer belong to the adjacent time frame as shown in Mathieu’s presentation...” For this firmware version both the address of the external DRAM memory at which to store the TDCpix data collected within a time frame of 6.4us and the time at which this storage occurs are determined by the framing words issued by the TDCpix every at the end of each 6.4us time frame. “out of frame” timestamps should now be just those (few %) sent after the framing word. Undesired features (issues) : The most disturbing issue presented by version “wip ” is the fact that once every ~20 burst ( sooner at higher intensity) one of the 2 “Test assembly” modules stops sending trigger matched events; its trigger requests FIFO fills up and the EOB trigger request is lost. The response of the GTKRO board to the SOB trigger of the next burst is then piled on top of residual trigger matched events from the previous burst. This situation causes then the loss of the burst for which the “test_assembly” stopped sending data and of the burst for which the SOB is not properly aligned. Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN GTK readout firmware: trigger matched

CHOKE / ERROR readyness : Answers to Marco’s questions: Question 1: (the CHOKE system): in which conditions your system generates a choke signal, how is this tunable to allow for the reaction delay of the L0TP, what happens if triggers are not stopped within a given time (how long), how is the occurrence of this recorded Answer: a GTK readout (GTKRO) unit generates the CHOKE signal whenever the number of entries in the trigger request buffers in either one of the 2 “Test assembly” modules exceeds the “L0_CHOKE_GENERATION_THRESHOLD”; this is currently fixed at the level of 32 but it can be made programmable to adjust to the reaction delay of the L0TP. Currently the trigger request FIFOs have a depth of 2 ** FIFO_WIDTHU = 64 locations, in the assumption the the L0TP would react to the CHOKE request with a few tens of us (no latency is applied to the CHOKE trigger). The FPGA has enough resources to allow the increase in depth of the trigger request FIFOs acording to the actual reaction time of the L0TP. If triggers are not stopped then the trigger FIFOs will fill and this will in turn generate an ERROR. An ERROR condition is also generated, currently, if the DRAM based latency buffers for GTK data cannot be accessed, this condition being flagged by the READY line from the DRAM controller become unactive. The CHOKE and ERROR flags are cleared when the corresponding triggers are received by the GTKRO unit. The above functions are implemented but not yet in-field tested Question 2: which mechanism does your system have to interrupt data input if instantaneous rate is too high, at which level is this tunable and how is this recorded Answer : the receiver modules in the current GTKRO trigger matched firmware feature a filter on input multiplicity and so the maximum amount of accepted timestamp within a frame period is limited to a safe (according to simulations) value. At the moment this represent only a debug feature and the filter level is currently set to about 50% of the nominal bandwidth. It could be made programmable if necessary. The condition of intervention of the input multiplicity filter is not currently flagged into the trigger matched data stream since the multiplicity filter should not be necessary under nominal operating conditions Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN GTK readout firmware: trigger matched

DEBUGGING: Hardware issues: One issues has been recently discovered with one of the TTC-rq boards installed on the GTK-RO units; susbtituting the daughter cards solved the issue Firmware issues: Status of version under development: A new version (wip ) of the trigger matched firmware is being tested with boards connected in turn to the single chip assembly and to TDCpix ASICs in the gigatracker assemblies. Designed features of version “wip ” (incremental w.r.t. version “wip ”): the “TM_Data TX controller” modules which prepare the trigger matched data packets and the Ethernet MAC modules which send the trigger matched data packets to the subdetector PC are reset by a pulse scheduled 500ms after the EOB trigger. This clears all the FIFO buffers in which trigger matched data is stored and it should guarantee each SOB trigger to be aligned even after a burst in which one “test assembly” stopped more diagnostic features are being added to try to identify the condition which causes the “test assembly” module to stop processing triggers Angelo Cotta Ramusino INFN-FE, for GTK_WG mtg, CERN GTK readout firmware: trigger matched