Software for tests: AMB and LAMB configuration - Available tools FTK Workshop – Pisa 13/03/2013 Daniel Magalotti University of Modena and Reggio Emilia.

Slides:



Advertisements
Similar presentations
BOUNDARY SCAN.
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
I/O Unit.
RPC Trigger Software ESR, July Tasks subsystem DCS subsystem Run Control online monitoring of the subsystem provide tools needed to perform on-
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
Manfred Meyer & IDT & ODT 15 Okt Detectors for Astronomy 2009, ESO Garching, Okt Detector Data Acquisition Hardware Designs.
Collection of information about the Hardware and firmware upload within the PSB rf system A. Blas FMC WG 20/01/ Topic of the meeting: make sure that.
Input / Output CS 537 – Introduction to Operating Systems.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
Mathieu Goffe EUDET JRA1 meeting, DESY Wednesday 30 January 2008 IPHC, 23 rue du Loess BP 28, 67037, Strasbourg Cedex 02, France.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
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.
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.
MICROPROCESSOR INPUT/OUTPUT
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
1 Design of Pulsar Board Mircea Bogdan (for Pulsar group) Level 2 Pulsar Mini-Review Wednesday, July 24, 2002.
GBT Interface Card for a Linux Computer Carson Teale 1.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
Gregory PawloskiAugust 22, 2002 MPC Testing Progress.
Status of Global Trigger Global Muon Trigger Sept 2001 Vienna CMS-group presented by A.Taurok.
8259A PROGRAMMABLE INTERRUPT CONTROLLER. CONTINUE…. The 8259A consist of eight data bus lines from D0-D7 The data bus is the path over which data are.
EEE440 Computer Architecture
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Sensor testing and validation plans for Phase-1 and Ultimate IPHC_HFT 06/15/ LG1.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
IT3002 Computer Architecture
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
1 FTK AUX Design Review Functionality & Specifications M. Shochet November 11, 2014AUX design review.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
بسم الله الرحمن الرحيم MEMORY AND I/O.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
 The Programmable Interrupt Controller (PlC) functions as an overall manager in an Interrupt-Driven system. It accepts requests from the peripheral equipment,
ATLAS SCT/Pixel Off Detector Workshop, UCL, 15 June ROD Test Stand Lukas Tomasek LBL
10/15: Lecture Topics Input/Output –Types of I/O Devices –How devices communicate with the rest of the system communicating with the processor communicating.
PRM for AM06 Daniel Magalotti Collaboration between: KIT, INFN Pisa and INFN Perugia.
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
Calliope-Louisa Sotiropoulou FTK: E RROR D ETECTION AND M ONITORING Aristotle University of Thessaloniki FTK WORKSHOP, ALEXANDROUPOLI: 10/03/2014.
The AMchip on the AMBoard Saverio Citraro PhD Student University of Pisa & I.N.F.N. Pisa.
Firmware development for the AM Board
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
IAPP - FTK workshop – Pisa march, 2013
ATLAS Pre-Production ROD Status SCT Version
Initial check-out of Pulsar prototypes
Saverio Citraro PhD Student University of Pisa & I.N.F.N. Pisa
The Associative Memory – AM = Bingo
LAMB: Hardware & Firmware
Pulsar 2b AMchip05-based Pattern Recognition Mezzanine
Control Unit Lecture 6.
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
Production Firmware - status Components TOTFED - status
OLD LOGIC AMBSlim5.
* Initialization (power-up, run)
Pending technical issues and plans to address and solve
Diagram of microprocessor interface with IO devices
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
Presentation transcript:

Software for tests: AMB and LAMB configuration - Available tools FTK Workshop – Pisa 13/03/2013 Daniel Magalotti University of Modena and Reggio Emilia INFN of Perugia

Outline  VME standard protocol description  AMBoard & LAMB configuration  AMchip configuration and control  Tools and software for testing 2 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

VME crate interface  VME crate  Link to the document for the VME protocol  21 slot for the VME crate  In the first slot there is the master CPU  Until 20 slot for the AMBoard that is the slave  A geographical address identifies the position of the board 3 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

VME data distribution  The VME data bus distribution inside the AMBoard VMEBACKPLANEVMEBACKPLANE VME INTERFACE FPGA SCT PIXEL CONTROL VMEDATA REPEATER FPGA ROAD EVEN ROAD ODD AUX CARD VMEDATA VMEDATAINP VMEDATAAUX VMEDATAOUT CPU VMEDATA AMBOARD SLAVE MASTER 4 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

VME address distribution  The VME address bus is distribute to all chip of the AMBoard with the Read/Write signal VMEBACKPLANEVMEBACKPLANE VME INTERFACE FPGA SCT PIXEL CONTROL ROAD EVEN ROAD ODD AUX CARD VMEADDRESS VMEADDRESS_INP VMEADDRESS_AUX VMEADDRESS_OUT CPU VMEADDRESS AMBOARD SLAVE MASTER 5 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti Read/Write

