LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The Boundary.

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Z. Stamenković 1, M. Giles 2, and F. Russi 2 1 IHP GmbH, Frankfurt (Oder), GERMANY 2 Synopsys Inc., Mountain View, CA, USA 13th IEEE European Test Symposium,
BOUNDARY SCAN.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Scan design techniques J. M. Martins Ferreira FEUP / DEEC - Rua.
The 8085 Microprocessor Architecture
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Non-BS cluster testing by PRPG / SA J. M. Martins Ferreira FEUP.
A case study of test program generation
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A Windows BS test controller application J. M. Martins Ferreira.
1. 2 Overview: Introduction Introduction SVF structure SVF structure SVF commands SVF commands SVF TAP state name used for each SVF TAP state name used.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The IEEE std for mixed-signal test J. M. Martins Ferreira.
LEONARDO INSIGHT II / TAP-MM ASTEP - Basic Test Concepts © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Basic test concepts J. M. Martins.
LEONARDO INSIGHT II / TAP-MM ASTEP - A Windows BS test controller application © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A Windows BS.
JTAG Course Lecturer: Tomer Rothschild
Lecture 28 IEEE JTAG Boundary Scan Standard
Liron Cohen Introduction SVF was jointly developed by Texas Instruments and Teradyne in response to a need for the exchange of Boundary Scan.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 291 Lecture 29 IEEE JTAG Advanced Boundary Scan & Description Language (BSDL) n Special scan.
The Hierarchical Scan Description Language (HSDL) was developed by to complement BSDL.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A BS test controller model J. M. Martins Ferreira FEUP / DEEC -
Design for Testability
Real-Time Systems Design JTAG – testing and programming.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Basic test concepts J. M. Martins Ferreira FEUP / DEEC - Rua Dr.
Spring 07, Jan 25 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 VLSI System DFT Vishwani D. Agrawal James J. Danaher.
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
Guidelines for Chip DFT Based on Boundary Scan Reference to an article by Ben Bannetts By Regev Susid.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Test protocol for BS boards J. M. Martins Ferreira FEUP / DEEC.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.
IEEE Std 1581 is published … Now what? 2011 Board Test Workshop Heiko Ehrenberg.
Design for Test HIBU – Oct. 31st 2006 J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 J. M. Martins Ferreira FEUP / DEEC - Rua Dr.
EEE515J1 ASICs and DIGITAL DESIGN Lecture 8: Testing Ian McCrumRoom 5D03B Tel: voice mail on 6 th ring Web site:
BS Test & Measurement Technique for Modern Semi-con devices & PCBAs.
Introduction to design for test techniques – The IEEE std for mixed-signal test © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The.
LEONARDO INSIGHT II / TAP-MM ASTEP - An introduction to Built-In Self-Test (BIST) © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 An Introduction.
Testing of integrated circuits and design for testability J. Christiansen CERN - EP/MIC
Board-level testing and IEEE1149.x Boundary Scan standard
Logic BIST Logic BIST.
LEONARDO INSIGHT II / TAP-MM ASTEP - Test protocol for BS boards © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Test protocol for BS boards.
Computer Architecture And Organization UNIT-II General System Architecture.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
April 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 281 Lecture 28 IEEE JTAG Boundary Scan Standard n Motivation n Bed-of-nails tester n System view.
LEONARDO INSIGHT II / TAP-MM ASTEP - A case study of test program generation © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A case study.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
LEONARDO INSIGHT II / TAP-MM ASTEP - Introduction to mixed-signal testing using the standard © J. M. Martins Ferreira - University of Porto (FEUP.
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 IEEE Standard : Boundary-Scan Testing of Advanced Digital Networks J. M. Martins Ferreira.
Overview for Initialization Process April 27, 2010.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Testing of logic arrayes to be programmed Levels of abstraction While I>k then.. ROM ALU RAM & &1 Behavioural model Functional model Logic level model.
© Aeroflex Ltd 2013 The copyright in this document is the property of Aeroflex Ltd and is supplied on the express terms that it is treated as confidential.
© LATTICE SEMICONDUCTOR CORPORATION 2000 Uudet mikropiirit JTAG February Lattice Confidential Lattice Semiconductor The Leader in ISP TM PLDs Presents.
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
Topics SRAM-based FPGA fabrics: Xilinx. Altera..
Hayri Uğur UYANIK Very Large Scale Integration II - VLSI II
VLSI Testing Lecture 14: System Diagnosis
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Hardware Testing and Designing for Testability
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 2)
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
ECE 434 Advanced Digital System L18
CPE/EE 428/528 VLSI Design II – Intro to Testing
CPE/EE 422/522 Advanced Logic Design L17
Computer Architecture and Organization: L02: Logic design Review
The 8085 Microprocessor Architecture
Sungho Kang Yonsei University
Presentation transcript:

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The Boundary Scan Test (BST) technology J. M. Martins Ferreira FEUP / DEEC - Rua dos Bragas Porto - PORTUGAL Tel / Fax: /

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)2 Objectives To present in detail the BS test technology, emphasising its implementation and application domain To enable the student to acquire sufficient knowledge to design and implement a simple BS architecture

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)3 Outline The development of BS and its application domain The BS architecture and test access port (TAP) –The basic BS cell –The test data registers –The instruction register –The TAP controller state machine

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)4 Why Boundary Scan Test? The two main reasons that led in the mid-80s to the development of BST were: –The increasing complexity of integrated circuits (ICs) made it exceedingly difficult to develop test programs for the functional test of complex printed circuit boards (PCBs) –The shrinking effect of using small outline surface mount devices and advanced mounting technologies almost disabled physical access to internal PCB nodes and made in-circuit test exceedingly difficult

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)5 The application domain of BST BST addresses the structural test of digital printed circuit boards Keywords: structural, digital, PCBs The narrow scope of BST contributed to its acceptance and to the quick development of products, but the potential of a standard embedded test infrastructure goes much beyond the initial application domain

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)6 The basic concept of BST BS makes it possible to decouple the internal IC logic from the pins and allows “direct” access to any PCB node without backdriving effects

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)7 The Test Access Port (TAP) TDI (Test Data Input): The serial data input to the BS register (a floating TDI is read as a 1 ) TDO (Test Data Output): The serial data output of the BS register (in high-impedance except when a scan operation is in progress) TCK (Test Clock): Clock for the test logic TMS (Test Mode Select): A control input that defines the operating mode required for the test logic (a floating TMS is read as a 1 )

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)8 The BS architecture Besides the BS register, the test logic includes additional data registers, an instruction register and a TAP controller finite state machine

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)9 Access protocol to the BS architecture The TAP controller places the instruction register in the TDI-TDO path The proper bit sequence (instruction) is shifted in, setting the contents of the instruction register to select the required data register The TAP controller places the selected data register in the TDI-TDO path Test vectors may now be shifted in and out through the selected test data register

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)10 The basic BS cell Three main operating modes: –Transparent –Controllability –Observability

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)11 BS: The basic test protocol Shift in a new test vector (left mux in Shift mode, right mux in Normal or Test modes) Apply the test vector (left mux in Shift or Capture modes, right mux in Test mode) Capture the responses (left mux in Capture mode) Shift out the responses (left mux in Shift mode)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)12 Is BS test slow? Scanning in and out each test vector / responses may be unacceptable for IC test, which may require hundreds of thousands of vectors However, and considering the main application domain of BS (structural testing of PCBs), we shall see that the number of test vectors required is normally small

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)13 BS: The test data registers (1) The BS register comprises the set of BS cells present in the circuit and is mandatory in any BS IC (at least two instructions selecting this register have to be supported: EXTEST and SAMPLE / PRELOAD) The bypass register is mandatory and its function is to shorten the total length of the serial PCB-level chain (it has a single bit and is selected by the BYPASS instruction)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)14 BS: The test data registers (2) The identification register is optional and its function is to provide a 32-bit sequence enabling the test engineer to perform an identity check on each device supporting the IDCODE instruction The user test data registers are also optional and will normally interface additional testability infrastructures introduced by the designers

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)15 The instruction register: Mandatory instructions (1) The EXTEST instruction selects the BS register and imposes the (external) test mode in each BS cell, decoupling the IC core logic from the pins (the EXTEST instruction has a pre-defined code of all- 0 s) The SAMPLE / PRELOAD instruction also selects the BS register, but the BS cells are now in transparent mode (this instruction does not have a pre-defined code)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)16 The instruction register: Mandatory instructions (2) Both EXTEST and SAMPLE / PRELOAD are used to test the board interconnects, but S/P is used to shift in the first test vector (why?) The BYPASS instruction selects the bypass register and enables a 1-bit data path through those ICs which do not play a role in the current test operation (this instruction has an all- 1 code and is automatically loaded into the instruction register on reset)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)17 The TAP controller The TAP controller is a small finite state machine that generates most of the control signals required by the BS architecture The TAP controller commands the register placed between TDI and TDO to... –capture the logic value present at the parallel input of its cells –shift data serially through the register cells –update the cell parallel outputs with the values that were shifted in

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)18 TAP controller state transition diagram

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)19 The TAP controller states (1) Capture, Shift and Update (-DR or -IR) are the states where the selected register performs the three main test operations In the Test Logic Reset the BS register is in transparent mode and the functional logic operating normally Run Test / Idle is used to perform certain test operations (such as BIST — Built-In Self-Test)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)20 The TAP controller states (2) Select, Exit1 and Exit2 (-DR or -IR) are temporary states Exit1 and Exit2, combined with Pause (-DR or - IR) allow shifting of test data to be temporarily halted The Select states allow selection of which type of register (-DR or -IR) to place between TDI and TDO

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)21 TAP controller timing details State transitions occur with the rising edge in the TCK signal Actions in a TAP controller state (such as capture, shift or update operations) occur with the falling edge of TCK in the state

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)22 BSDL: Boundary Scan Description Language BSDL is a subset of VHDL that describes the BS infrastructure and its operation (approved as IEEE std b in 1994) Mandatory features are not described in BSDL (e.g. a BSDL description does not describe the BYPASS register) CAD tools making use of BSDL: testability analysis, automatic test pattern generation, fault diagnosis, etc.

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)23 HSDL: Hierarchical Scan DL and SVF: Serial Vector Format HSDL complements BSDL, describing how IEEE is implemented at board level SVF was jointly developed by Teradyne and Texas Instruments to enable a vendor- independent representation of IEEE test patterns An SVF file contains ASCII statements consisting of commands and parameters of 3 types: state, offset and parallel commands

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)24 The Scan Educator application (TI)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)25 Case study: a simple BST infrastructure in a MACH210 The objective is to design a very simple BST infrastructure around a core logic that implements the identity function

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)26 Required BST instructions Only the three mandatory instructions are required:

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)27 TAP controller outputs Control signals generated by the TAP controller: –BSUPD: Boundary scan update –INTRST: Internal reset –IRSHF: Instruction register shift, IRCAP: Instruction register capture, IRUPD: Instruction register update –DRSHF: Data register shift, DRCAP: Data register capture –MUXCTR: to select between data / instructions –TDOACT: TDO tristate control

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)28 BST register cells “Free-running” clock configuration:

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)29 Instruction register cells

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)30 BP register cell (the latch stage is not required for this cell)

LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)31 Design verification What is the TAP state transition sequence shown?