ATLAS L1Calo Pre-processor compressed S-Link data formats

Similar documents
DXP-xMAP General List-Mode Specification

Level 1 Calorimeter Trigger:

EBU INTERFACES FOR 625 LINE DIGITAL VIDEO SIGNALS AT THE 4:2:2 LEVEL OF CCIR RECOMMENDATION 601 CONTENTS

Motion Video Compression

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

C8000. switch over & ducking

Sector Processor to Detector Dependent Unit Interface

OPERATING GUIDE. HIGHlite 660 series. High Brightness Digital Video Projector 16:9 widescreen display. Rev A June A

SignalTap Plus System Analyzer

99 Washington Street Melrose, MA Fax TestEquipmentDepot.com OPERATION MANUAL. The Best Thing on Cable

First Measurements with the ATLAS Level-1 Calorimeter Trigger PreProcessor System

BEMC electronics operation

Sapera LT 8.0 Acquisition Parameters Reference Manual

Detection and demodulation of non-cooperative burst signal Feng Yue 1, Wu Guangzhi 1, Tao Min 1

On-site reprogrammable beacon keyer

Analogue Versus Digital [5 M]

University of Oxford Department of Physics. Interim Report

Specification of interfaces for 625 line digital PAL signals CONTENTS

TABLE OF CONTENTS 1. OVERVIEW INSTALLATION DA-3G CONNECTIONS SPECIFICATIONS SERIAL VIDEO INPUT...

CMS Conference Report

AT780PCI. Digital Video Interfacing Products. Multi-standard DVB-T2/T/C Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

DRAFT RELEASE FOR BETA EVALUATION ONLY

Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis. 26 October - 20 November, 2009

Development of beam-collision feedback systems for future lepton colliders. John Adams Institute for Accelerator Science, Oxford University

Digital Representation

C8188 C8000 1/10. digital audio modular processing system. 4 Channel AES/EBU I/O. features. block diagram. 4 balanced AES inputs

Any feature not specifically noted as supported is not supported.

AUDIOVISUAL COMMUNICATION

AT660PCI. Digital Video Interfacing Products. DVB-S2/S (QPSK) Satellite Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

A. Chatterjee, Georgia Tech

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Digital Circuits I and II Nov. 17, 1999

Rotary Knife Controller

SMPTE STANDARD Gb/s Signal/Data Serial Interface. Proposed SMPTE Standard for Television SMPTE 424M Date: < > TP Rev 0

TABLE OF CONTENTS 1. OVERVIEW INSTALLATION VIDEO CONNECTIONS GENERAL PURPOSE INPUTS & OUTPUTS SPECIFICATIONS...

C Module Description

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

KEK. Belle2Link. Belle2Link 1. S. Nishida. S. Nishida (KEK) Nov.. 26, Aerogel RICH Readout

medlab One Channel ECG OEM Module EG 01000

R5 RIC Quickstart R5 RIC. R5 RIC Quickstart. Saab TransponderTech AB. Appendices. Project designation. Document title. Page 1 (25)

V6153 HD 1:8 SDI Distribution Amplifier V6154 HD 1:16 SDI Distribution Amplifier

0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 1 1 Stop bits. 11-bit Serial Data format

Lossless Compression Algorithms for Direct- Write Lithography Systems

Data Converters and DSPs Getting Closer to Sensors

Using the VideoEdge IP Encoder with Intellex IP

for Television ---- Formatting AES/EBU Audio and Auxiliary Data into Digital Video Ancillary Data Space

Experiment: FPGA Design with Verilog (Part 4)

AT720USB. Digital Video Interfacing Products. DVB-C (QAM-B, 8VSB) Input Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

Project Design. Eric Chang Mike Ilardi Jess Kaneshiro Jonathan Steiner

T ips in measuring and reducing monitor jitter

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

Design of Polar List Decoder using 2-Bit SC Decoding Algorithm V Priya 1 M Parimaladevi 2

SVT DAQ. Per Hansson Adrian HPS Collaboration Meeting 10/27/2015

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features

THE TIMING COUNTER OF THE MEG EXPERIMENT: DESIGN AND COMMISSIONING (OR HOW TO BUILD YOUR OWN HIGH TIMING RESOLUTION DETECTOR )

Subtitle Safe Crop Area SCA

SMPTE-259M/DVB-ASI Scrambler/Controller

S.Cenk Yıldız on behalf of ATLAS Muon Collaboration. Topical Workshop on Electronics for Particle Physics, 28 September - 2 October 2015

Design and Implementation of Nios II-based LCD Touch Panel Application System