LAMB configuration  The VME data bus is also distributed to the all 4 LAMBs  8 vmedata to each LAMB so each one is controlled in parallel  The data is received from BSCAN chip that perform the conversion from VME to JTAG interface  There is 8 AMChip JTAG chain so each chain is controlled in parallel  A 3 bit address is received to identify the JTAG operation (write TDI o TMS read TDO) VMEBACKPLANEVMEBACKPLANE VME INTERFACE FPGA BSCAN LAMB VMEDATA REPEATER FPGA VMEDATA VMEDATAINP[7:0] L_ADDR[2:0] WRPAM RBSCAN 6 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Software for test  The CPU master controls the VME protocol: function in C++ code are implemented  All the functions are based on the basic read and write operation of a register VME_ReadSafeUInt (int master_mapping, u_int address_offset, u_int* value); VME_WriteSafeUInt (int master_mapping, u_int address_offset, u_int value); Read register of a specific location address Write register of a specific location address 7 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Software for test  The principal operations with the software are  Configure and control the AMchips  Testing the hardware connection to/from AMchips with JTAG standard  Readout of the SpyBuffer and writing of VmeFifo  Automatic script to testing the entire system 8 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

AMChip pattern configuration  Crate the map of the AMchip present into the board  A JTAG operation to define the mapping Number of the LAMB present in the board Define the active columns present in each LAMB Total number of AMchips 9 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

AMChip pattern configuration  Crate the map of the AMchip present into the board  A JTAG operation to define the mapping  Write the “CONFIGURATION REGISTER” of the AMchip DEF_THR <= JPATT_CTRL (3 downto 0) := Threshold DEF_required_layers <= JPATT_CTRL (5 downto 4); GEOADDR <= JPATT_CTRL(14 downto 8) := geografhical address BOTTOMchip <= JPATT_CTRL(32) := input bus mirror test_mode <= JPATT_CTRL(40); enable_layermap <= JPATT_CTRL(44); LASTchip <= JPATT_CTRL(48); disable_PATT_FLOW <= JPATT_CTRL(52); drive_strength <= JPATT_CTRL(60); DCBits<=JPATT_CTRL(79 downto 64); 10 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

AMChip pattern configuration  Crate the map of the AMchip present into the board  A JTAG operation to define the mapping  Write the “CONFIGURATION REGISTER” of the AMchip  Start the writing pattern operation into the AMchips  Write the value of the first address location into the ADDRES_DATA register  An iterative procedure on all the pattern  Write the pattern data into the DATA REGISTER  Send the OPERATIONE_WRITE_INCREMENT to write the pattern and increment the value of the ADDRESS REGISTER 11 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

AMChip pattern configuration  Crate the map of the AMchip present into the board  A JTAG operation to define the mapping  Write the “CONFIGURATION REGISTER” of the AMchip  Start the writing pattern operation into the AMchips  Write the value of the first address location into the ADDRES_DATA register  An iterative procedure on all the pattern  Write the pattern data into the DATA REGISTER  Send the OPERATIONE_WRITE_INCREMENT to write the pattern and increment the value of the ADDRESS REGISTER 12 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti Write the IR JTAG of AMchip Write the data into the register addressing

AMChip configuration  Check pattern operation control the pattern bank written  This operation is done only with JTAG operation  Set the AMchip into TMODE operation so the input/output data is disable  Loading the pattern data into the DATA REGISTER of the AMchip  Send a INIT_OPCODE command to enable the match of the pattern  Control the ADDRESS REGISTER to compare the current value with the expecting value  Send an SELECTION_BANK command to clear the output match for the next pattern 13 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

LAMB JTAG Testing  Testing with JTAG allows you to test printed circuit boards for manufacturing defects and functional failures 14 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti Chip manufacturers includes special cell on each of the ICs pins to facilitate test.

LAMB JTAG Testing  Testing with JTAG allows you to test printed circuit boards for manufacturing defects and functional failures  By driving signals between connected devices, nets can be tested for opens, shorts and stuck-at failures.  For testing all the pad of the AMchip we have to check  INput DIstributor to input pad of AMchips [DONE]  AMchips output to GLUE [TO-DO]  AMchips output to AMchips input pad (pipeline connection) [TO-DO] 15 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

LAMB JTAG Testing  Testing with JTAG allows you to test printed circuit boards for manufacturing defects and functional failures  By driving signals between connected devices, nets can be tested for opens, shorts and stuck-at failures.  For testing all the pad of the AMchip we have to check  INput DIstributor to input pad of AMchips [DONE]  AMchips output to GLUE [TO-DO]  AMchips output to AMchips input pad (pipeline connection) [TO-DO] 16 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Monitoring and testing tools  The Spybuffer is used to monitoring the data flow in each input and output link between AMBoard and AUX card  A function give this output file format 17 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Monitoring and testing tools  The Spybuffer is used to monitoring the data flow in each input and output link between AMBoard and AUX card  A function give this output file format In the red box is report the output of one Spybuffer: address of memory location value of the memory In the green box the are the information of the status of Spybuffer first free address location overflow status freeze status 18 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Monitoring and testing tools  The Spybuffer is used to monitoring the data flow in each input and output link between AMBoard and AUX card  A function give this output file format  The VmeFifos are instantiate in each link for the input and output to simulate the eternal data flow  An hit file is loading into the FIFOs FPGA on the AMBOARD FIFO BUS 0 FIFO BUS 7 19 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti

Automatic test  An automatic script is implemented to testing the entire system using tools describe above  The list of operation  A simulation functions generate the pattern bank and both the hit files and the expected road files  The hit file is loading into the VmeFifos  A start command is sent to enable the hit distribution to the AMchip  The output road from the AMchip is stored into the output Spybuffer  The content of the Spybuffer is compared with the expected road file 20 FTK Workshop 13/03/2013 Pisa - Daniel Magalotti