Peter JansweijerMROD Design Review: November 12, 2003Slide 1 MROD-1 Hardware Overview MRODin MRODout MROD-1 = 3 x MRODin + 1 x MRODout.

Slides:



Advertisements
Similar presentations
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Programmable Interval Timer
MROD IDR 12 Nov / JV 1 1.MROD-1 software 2.Testing 3.TigerSHARC in stead of the 21160?
A Gigabit Ethernet Link Source Card Robert E. Blair, John W. Dawson, Gary Drake, David J. Francis*, William N. Haberichter, James L. Schlereth Argonne.
CMS Week Sept 2002 HCAL Data Concentrator Status Report for RUWG and Calibration WG Eric Hazen, Jim Rohlf, Shouxiang Wu Boston University.
Interrupts What is an interrupt? What does an interrupt do to the “flow of control” Interrupts used to overlap computation & I/O – Examples would be console.
Tracker DAQ Makoto Yoshida (Osaka Univ.) MICE Frascati 2005/6/27.
COMP3221: Microprocessors and Embedded Systems Lecture 15: Interrupts I Lecturer: Hui Wu Session 1, 2005.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
6-1 I/O Methods I/O – Transfer of data between memory of the system and the I/O device Most devices operate asynchronously from the CPU Most methods involve.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: internal fault (e.g.. divide by.
22 February 2001ATLAS MDT Electronics PDR1 The MROD The MDT Precision Chambers ROD Adriaan König University of Nijmegen.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
26 February 2002ATLAS Muon Electronics Meeting1 MROD: the MDT Read Out Driver Status of MROD-1 Prototype Adriaan König University of Nijmegen.
5 October 20002nd ATLAS ROD Workshop1 The MROD The MDT Precision Chambers ROD Adriaan König University of Nijmegen.
1 Pulsar firmware status March 12th, 2004 Overall firmware status Pulsar Slink formatter Slink merger Muon Reces SVT L2toTS Transmitters How to keep firmware.
11 November 2003ATLAS MROD Design Review1 The MROD The Read Out Driver for the ATLAS MDT Muon Precision Chambers Marcello Barisonzi, Henk Boterenbrood,
1 ROD US ATLAS FDR, ROD Overview Atlas Wisconsin Group Khang Dao, Damon Fasching, Douglas Ferguson, Owen Hayes, Richard Jared, John Joseph, Krista Marks,
28 June 2004 ATLAS SCT/Pixel TIM FDR/PRR Martin Postranecky TIM OVERVIEW1 ATLAS SCT/Pixel TIM FDR/PRR 28 June 2004 Physics & Astronomy HEP Electronics.
MB, 9/8/041 Introduction to TDC-II and Address Map Mircea Bogdan (UC)
Trigger Supervisor (TS) J. William Gu Data Acquisition Group 1.TS position in the system 2.First prototype TS 3.TS functions 4.TS test status.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Peter JansweijerMROD Production Readiness Review: November 2, 2005Slide 1 Production Readiness Review of the MDT ROD Electronic Design Details.
MICROPROCESSOR INPUT/OUTPUT
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
15th Dec, 2007DAE-SNP07 S.S.Upadhya1 Electronics and Data Acquisition system for prototype INO-ICAL detector A.Behere1, V.B.Chandratre1, S.D.Kalmani2,
Top Level View of Computer Function and Interconnection.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
Design and Performance of a PCI Interface with four 2 Gbit/s Serial Optical Links Stefan Haas, Markus Joos CERN Wieslaw Iwanski Henryk Niewodnicznski Institute.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Status of Global Trigger Global Muon Trigger Sept 2001 Vienna CMS-group presented by A.Taurok.
11 October 2002Matthew Warren - Trigger Board CDR1 Trigger Board CDR Matthew Warren University College London 11 October 2002.
8279 KEYBOARD AND DISPLAY INTERFACING
Electronic System Design GroupInstrumentation DepartmentR. Halsall, S. Taghavirad et alRutherford Appleton Laboratory5 March 2003 Delay FPGA I/O Clock40.
Electronic System Design GroupInstrumentation DepartmentRob Halsall et al.Rutherford Appleton Laboratory21 October 2002 CMS Tracker FED Back End FPGA Frame_Sync_out0.
Global Trigger H. Bergauer, Ch. Deldicque, J. Erö, K. Kastner, S. Kostner, A. Nentchev, B. Neuherz, N. Neumeister, M. Padrta, P. Porth, H. Rohringer, H.
Instrumentation DepartmentCCLRC Rutherford Appleton Laboratory28 March 2003 FED Project Plan 2003 FED Project aiming to satisfy 2 demands/timescales: Module.
Overview of Super-Harvard Architecture (SHARC) Daniel GlickDaniel Glick – May 15, 2002 for V (Dewar)
Upgrade to the Read-Out Driver for ATLAS Silicon Detectors Atlas Wisconsin/LBNL Group John Joseph March 21 st 2007 ATLAS Pixel B-Layer Upgrade Workshop.
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.
Sept. 7, 2004Silicon VTX Workshop - Brookhaven National Laboratory, Long Island, New York Prototype Design of the Front End Module (FEM) for the Silicon.
28 June 2004ATLAS Pixel/SCT TIM FDR/PRR1 TIM tests with ROD Crate John Hill.
Level-1 Calorimeter Trigger Readout Driver FDR/PRR 15 th August 2006 Introduction to the ROD Norman Gee 15-Aug-2006 Norman Gee.
8279 KEYBOARD AND DISPLAY INTERFACING
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
09/01/2016James Leaver SLINK Current Progress. 09/01/2016James Leaver Hardware Setup Slink Receiver Generic PCI Card Slink Transmitter Transition Card.
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.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
ATLAS SCT/Pixel TIM FDR/PRR28 June 2004 TIM Requirements - John Lane1 ATLAS SCT/Pixel TIM FDR/PRR 28 June 2004 Physics & Astronomy HEP Electronics John.
General Tracker Meeting: Greg Iles4 December Status of the APV Emulator (APVE) First what whyhow –Reminder of what the APVE is, why we need it and.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
KEYBOARD/DISPLAY CONTROLLER - INTEL Features of 8279 The important features of 8279 are, Simultaneous keyboard and display operations. Scanned keyboard.
Electronic System Design GroupInstrumentation DepartmentR. Halsall, S. Taghavirad et alRutherford Appleton Laboratory5 March 2003 CMS Tracker FED Firmware.
Calliope-Louisa Sotiropoulou FTK: E RROR D ETECTION AND M ONITORING Aristotle University of Thessaloniki FTK WORKSHOP, ALEXANDROUPOLI: 10/03/2014.
ATLAS Pre-Production ROD Status SCT Version
vXS fPGA-based Time to Digital Converter (vfTDC)
Microprocessor Systems Design I
Production Firmware - status Components TOTFED - status
Iwaki System Readout Board User’s Guide
HCAL Data Concentrator Production Status
The Read Out Driver for the ATLAS Muon Precision Chambers
COMPUTER PERIPHERALS AND INTERFACES
Chapter 13: I/O Systems.
Presentation transcript:

Peter JansweijerMROD Design Review: November 12, 2003Slide 1 MROD-1 Hardware Overview MRODin MRODout MROD-1 = 3 x MRODin + 1 x MRODout

Peter JansweijerMROD Design Review: November 12, 2003Slide 2 Memory SHARC Memory FPGA VME64x TTC interface MRODout MRODin FPGA Memory SHARC Memory FPGA Memory SHARC Memory FPGA SHARC A SHARC B LVDS In LVDS Out SHARC Links C D E MRODin 6x S-Link or GOLA MROD-1 Hardware Overview

Peter JansweijerMROD Design Review: November 12, 2003Slide 3 MRODin Buffer memory, Separate partition per TDC, Dataflow into the buffer memory Tetris register, I2O-FIFO, Fault tolerance, Error signaling and handling, Resynchronization Dataflow out of buffer memory, DMA, Zero suppression, Length FIFO Data format, TDC-ID, Parity errors Interrupt sources FPGA registers

Peter JansweijerMROD Design Review: November 12, 2003Slide 4 1 MB ZBT Buffer Memory SHARC Data FIFO Tetris Register Input Output I2O FIFO Control Control/Status Error signaling 4 Sharc links 40 (80) MB/S Each FIFO Length FIFO FPGA Channel A FPGA Channel B MRODin Overview S-Link or GOLA S-Link or GOLA Channel B Memory

Peter JansweijerMROD Design Review: November 12, 2003Slide 5 MDT Readout chain wooden model

Peter JansweijerMROD Design Review: November 12, 2003Slide 6 Buffer Memory Partitions Dataflow into buffer memory STNTTSTTTT Time Division Multiplexed STTTTNSTN T TT T T T TT T T T T TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 S N Separator= Start new TDM Cycle No Data= Time slot filler In real life: 18 Buffer Memory Partitions (8 K words each) T TDC data wordTDC trailer Note: TDC headers are omitted for simplicity!

Peter JansweijerMROD Design Review: November 12, 2003Slide 7 Tetris Register Normal operation TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 Example Tetris Register= 6 x 4 In real life, Tetris Register= 18 x 16 Expected Event-ID n n+3 n+1 n+4 I2O-FIFO All trailers of Event-ID n arrived Event-ID n

Peter JansweijerMROD Design Review: November 12, 2003Slide 8 Tetris Register TDC trailer missed TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 Expected Event-ID n n+3 n+2 n+5 I2O-FIFO All trailers of Event-ID n+1 arrived Event-ID n Event-ID n+1

Peter JansweijerMROD Design Review: November 12, 2003Slide 9 Tetris Register Notorious absence of TDC (panic mode) TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 Expected Event-ID n n+3 n+1 n+4 I2O-FIFO Arrival of a trailer for Event-ID n+3 Event-ID n

Peter JansweijerMROD Design Review: November 12, 2003Slide 10 Tetris Register Early / Late TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 Expected Event-ID n+1 n+4 n+1 n+4 Early TDC1 trailer Late TDC 1 trailer Notes: Expected Event-ID can be set by the SHARC during MRODin initialization Expected Event-ID is hardware updated Resynchronization for an MRODin channel should be possible.

Peter JansweijerMROD Design Review: November 12, 2003Slide 11 Buffer Memory Partitions Dataflow out of buffer memory T TT T T T TT T T T T TDC 0TDC 1TDC 2TDC 3TDC 4TDC 5 Read from I2O-FIFO: TDC Link Present (TLP) word TTTTT 5 T Trailer and Word Count (TWC) Word Count and Event-ID To Output Data FIFO (128) Event-ID n To Length FIFO (128) When a TDC is not present then don’t read the partition! You’ll never encounter a Trailer! This information is signaled in the data stream (TLP word)

Peter JansweijerMROD Design Review: November 12, 2003Slide 12 Output Data FIFO is read with continuous DMA by the SHARC Length FIFO provides event summary While reading TDC data from buffer memory, data can be zero suppressed (i.e. TDC header immediately followed by TDC trailer) Dataflow out of buffer memory Continued

Peter JansweijerMROD Design Review: November 12, 2003Slide 13 When the MRODin encounters a TDC Header, it reformats the TDC-ID bits: Data Format: TDC-ID in TDC Header word TDC-ID (4-bit) Upper Nibble = TDC data type 0x1010TDC Header 0x1011End Of TDC Group (used by AMT-1; Not used by AMT-2/3 chip) TDC word received by CSM bit TDC-ID based on TDM time slot TDC Header With 5-bits, 18 TDCs can be coded See: T. Wijnen, “The MROD data format”, (ATL-COM-MUON )

Peter JansweijerMROD Design Review: November 12, 2003Slide TDC word received by MROD bits, residue from TDC-ID CSM -> MROD Parity bit TDC -> CSM Parity Error Upper Nibble = TDC data type TDC-ID (4-bit) Upper Nibble = TDC data type TDC word received by CSM Error Replacement Code Data Format: Parity errors Upper Nibble When the MRODin encounters a TDC Parity Error or an Input Link Parity Error, it replaces the upper nibble with an Error replacement code (programmable)

Peter JansweijerMROD Design Review: November 12, 2003Slide 15 MRODin Interrupts IRQ0 X I2O_FIFO Full (128 entries) X S Buffer Memory Partition Full (8 K words) S Read Out Maximum TDC Parity error (+ Overrun) IRQ1Input Link Parity error (+ Overrun) Input Link Down IRQ2TDC Early, Late (+ Overrun) Notes: X: Fatal S: Shutdown Read-out for particular TDC All interrupt sources are individually mask-able

Peter JansweijerMROD Design Review: November 12, 2003Slide 16 MRODin FPGA Registers Separator –Pattern –Control Bit Pattern –Mask –Control Bit Mask TDC Header –Pattern –Control Bit Pattern –Mask –Control Bit Mask TDC Trailer –Pattern –Control Bit Pattern –Mask –Control Bit Mask No Data –Pattern –Control Bit Pattern –Mask –Control Bit Mask Error-Code Replace Patterns msb’s MRODin Header Pattern (TLP) msb’s MRODin Trailer Pattern (TWC) Event Length FIFO Interrupt Control IRQ0 –I2O_FIFO Full –Buffer Memory Partition Full –Read-out Maximum –TDC Parity Error (Overrun) TDC Parity Error Individual Interrupt Mask Input Link Interrupt IRQ1 –Input Link Parity error (Overrun) –Input Link Down Early and Late Event-ID IRQ2 –TDC number, Event-ID (Overrun) Test & Input Link Control Status Register Test Link Data Register Test Link Control Register Maximum Event Size Expected Event-ID TDC Mask Register Partition Read-out Enable Separator Flags Register

Peter JansweijerMROD Design Review: November 12, 2003Slide 17 Event building of TDC data Tetris register creates a fault tolerant design FPGAs supply SHARCs with appropriate (error) information Testable by SHARC via access to registers and memory Summary MRODin

Peter JansweijerMROD Design Review: November 12, 2003Slide 18 VME64x Interface TTC Interface via TIM FIFO and Flow control via ROL Interrupt sources FPGA registers MRODout VME64x TTC interface MRODout FPGA SHARC A SHARC B LVDS In LVDS Out SHARC Links

Peter JansweijerMROD Design Review: November 12, 2003Slide 19 VME64x Slave Interface VME64x Guideline; Chris Parkman, “ATLAS Read Out Driver VMEbus Implementation”: CR/CSR (AM 0x2F) –A24/D32Single CycleMandatory –A24/D32/D16/D08(EO)/D08(O)Single Cycle, RMWOptional SHARCs –A32/D32Single Cycle, RMW, BLTPreferred CRfull VME64x range, currently filled with the VME64 subset CSRBAR/BitSet/BitClr registers SHARC may generate a VMEbus Interrupt –Selectable IRQ level [1..7] {I(n) D08(O) where n=1..7} –Programmable 8-bit Status-ID –ROACKPreferred AM 0x10 (User Defined) used as HARD Reset for the SHARCs

Peter JansweijerMROD Design Review: November 12, 2003Slide 20 TTC interface TTC Interface TIMDesigned by University College London Uses a special P3 backplane with a so called TTC-bus (8 serial signals) TIM Distributes: –Event-ID / Bunch-ID Put into a FIFO that can be read by the SHARC –Trigger-Type Put into a FIFO that can be read by the SHARC –ECR Connected to SHARC IRQ1 –BCR not used by MROD –L1A not used by MROD TIM Incorporates Busy Logic to throttle the CTP

Peter JansweijerMROD Design Review: November 12, 2003Slide 21 FIFO and Flow control via ROL Output S-Link interface 160 MB/s FPGA contains S-Link Output FIFO (256) to avoid local bus stall due to an XOFF SHARCs can transfer output data through a chained DMA

Peter JansweijerMROD Design Review: November 12, 2003Slide 22 MRODout Interrupts IRQ0S-Link Return Lines (LRL) Change S-Link LDOWN IRQ1Event Counter Reset (ECR) IRQ2Event/Bunch-ID FIFO Full Trigger Type FIFO Full All interrupt sources are individually mask-able

Peter JansweijerMROD Design Review: November 12, 2003Slide 23 MRODout FPGA Registers VMEbus IRQ –IRQ Level –8-bit Status-ID Pattern VMEbus BAR and IRQ –Trigger VMEbus IRQ –IRQ Pending Status –BAR S-LINK Status and Interrupt Register –Link Return Lines (LRL) –LRL Change Interrupt –Link Down Interrupt TTC Control/Status and Interrupt Register –Event-ID/Bunch-ID/Trigger Type FIFO Empty/Full status –Event-ID/Bunch-ID/Trigger Type FIFO Full Interrupt –FIFO Flush select (Software or ECR) Resets and LEDs

Peter JansweijerMROD Design Review: November 12, 2003Slide 24 Event building of data from 3 (/4) MRODin boards Formatting of the output data for the ROL Testable by SHARC via access to register Summary MRODout

Peter JansweijerMROD Design Review: November 12, 2003Slide 25 Questions? MRODin MRODout

Peter JansweijerMROD Design Review: November 12, 2003Slide 26

Peter JansweijerMROD Design Review: November 12, 2003Slide 27 MROD-1 Reset Topology