FASTFLIGHT-2 Digital Signal Averager. Exceptionally fast LC/TOF-MS or GC/TOF-MS data acquisition... with a simple USB-2 connection to your computer!

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

WaveDevice Hardware Modules

VOB - data over Video Overlay Box

COMPRESSION OF DICOM IMAGES BASED ON WAVELETS AND SPIHT FOR TELEMEDICINE APPLICATIONS

Model 4455 ASI Serial Digital Protection Switch Data Pack

FLEXIBLE SWITCHING AND EDITING OF MPEG-2 VIDEO BITSTREAMS

High Performance TFT LCD Driver ICs for Large-Size Displays

for Television ---- Bit-Serial Digital Interface for High-Definition Television Systems Type FC

How to overcome/avoid High Frequency Effects on Debug Interfaces Trace Port Design Guidelines

Digital Signal Integrity and Stability in the ATLAS Level-1 Calorimeter Trigger

IQDDAC D to A Converter

SatLabs Recommendation for a Common Inter-Facility Link for DVB-RCS terminals

DisplayPort 1.4 Link Layer Compliance

Laboratory Exercise 4

A pixel chip for tracking in ALICE and particle identification in LHCb

QUAD TRON, INC. 303 Camars Drive Phone: (215) Warminster, PA Fax: (215)

Digital Effects Pedal Description Ross Jongeward 10 December 2014

Photodetector Testing Facilities at Nevis Labs & Barnard College. Reshmi Mukherjee Barnard College, Columbia University

PCIe BASED TWO CHANNEL DATA ACQUISITION CARD

Matching Components (minidsp_a) Description. 4x Decimation (Stereo) 4x Decimation (Mono) MonoDec4xIn. 2x Decimation (Stereo) 2x Decimation (Mono)

DIGITAL ELECTRONICS MCQs

Hardware & software Specifications

RX40_V1_0 Measurement Report F.Faccio

P802.3av interim, Shanghai, PRC

A MISSILE INSTRUMENTATION ENCODER

Since the early 80's, a step towards digital audio has been set by the introduction of the Compact Disc player.

SM02. High Definition Video Encoder and Pattern Generator. User Manual

Training Note TR-06RD. Schedules. Schedule types

Microbolometer based infrared cameras PYROVIEW with Fast Ethernet interface

Parallel Peripheral Interface (PPI)

Major Differences Between the DT9847 Series Modules

LogiCORE IP Spartan-6 FPGA Triple-Rate SDI v1.0

Model 7500 HD Video Processing Frame Synchronizer Data Pack

8 DIGITAL SIGNAL PROCESSOR IN OPTICAL TOMOGRAPHY SYSTEM

VIDEO GRABBER. DisplayPort. User Manual

PICOSECOND TIMING USING FAST ANALOG SAMPLING

Technical data. General specifications. Indicators/operating means

Matrox PowerStream Plus

Transcription:

Introduction ATLAS Lalo re-processor compressed S-Link data formats D... Sankey Rutherford Appleton Laboratory, Didcot, Oxon., OX QX, UK Version.5, March 4, 28 ATL-DA-ES-54 The overall structure of the data formats for the ATLAS Level- alorimeter Trigger is described in the project specification document for the Read-out Driver[]. This note solely expands on the details for the re-processor compressed and super-compressed algorithms, starting with the preliminary compressed coding algorithm (version.) dating from July 26, up to version.3. Errors ASI han D ASI han ASI han ASI han A D Errors ASI han D -bit Error fields ASI han ASI han ASI han A 2-bit unch rossing Number D5 Expanded ASI channel data (n,m=-5), all LUT & fields bits _m... _ LUT data S E 8b LUT output LUT_n Data b Output eakfinding ID External ID External ID Saturated ID... LUT_ E Figure Overview of input -Link format Word Id Vers Fmt Lalo Sub-lock - always present 6b 5b NS2 omp Vers rate Module (Fadc) NS oncatenated r bitstream for 64 channels of data and then errors 3b acked bitstream! Zero-adding 3b acked bitstream acked bitstream Word Id 6b N bits 5: Lalo SubStatus (omitted if no errors) 6b omp Vers rate Module T D Failing N -Link Timeout -Link down Upstream Error U E DAQ Fifo Overflow D F O M N Mismatch -Link Internal rotocol Error -Link Serial parity I Figure 2 Overview of output S-Link format The general structure of the input re-processor -Link format is shown in figure and of the compressed S-Link output format in figure 2; for both there is a single block of data for each reprocessor, corresponding to 64 channels of data and associated error information from the 6 MM s on each re-processor. For the output format the incoming time ordered data arriving in parallel are transformed into a packed serial bit stream in channel order. The bit stream consists of the channel

