Sector Processor to Detector Dependent Unit Interface

Similar documents
Optical Link Evaluation Board for the CSC Muon Trigger at CMS

Status of the CSC Track-Finder

Test Beam Wrap-Up. Darin Acosta

DXP-xMAP General List-Mode Specification

Functional Diagram: Figure 1 PCIe4-SIO8BX-SYNC Block Diagram. Chan 1-4. Multi-protocol Transceiver. 32kb. Receiver FIFO. 32kb.

TAXI -compatible HOTLink Transceiver

TAXI -compatible HOTLink Transceiver

CSC Muon Trigger. Jay Hauser. Director s Review Fermilab, Apr 30, Outline

HOLITA HDLC Core: Datasheet

10 Mb/s Single Twisted Pair Ethernet Proposed PCS Layer for Long Reach PHY Dirk Ziegelmeier Steffen Graber Pepperl+Fuchs

12 Cathode Strip Chamber Track-Finder

US CMS Endcap Muon. Regional CSC Trigger System WBS 3.1.1

Local Trigger Electronics for the CMS Drift Tubes Muon Detector

Trigger Cost & Schedule

WBS Trigger. Wesley Smith, U. Wisconsin CMS Trigger Project Manager. DOE/NSF Review April 11, 2000

SMPTE-259M/DVB-ASI Scrambler/Controller

MISB ST STANDARD. Time Stamping and Metadata Transport in High Definition Uncompressed Motion Imagery. 27 February Scope.


SPI Serial Communication and Nokia 5110 LCD Screen

Design, Realization and Test of a DAQ chain for ALICE ITS Experiment. S. Antinori, D. Falchieri, A. Gabrielli, E. Gandolfi

Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus. Part I

Virtex-II Connection to a High-Speed Serial Device (TLK2501) Author: Marc Defossez

1 Scope. 2 Introduction. 3 References MISB STD STANDARD. 9 June Inserting Time Stamps and Metadata in High Definition Uncompressed Video

Laboratory 4. Figure 1: Serdes Transceiver

The LHCb Timing and Fast Control system

Laboratory Exercise 4

ATLAS L1Calo Pre-processor compressed S-Link data formats

WBS Trigger. Wesley Smith, U. Wisconsin CMS Trigger Project Manager. DOE/NSF Review February 17, 1999

MULTIDYNE INNOVATIONS IN TELEVISION TESTING & DISTRIBUTION DIGITAL VIDEO, AUDIO & DATA FIBER OPTIC MULTIPLEXER TRANSPORT SYSTEM

A NEW METHOD FOR RECALCULATING THE PROGRAM CLOCK REFERENCE IN A PACKET-BASED TRANSMISSION NETWORK

READOUT ELECTRONICS FOR TPC DETECTOR IN THE MPD/NICA PROJECT

University of Arizona January 18, 2000 Joel Steinberg Rev. 1.6

Parallel Peripheral Interface (PPI)

ICD. ARINC 818 ADVB Interface Control Document. Template for system interoperability

Technical Article MS-2714

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

KSZ8041TL/FTL. General Description. Functional Diagram. 10Base-T/100Base-TX/100Base-FX Physical Layer Transceiver. Data Sheet Rev. 1.

KSZ8041TL/FTL. General Description. Functional Diagram. 10Base-T/100Base-TX/100Base-FX Physical Layer Transceiver. Data Sheet Rev. 1.

DC-105 Quick Installation Guide

SFCxxB16GExD SFP Dual Fibre CWDM ITU CWDM / 16dB / Gigabit Ethernet

CMS Conference Report

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

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

SFCxxB24GExD SFP Dual Fibre CWDM CWDM / 24dB / Gigabit Ethernet

BABAR IFR TDC Board (ITB): requirements and system description

1310nm Video SFP Optical Transceiver

White Paper Lower Costs in Broadcasting Applications With Integration Using FPGAs

Digital Transmission System Signaling Protocol EVLA Memorandum No. 33 Version 3

LAN83C185 High Performance Single Chip Low Power 10/100 Ethernet Physical Layer Transceiver (PHY) Datasheet Product Features Applications

COPYRIGHT 2016 AXON DIGITAL DESIGN BV ALL RIGHTS RESERVED

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

Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU

Section 14 Parallel Peripheral Interface (PPI)

ZLAN-86 Ethernet Switch Ethernet Interfaces Reference Design

Motion Video Compression

The World Leader in High Performance Signal Processing Solutions. Section 15. Parallel Peripheral Interface (PPI)

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

Sapera LT 8.0 Acquisition Parameters Reference Manual

AVRcam Code Commentary. Version 1.3

CSC Data Rates, Formats and Calibration Methods

Synchronization Issues During Encoder / Decoder Tests

Ponderosa is expandable by 8 input and/or 8 output increments up to 64x64 in a 4RU frame. Typical Configurations:

LHCb and its electronics. J. Christiansen On behalf of the LHCb collaboration

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

INTERNATIONAL TELECOMMUNICATION UNION

University of Oxford Department of Physics. Interim Report

TABLE 3. MIB COUNTER INPUT Register (Write Only) TABLE 4. MIB STATUS Register (Read Only)

INTERNATIONAL TELECOMMUNICATION UNION

GALILEO Timing Receiver

Table LDCP codes used by the CLT {EPoC_PMD_Name} PCS for active CCDN

GNS600 SCTE104 VANC inserter, Ethernet data-bridge for 3G, HD and SD SDI Inputs and X31 Cue encoder/decoder

SpaceFibre. Steve Parkes, Chris McClements, Martin Suess* Space Technology Centre University of Dundee *ESA, ESTEC

Arbitrary Waveform Generator

DigiPoints Volume 2. Student Workbook. Module 5 Headend Digital Video Processing

QSFP+ 40GBASE-SR4 Fiber Transceiver

VNP 100 application note: At home Production Workflow, REMI

Quick Reference Guide. OmniBER 718

ISSCC 2006 / SESSION 18 / CLOCK AND DATA RECOVERY / 18.6

DVB Master Technical Reference Manual Version 1.05 August 12, 1999

CHECKPOINT 2.5 FOUR PORT ARBITER AND USER INTERFACE

EECS150 - Digital Design Lecture 12 Project Description, Part 2

Copyright 2018 Lev S. Kurilenko

The TRIGGER/CLOCK/SYNC Distribution for TJNAF 12 GeV Upgrade Experiments

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

MX/HD-SDI-3G. Transmit HD-SDI-3G signals over Fiber

Dual Link DVI Receiver Implementation

Aegis Electronic Group

1310nm Single Channel Optical Transmitter

INSTRUCTION MANUAL FOR MODEL IOC534 LOW LATENCY FIBER OPTIC TRANSMIT / RECEIVE MODULE

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

The following references and the references contained therein are normative.

GERDA GeDDAQ. Status, operation, integration. INFN Padova INFN & University Milano. Calin A. Ur

RS-232/UART Triggering and Hardware-Based Decode (N5457A) for Agilent InfiniiVision Oscilloscopes

8. Stratix GX Built-In Self Test (BIST)

VOB - data over Video Overlay Box

KSZ8061MNX/KSZ8061MNG

CWDM Optical Transceiver

PROPOSED SMPTE STANDARD

Minimal Compression HD-SDI Video over IP Encoder, AES67 Support NMX-ENC-N1134A (FGN1134A-SA), Stand Alone NMX-ENC-N1134A-C (FGN1134A-CD), Card

GREAT 32 channel peak sensing ADC module: User Manual

Transcription:

Sector Processor to Detector Dependent Unit Interface Petersburg Nuclear Physics Institute / University of Florida Version 1.1 October 18, 2001 Introduction The Sector Processor (SP) reconstructs tracks from the track segments delivered by the Muon Port Cards (MPC) and the Drift Tube (DT) Track-Finder. The SP decision on tracks is passed to the Muon Sorter (MS), and eventually to the Muon and Global Trigger for further processing. The SP stores all incoming MPC data along with reconstructed tracks in a FIFO buffer for a time sufficient to receive the corresponding L1 Accept. Upon receiving L1A the input and output SP data are combined into the Event Frame and transmitted to the Detector Dependent Unit (DDU) via optical link running at 1.6GBPS. The SP uses a Texas Instruments TLK2501 Transmitter to feed fiber optics with a serialized data stream converted from the 16-bit @ 80 MHz parallel input. Two control signals Transmit Enable (TX_EN) and Transmit Error coding (TX_ER) define four possible modes of Transmitter operation, Table 1. Table 1. Transmit Data Controls TX_EN TX_ER ENCODED 20-BIT DATA Low Low Idle <K28.5, D5.6>, = 0xBCC5 <K28.5, D16.2> = 0xBC50 Low High Carrier extend <K23.7, K23.7> = 0xF7F7 High Low Normal data character <DX.Y> High High Transmit error propagation <K30.7, K30.7> = 0xFEFE Each valid Transmission Character of the 8B/10B Transmission Code is given a name using the following convention: Cxx.y, where C is used to show whether the Transmission Character is a Data Character (C is set to D) or an Extended Character (C is set to K). There are 256 valid Transmission Data Characters and 12 valid Extended Characters [1]. The DDU uses the same part to deserialize incoming data and convert it back into 16-bit @ 80 MHz parallel words. The DDU stores incoming data in the 18-bit wide input FIFO, if only the TLK2501 Receive Data Valid / Loss of Signal (RX_DV/LOS) output is High, Table 2. The stored data is 16-bit Receive Data bus (RXD), RX_DV/LOS and Receive Error (RX_ER) outputs [2]. Table 2. Receive Status Signals RECEIVED 20-BIT DATA RX_DV/LOS RX_ER Idle ( < K28.5, D5.6>, = 0xBCC5 Low Low < K28.5, D16.2> = 0xBC50) Carrier extend (K23.7, K23.7) = 0xF7F7 Low High Normal data character (DX.Y) High Low Receive error propagation (K30.7, K30.7) = 0xFEFE High High LU-SP_DDU_Interface.doc Page 1 of 7

Frames The SP sends data to the DDU using an ordered set of 16-bit words called Frames. A Frame is composed of a Start-of-Frame (SOF) delimiter, frame content, and an End-of- Frame (EOF) delimiter, Table 3. The SP uses the TLK2501 Controls to build Frames. Inserting a Frame in the sequence of Idles performs frame transmission. Idles are transmitted immediately upon completion of the Frame, and may be transmitted anywhere inside Frame (see exception below). Basically there are two types of Frames: Event Frames (EF) and Fast Monitoring Frames (FMF). The SP provides the DDU with Fast Monitoring (FM) data, which is transmitted either as a part of the Event Frame or as a dedicated FMF. If the trigger rate is high enough, the SP sends only EFs to the DDU. Each EF carries the Fast Monitoring (FM) data in its EOF. If L1A rate drops below 10 KHz and/or there are changes in the SP status to be reported to the Fast Monitoring system, the SP initiates transmission of the FMF. The DDU processes Event Frames and Fast Monitoring Frames differently. It extracts the Fast Monitoring data out of the Event Frame and passes it to the Fast Monitoring Module (FMM), while sending the entire Event Frame further downstream for data logging. The Fast Monitoring data from the Fast Monitoring Frame is intended exclusively for the FMM use. The FMF is not supposed to be logged to disk. Table 3: Frame Structure Frame Structure Comment SOF Start-of-Frame Data Frame content ----- ------------ ----- ------------ Data Frame content EOF End-of-Frame Start-of-Frame The Start-of-Frame delimiter precedes the frame content. The Start-of-Frame delimiter is composed of two immediately following 16-bit words, Table 4: The Error propagation word <K30.7, K30.7> or 0xFEFE The SP Identifier and Frame Type word. No Idles are allowed between SOF words. The SP ID is a 5-bit SP Geographical Address and the Frame Type is either zero for Fast Monitoring Frames (FMF), or non-zero for Event Frames (EF) LU-SP_DDU_Interface.doc Page 2 of 7

