OLD LOGIC AMBSlim5.

Slides:



Advertisements
Similar presentations
Contents Overview Data Information Frame Format Protocol
Advertisements

11-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL I/O System Design.
Serial I/O - Programmable Communication Interface
Hierarchy of I/O Control Devices
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
INPUT-OUTPUT ORGANIZATION
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.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
Unit 4 Design and Synthesis of Datapath Controllers
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
CS3505: DATA LINK LAYER. data link layer  phys. layer subject to errors; not reliable; and only moves information as bits, which alone are not meaningful.
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)
1  1998 Morgan Kaufmann Publishers Value of control signals is dependent upon: –what instruction is being executed –which step is being performed Use.
FPLD Decoder: Components & Functions Florida State University Roberto A Brown 6/11/99.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
M. Adinolfi – University of Oxford – MAPMT Workshop – Imperial College 27 June Status of the PINT chip M. Adinolfi University of Oxford.
Software for tests: AMB and LAMB configuration - Available tools FTK Workshop – Pisa 13/03/2013 Daniel Magalotti University of Modena and Reggio Emilia.
8251 USART.
Combinational Logic Design
Calliope-Louisa Sotiropoulou FTK: E RROR D ETECTION AND M ONITORING Aristotle University of Thessaloniki FTK WORKSHOP, ALEXANDROUPOLI: 10/03/2014.
The Monitoring Problem Firmware for the Lost Synchronization Detection Project Type: MC-IAPP Industry Academia Partnerships and Pathways Project Name:
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 4 Report Tuesday 22 nd July 2008 Jack Hickish.
UART Jin-Fu Li. 2 EE613 VLSI DesignNational Central University Introduction UART (modem)  Universal asynchronous receiver and transmitter Data format.
Digital Logic Design Alex Bronstein
Computer Organization
Firmware development for the AM Board
8085 Microprocessor Architecture
Serial Communications
The HCS12 SCI Subsystem A HCS12 device may have one or two serial communication interface. These two SCI interfaces are referred to as SCI0 and SCI1. The.
IAPP - FTK workshop – Pisa march, 2013
ATLAS Pre-Production ROD Status SCT Version
Serial mode of data transfer
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
The 8085 Microprocessor Architecture
Basic Processor Structure/design
Control Unit Lecture 6.
Alberto Valero 17 de Diciembre de 2007
ELECTRONICS AND COMMUNICATION ENGINEERING
Input/Output and Communication
* Initialization (power-up, run)
Communication Networks: Technology & Protocols
Chapter 7 Text Input/Output Objectives
Diagram of microprocessor interface with IO devices
Data Transmission Keep errors to an acceptable low probability
The 8085 Microprocessor Architecture
Serial I/O and Data Communication.
Lecture on Microcomputer
SERIAL PORT PROGRAMMING
Early Stage Researcher: Panos Neroutsos
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
SVT Improvement (Track counting in GhostBuster board)
Cache Memory Presentation I
Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan
Computer Organization and Design
New Crate Controller Development
Clock Domain Crossing Keon Amini.
Asynchronous Serial Communications
Serial Communication Interface: Using 8251
Computer System Overview
Communication & Control
COMP3221: Microprocessors and Embedded Systems
Chapter 8 I/O.
Programmable Data Communication Blocks
The 8085 Microprocessor Architecture
EUSART Serial Communication.
Multi Chip Module (MCM) The ALICE Silicon Pixel Detector (SPD)
Serial Communications
FED Design and EMU-to-DAQ Test
Error Checking continued
Introduction Communication Modes Transmission Modes
Presentation transcript:

OLD LOGIC AMBSlim5

AMBFTK I/O Format ROAD: 2 words/road HIT EE EP ADD bits 13-0 EE EP 1 EE EP ADD 19-14 BITMAP 7-0 HIT 14-0 Hit EE AGREEMENT with CHICAGO for tests: for the transmission protocol we start to implement a simple solution with 2 states IDLE & DATA. IDLE: transmit always the same K word DATA: we are not in IDLE, so all data is good. After testing the link we can implement the S-Link protocol with more control of link as CRC control (you can refer at this link http://hsi.web.cern.ch/hsi/s-link/devices/hola/hw_spec.html )

Control chip inputs/outputs EE signals Signals to communicate Errors… etc. Common to Input/output FPGAs VME signals Control Signals To VME chip

Generate Operation Code to the LAMBs Control chip Logic: Generate INIT_event when: (a) EE is received by SCT, PIX and ROAD chips (4 signals) Receive error (code & stream info) and generate an action (freeze or stopless-removal) comparing with Severity error For Freeze: check that the event involved in the error is totally processed and than generate the freeze to all AMBFTK FPGAs. Send Freeze upstream. Generate Operation Code to the LAMBs FSM?? Molto semplice: INIT_EVENT e quando riceve I 4 EE, INIT_EVENT di nouvo. Init_event 2 1 4 EE words received

INPUT FPGAs Move spy Buffer before Far coincidere le FIFOs Quanto grandi? Non mi torna quello che dice Alberto INPUT FPGAs

Errors to be monitored into the INPUT Chips Parity or CRC error – for each link (8 pixel & 4 SCT) Parity (PA) or ‘sum check’ should be monitored. Error detection should be registered in a 8 bit (or 4 bit word) FIFO Overflow – each FIFO full flag should produce error if set. Again 8 (or 4) bit word. Invalid Input data (for example invalid HIT from ROD) ?? Lost Synchronism (event tags in different streams do not match) – Again 8 (or 4) bit word Truncated output (for example too many hits in input) - Again 8 (or 4) bit word. We can communicate to Control Chip the error using: 4 bits to identify the kind of error + 8 (or 4) bits to say which is the faulty stream.

INPUT VME registers Error register – WR = clear; 8 (or 4) x 5 bits For each FIFO: flag register (empty, HFull, Full)–RO (3x 8 or 4) For each FSM: state machine - RO Output Status (Hold flags) – RO (necessario? Esiste HFull) For each Spy Buffer: Spy Buffer register: Pointer, OVFL flag, status(freeze/spy. WR=clear of Pointer & flag. Status is RO chip firmware ID? (see Alberto slides) Firmware and date reg. Input FiFos: R/W Input Spy Buffers memories Timing measurements: each chip has a counter. When Init_event is received it is started. When all the input EE event words are received it is stopped. All incoming words are written in the spy buffer with the counter content.

ROAD chips (OUTPUT)