data (ASI channels A from pins D to D5 in order, then similarly ASI channels through D) immediately followed by the errors. The data for each ASI channel (consisting of 5 samples of data and sample of LUT data, corresponding to 66 bits of input data per channel) are encoded in a formatted block and the output bit stream for the data from all the channels consists of a concatenated string of these blocks. In order to identify the version of the algorithm used and the compression mode, the major part of the version number of the coding algorithm is included in the sub-block header in the data stream as the field Vers with the minor part as omp Vers and the format mode, compressed (2) or supercompressed (3), is included as the field Fmt. There are an additional three parameters for the algorithm, namely the threshold below which data are suppressed in super-compressed mode, the time offset of the LUT data with respect to the start of the data and the nominal baseline lower bound. In the ROD s these are all read directly from the Input hannel ompression ontrol Register, along with the compression mode, and are required to be constant during a run. Starting with Lalo ROD fragment event format minor version[2] number x2 these are encoded on output in the User as illustrated in figure 3. The baseline lower bound is the field Lower ound and the time offset of the LUT data with respect to the start of the data is the difference between Triggered slice number and Triggered LUT slice number. 8b Lower ound WordId word - Triggered Slice number JE 5b F NH L LUT No of words including itself Figure 3 Lalo User for event format minor version x2 Version.3 of the re-processor compressed and super-compressed S-Link coding algorithms Version.3 defines compressed and super-compressed formats for the channel data along with a format for the error block. In compressed mode all channels are present; in super-compressed mode channels with non-extant LUT data and all data below the threshold are suppressed. hannel data In super-compressed mode the block for each ASI channel begins with a single bit indicating the presence ( ) or suppression ( ) of the following data block. In compressed mode all channels are present so this bit is unnecessary. There are then seven different output format types to encode the block of data for the channel. The data for each channel are encoded in the smallest of these format types capable of fully representing the data. The block if present consists of a header, between 4 and 8 bits long, then LUT data and external ID bits if non-zero and finally the samples. The samples are in chronological order except that the first sample and the smallest are interchanged and are encoded as the smallest sample, then the differences with respect to this of the remainder. The shortest two format types have a header 4 bits long. These two formats are targeted at noise and require that the LUT data and external ID bits are all zero. The format of the header is the sample number of the minimum sample (in the range -4), added to either for the shortest format (format ) or 5 for the second shortest (format ). There then follow the samples as described above. The minimum value must be in the range baseline lower bound to lower bound plus 5 and is encoded as the offset from the lower bound in a 4 bit field. The remaining are encoded as each sample less the above minimum value, in 4 fixed M compressed formats March 4, 28 age 2 of 5

width fields. The field width for format is 2 bits and for format 3 bits, illustrated in figure 4, giving a total length of 6 bits for format and 2 bits for format. 2b 2b 2b 2b samples Format Format samples Figure 4 ompressed formats and For the remaining 4 normal formats there are an additional 2 bits to the header. The first 4 bits encode the sample number of the minimum sample as before, now added to, giving a value in the range to 4. The next 2 bits encode as for format 2 through to for format 5. For format 2 there is then one final bit to the header indicating the presence or otherwise of LUT data, set to indicating no following LUT data or to indicate that the subsequent 3 bits encode the bottom 3 bits of the LUT sample. The assumption is that no external ID bits are set and the presence of non-zero LUT data implies that the peak-finding ID bit is set. Figure 5 ompressed format 2 samples LUT* Format 2 + 2 + *) LUT field suppressed if LUT data zero The samples are then encoded as for formats and as the minimum value and the differences with respect to this of the remainder ordered as above in 5 fields 4 bits wide. This gives a total length of 3 bits when there are extant LUT data, otherwise 27 bits, illustrated in figure 5. In comparison to the fixed length formats above, the remaining three normal formats are variable length. For the data they consist of either short fields where the value to be encoded is less than 6, or long fields, where the length of the field is given by the format number, this latter being determined by the largest value to be encoded. In the case of format 3 the values to be encoded all fit into 6 bits, in the case of format 4 8 bits and finally format 5 the full bits. Each of these formats starts with an 8 bit header consisting of 4 bits encoding the number of the minimum sample added to, then 2 bits encoding the format number as given above, finally 2 bits, the lower of which indicates the presence or otherwise of LUT data, set to indicating no following LUT data, the higher similarly the presence or otherwise of the external ID bits for the samples if these cannot be correctly derived from the external ID bit on the LUT sample and those for the other samples set to zero. If present, the LUT data are encoded as bits exactly as in the input data as illustrated in figure. For the external ID bits, these if not derivable as above are encoded as 5 bits in chronological order. Finally the samples are encoded as the smallest sample first, then the differences with respect to this of the remainder ordered as described above. In each case if the resultant value is less than 6 (in the case of the minimum the offset from baseline lower bound), it is encoded as a short field, otherwise a long field (in the case of the minimum, without any offset). The short field consists of bit set to followed by the least significant 4 bits of the resultant value. The long fields consist of bit set to, then either 6 (format 3), 8 (format 4) or bits (format 5). These are illustrated in figure 6. They correspond to a minimum channel block length of 33 bits (albeit these data would encode as one of the preceding formats) and an absolute maximum length of 79 bits. M compressed formats March 4, 28 age 3 of 5