Table 4: Start-of-Frame Delimiter Structure Word TX_EN TX_ER TXD RX_DV/ LOS RX_ER RXD Comment SOF1 High High 0xXXXX High High 0xFEFE Start-of-Frame word SOF2 High Low 0xID00 0x00FT High Low 0xID00 0x00FT SP IDentifier (Geographical Address) - upper byte Frame Type lower byte Table 5 shows the SOF2 bit assignment. The upper byte carries the Sector Processor ID. The lower byte defines the Frame Content format. If bits 00 to 04 are set then the corresponding blocks are present in the frame content. Here the HD stands for the Header, OB for the Output Block, and IB for the Input Block. There can be only one Header and one Output Block, but several Input Blocks (up to 7) in the Frame Content to have provisions for observing the neighbor bunch crossings of the trigger event. Input Blocks are Zero-Suppressed (ZS) if the ZS bit is set to 1. Table 5: SOF2 word structure SOF2 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value Spare SP ID ZS Spare IB OB HD Frame Content The frame content immediately follows the Start-of-Frame, Table 6. The frame content is composed of the frame fields. The Header and the Data Block comprise two basic types of frame fields. The field size is always a multiple of four 16-bit words. All fields are optional, but the Header field is mandatory, if any of the Data Blocks is being transmitted. The Data Block is either an Output Block, or an Input Block. Several Input Blocks may be transmitted in the same EF for debugging purposes, as defined by the SOF2 word. Table 6: Frame Content Frame Field TX_EN TX_ER RX_DV/ LOS RX_ER Comment Header High Low High Low Mandatory if I/O Blocks present Output Block High Low High Low Optional Input Block High Low High Low Optional ------------ High Low High Low Optional Input Block High Low High Low Optional Idles may intermix with the frame content data words. The DDU does not store Idles in the input FIFO, since it executes FIFO writes only on the RX_DV/LOS = High condition. There should not be too many Idles in the EF, otherwise the DDU would timeout on the event readout time and mark the current event as bad (is this true -?). LU-SP_DDU_Interface.doc Page 3 of 7

Header The Event Frame Header consists of eight 16-bit words, shown in Table 7. It carries the L1A related information and the SP current configuration. Table 7: Event Frame Header Event Header What Comment Word # HD1 SP Code Version Sector Processor Code Version HD2 L1A LBC Local Bunch Counter 12 bits HD3 L1A LEC Low Local Event Counter - 12 LSBs HD4 L1A LEC High Local Event Counter - 12 MSBs HD5 SR LUT Set # Sector Receiver Look Up Table Set # HD6 SP LUT Set # Sector Processor P T Look Up Table Set # HD7 SP Configuration Sector Processor Configuration bits (TBD) HD8 SP Configuration Sector Processor Configuration bits (TBD) Output Block The Output Block carries three muon tracks, delivered to the MS on bunch crossing specified by the HD2 word. Before choosing three best tracks, the SP additionally validates the input muon stubs by comparison a 2-bit bunch crossing of each muon stub with two lower bits of the Local Bunch Counter. Normally, input muon stubs with bunch crossing mismatch would not participate in the SP decision. The results of comparison are also included in the Output Block, Table 8. Table 8: Output Block Word # What Comment OB1 ME_Out_of_Synch ME Out-of Synch muon stubs OB2 MB_Out_of_Synch MB Out-of Synch muon stubs OB3 MS_A Low OB4 MS_A High First muon to Muon Sorter OB5 MS_B Low OB6 MS_B High Second muon to Muon Sorter OB7 MS_C Low OB8 MS_C High Third muon to Muon Sorter Bit assignments for ME_Out_of_Synch and MB_Out_of_Synch words are shown in Table 9, Table 10. If any input muon stub has been already marked with the Synch_Error bit [3], the OB1 would carry a logical OR of this Synch_Error bit and the result of the bunch crossing comparison. Table 9: ME Out_of_Synch word. OB1 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value 0 4C 4B 4A 3C 3B 3A 2C 2B 2A 1F 1E 1D 1C 1B 1A Table 10: MB Out_of_Synch word. OB2 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value 0 0 0 0 0 0 0 0 0 0 0 0 1D 1C 1B 1A LU-SP_DDU_Interface.doc Page 4 of 7