5b samples ID* b LUT* Formats 3, 4 and 5 2 + 2 + *) b LUT field suppressed if LUT data zero *) 5b ID field suppressed if external ID bits derivable fields: Short field (LS = ) Format 3 long field (LS = ) 6b Format 4 long field (LS = ) 8b Format 5 long field (LS = ) b Figure 6 ompressed formats 3 to 5 The final format, format 6, illustrated in figure 7, encodes channels where the data are all equal and all LUT and external ID information are zero, as is the case, for example, for disabled channels. In this case the 4 bit header is set to 5. If the contents are zero there then follows a single bit set to, otherwise a single bit set to and then the value encoded in bits. Figure 7 ompressed format 6 Error information b sample* b Format 6 *) b field suppressed if sample zero As illustrated in figure the incoming -Link data ends with a bit error block on each pin corresponding to each MM. The detailed format of this block is shown in figure 8. -Link serial parity R F RemFA FIFO corrupt unch Number mismatch N M E A N F M F Event Number mismatch ASI Derandomiser full Timeout T M O A D D D D MM absent hannel disabled Figure 8 Expanded error block, including parity bit The first five of these bits constitute status information per MM rather than actual errors. There is additionally the parity bit terminating the data block; the results of the parity test are treated as an additional error bit, giving six error bits per MM. The output error format begins with a two bit header; the first (status bit) is set to if any status bits were non-zero, the second (error bit) similarly set to if any error bits were non-zero. M compressed formats March 4, 28 age 4 of 5

If any of these bits are set there then follows a 6 bit map to indicate which MM(s) contained the nonzero bits. Then for each MM so indicated there is the 5 bit status block (if the overall status bit is set) and/or the 5+ error block (if the overall error bit is set). Substatus word If the overall error bit above is set or any other error detected the substatus word as defined in figure 2 is written; any upstream errors are mapped onto the Upstream Error bit, parity errors onto the - Link Serial arity bit. In the case of no errors the substatus word is suppressed. Version.2 of the re-processor compressed S-Link coding algorithm This version did not support the super-compressed format. Version. of the re-processor compressed S-Link coding algorithm rior to resolution of the method for transmitting the time offset of the LUT data with respect to the data and the nominal pedestal level set in the re-processors to the ROD, the assumption was that the LUT sample corresponds to the middle sample of data and that the nominal pedestal is set to 2 counts. In the sub-block header in the data stream the number of slices (NS2) and of LUT slices (NS) were encoded as 4 bit fields. More importantly, the treatment of external ID bits was different. Rather than treating the external ID bit in the LUT sample and that on the corresponding sample as potentially different, the assumption was that these were the same. For the other external ID bits, these if non-zero are encoded as 4 bits in chronological order, stepping over the bit from the sample corresponding to the LUT sample. Version. of the re-processor compressed S-Link coding algorithm Version. was the first version to run in hardware. It defined six different output formats to encode an input stream of 5 samples of data and sample of LUT data per channel. As for version, the data for each channel are encoded in the smallest of these formats capable of fully representing the data. These six formats corresponded to formats to 5 for version above, with one important difference. This is that, rather than the slices being in chronological order except that the first sample and the smallest are interchanged, the slices are encoded as the smallest sample first, then the differences with respect to this of the remainder in chronological order. There was no format 6 to encode data where all the samples are identical; rather data are encoded as format or 3 depending on the sample value. Finally there was no support for outputting the incoming error block from the re-processor or for producing the S-Link substatus word as this functionality was not immediately critical for the first hardware tests. [] ATLAS Level- alorimeter Trigger-Read-out Driver roject Specification version. <http://hepwww.rl.ac.uk/atlas-l/modules/rod/rod-spec-version_.pdf> [2] Section 5.6 in The raw event format in the ATLAS Trigger & DAQ <https://edms.cern.ch/document/44584> M compressed formats March 4, 28 age 5 of 5