Input Block The Input Block can be sent in two different formats: either as a Fixed Input Block, which is composed of forty 16-bit words shown in Table 13, or as a Zero-Suppressed Input Block, which is composed only of input muon stubs with Valid Pattern bit [3] asserted. In any case the Input Block starts with a word carrying the position-coded info about valid ME muon stubs: Table 11: ME Valid Pattern word. IB1 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value 0 4C 4B 4A 3C 3B 3A 2C 2B 2A 1F 1E 1D 1C 1B 1A The MB Valid Pattern word follows the last ME muon. The MB muon stubs are coded likewise: the MB stub pattern is valid if the stub quality > 0. Table 12: MB Valid Pattern word. Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value 0 0 0 0 0 0 0 0 0 0 0 0 1D 1C 1B 1A The number of 16-bit words in a Zero-Suppressed Input Block should always be a multiple of 4. This is the case if the number of valid muon stubs is odd. If it is even, two padding words 0xaa55 are added at the end of the Zero-Suppressed Input Block. Table 13: Fixed Input Block Word # What Comment IB1 ME Valid Muon Stubs ME Valid Muon Stubs with Valid Pattern bit asserted IB2 ME_1A Low IB3 ME_1A High First muon data from ME1 IB4 ME_1B Low IB5 ME_1B High Second muon data from ME1 IB6 ME_1C Low IB7 ME_1C High Third muon data from ME1 IB8 ME_1D Low IB9 ME_1D High Forth muon data from ME1 IB10 ME_1E Low IB11 ME_1E High Fifth muon data from ME1 IB12 ME_1F Low IB13 ME_1F High Sixth muon data from ME1 IB14 ME_2A Low IB15 ME_2A High First muon data from ME2 IB16 ME_2B Low IB17 ME_2B High Second muon data from ME2 IB18 ME_2C Low IB19 ME_2C High Third muon data from ME2 IB20 ME_3A Low IB21 ME_3A High First muon data from ME3 IB22 ME_3B Low IB23 ME_3B High Second muon data from ME3 IB24 ME_3C Low IB25 ME_3C High Third muon data from ME3 LU-SP_DDU_Interface.doc Page 5 of 7

Word # What Comment IB26 ME_4A Low IB27 ME_4A High First muon data from ME4 IB28 ME_4B Low IB29 ME_4B High Second muon data from ME4 IB30 ME_4C Low IB31 ME_4C High Third muon data from ME4 IB32 MB Valid Muon Stubs MB Valid Muon Stub <=> MB Quality > 0 IB33 MB_1A Low IB34 MB_1A High First muon data from MB1 IB35 MB_1B Low IB36 MB_1B High Second muon data from MB1 IB37 MB_1C Low Third muon data from MB1 IB38 MB_1C High coming in next Bunch Crossing IB39 MB_1D Low Forth muon data from MB1 IB40 MB_1D High coming in next Bunch Crossing End-of-Frame The End-of-Frame (EDF) delimiter immediately follows the frame content. The EOF delimiter is composed of two 16-bit words (no Idles allowed between EOF words), Table 14: 5-bit Fast Monitoring data in lower byte and number of Out_of_Synch input muon stubs in upper byte. The Error propagation word <K30.7, K30.7> or 0xFEFE Table 14: End-of-Frame Delimiter Structure Word TX_EN TX_ER TXD RX_DV/ LOS RX_ER RXD Comment EOF1 High Low 0xNE00 High Low 0xNE00 Fast Monitoring Data and number of Synch Errors 0x00FM 0x00FM EOF2 High High 0xXXXX High High 0xFEFE End-of-Frame word The FM data is composed of 5 signals: SP Ready (RDY) SP Busy (BSY) SP Warning of Overflow (WOV) SP Synch Error or Out of Synch (SER). The two terms are used interchangeably. SP Error (ERR) There are 15 ME muon stubs and 4 MB muon stubs maximum. A 5-bit Number_of_Errors field is enough to cover all cases. Table 15: EOF1 word structure EOF1 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Value Spare Number of Errors Spare ERR SER WOV BSY RDY LU-SP_DDU_Interface.doc Page 6 of 7

Revision History Date Version Comment October 16, 2001 1.0 Initial Release October 18, 2001 1.1 A lot of editing [1] Fibre Channel Physical and Signaling Interface (FC-PH), Revision 4.3, page 63 (pdf- 98), available at http://www.nowhere.net/~raster/fc/fcph_43.pdf [2] Texas Instruments TLK2501 1.6 to 2.5 Gbps Transceiver [3] MPC to SP Data Format, DRAFT, October 3, 2001, at http://red.pnpi.spb.ru/~uvarov/tf_crate/lu-mpc_sp_data_format_draft.doc LU-SP_DDU_Interface.doc Page 7 of 7