Introduction to DFT Alexander Gnusin.

Slides:



Advertisements
Similar presentations
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,
Advertisements

BOUNDARY SCAN.
MEMORY BIST by: Saeid Hashemi Mehrdad Falakparvaz
V. Vaithianathan, AP/ECE
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.
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
Experiment 2 PIC Program Execution & Built-In Self-Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
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.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
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.
Spring 08, Apr 17 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 System Test Vishwani D. Agrawal James J. Danaher.
Design for Testability Theory and Practice Lecture 11: BIST
Embedded Hardware and Software Self-Testing Methodologies for Processor Cores Li Chen, Sujit Dey, Pablo Sanchez, Krishna Sekar, and Ying Chen Design Automation.
Real-Time Systems Design JTAG – testing and programming.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 121 Design for Testability Theory and Practice Lecture 12: System Diagnosis n Definition n Functional.
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.
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
Design for Testability
TOPIC - BIST architectures I
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
BIST vs. ATPG.
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.
EEE515J1 ASICs and DIGITAL DESIGN Lecture 8: Testing Ian McCrumRoom 5D03B Tel: voice mail on 6 th ring Web site:
IEEE P1687 Obstacle Course John Potter Sr. Principal Technologist
Testing of integrated circuits and design for testability J. Christiansen CERN - EP/MIC
Introduction to VLSI Testing
LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The Boundary.
Board-level testing and IEEE1149.x Boundary Scan standard
Fault models Stuck-at Stuck-at-1 Reset coupling 0 0 Set coupling Inversion coupling Transition  /0 0 1 Transition  /1 1.
Logic BIST Logic BIST.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
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.
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.
TOPIC : Controllability and Observability
Overview for Initialization Process April 27, 2010.
TOPIC : CBIST, CEBS UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
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.
Page 1EL/CCUT T.-C. Huang May 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.
TOPIC : RTD, SST UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
© 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.
VLSI Testing Lecture 14: System Diagnosis
Hardware Testing and Designing for Testability
VLSI Testing Lecture 14: Built-In Self-Test
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
VLSI Testing Lecture 15: System Diagnosis
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
CPE/EE 428/528 VLSI Design II – Intro to Testing
CPE/EE 422/522 Advanced Logic Design L17
Design For Testability
Sungho Kang Yonsei University
Sungho Kang Yonsei University
Lecture 26 Logic BIST Architectures
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

Introduction to DFT Alexander Gnusin

Internal Scan Concept Used to get access to all internal chip registers: Scan inputs Func inputs Func outputs Scan outputs

MuxScan Design MuxScan: use one clock for Func and Test mode TE signal selects mode In test mode reg-to-reg combinatorial logic is bypassed TE D D D TE TE TI TI Q TI CK CK

Boundary Scan Principles Intent: Include board-level test functionality into chip-level devices Solution: Use serial shift register wrapped around the boundary of chip Operation Modes: Serial Shift mode Parallel Capture / Update mode

Boundary Scan Architecture Boundary registers Tap Controller Instruct. Reg Bypass Reg Misc Regs Mode Control SOUT IN OUT TDI SIN TMS TCK TRST TDO ShiftDR ClockDR UpdateDR

PCB with IEEE 1149.1 test bus TMS, TCK and TRST connected in parallel Tap Tap TDI TMS TCK TRST TMS, TCK and TRST connected in parallel TDI , TDO - sequentially Tap Tap TDO

Test Bus Signals TCK – Test clock, the master clock during the boundary-scan process TDI – Test Data Input, used to shift in Data or Instructions TDO – Test Data Output, used to shift out Data TMS – Test Mode Selector, used to control FSM in TAP Controller TRST – Optional TAP Controller asynchronous reset

Board and Chip Test Modes External Test Mode – to test board interconnect: Mode Control Mode Control SOUT SOUT IN OUT IN OUT Application Logic Application Logic SIN SIN ShiftDR ClockDR UpdateDR ShiftDR ClockDR UpdateDR

Board and Chip Test Modes (Cont) Sample Test Mode: Sampling Data during normal chip operation: Mode Control Mode Control SOUT SOUT IN OUT IN OUT Application Logic SIN SIN ShiftDR ClockDR UpdateDR ShiftDR ClockDR UpdateDR

Board and Chip Test Modes (Cont) Internal Test Mode: drive chip inputs and capture chip outputs using boundary registers (Functional Isolation) Mode Control Mode Control SOUT SOUT IN OUT IN OUT Application Logic SIN SIN ShiftDR ClockDR UpdateDR ShiftDR ClockDR UpdateDR

Tap Controller FSM of Tap Controller is controlled by only one signal, TMS: Test-Logic-Reset 1 1 1 1 Run Test/Idle Select DR-Scan Select IR-Scan 1 Capture-DR Capture-IR Shift-DR Shift-IR 1 1 Exit-DR Exit-IR 1 1 Update-DR Update-IR 1 1

Tap Controller States Test-Logic-Reset : Boundary Scan disabled, normal functional mode Run Test/Idle : Internal BIST test runs Capture-DR : Data loaded in parallel into TDR (Test Data Register) selected by current instruction (ClockDR pulse, ShiftDR = 0) Shift-DR : Shift Data in TDR, selected by current instruction (ClockDR pulse, ShiftDR = 1) Update-DR : Update data on the output of TDR, selected by current instruction (UpdateDR pulse) Mode Control SOUT IN OUT SIN ShiftDR ClockDR UpdateDR

TAP Controller Instructions Bypass: to bypass current chip, when targeting the other one Highz: turns all device output off and inserts the bypass register between TDI and TDO. Clamp: the contents of the boundary register control the state of output pins while the bypass register is connected between TDI and TDO Extest : to test circuitry external to the chip (board interconnect) Sample: sample data on IO Pads into the boundary register Intest: To apply a test vector to the chip via boundary-scan path and capture logic response RunBIST: Allows self-test execution on the chip

Built-in Self-Test (BIST) BIST - Capability of a circuit to test itself Test Pattern Generation Types: Exhaustive Testing (for n inputs, 2n tests) Pseudorandom Testing (weighted Test Generation) Pseudoexhaustive Testing (divide by logic cones and test them in parallel, but each one exhaustively) Pseudo Random Pattern Generator (PRPG) – multioutput device that generates pseudorandom output patterns (based on LFSR, Linear Feedback Shift Register) Multiple-Input Signature Register (MISR) – multi-input device that compresses a series of input patterns into unique signature

Weighted PRPG PRPG: produces pseudorandom data without replacement (all vectors are unique). Constant-Weight PRPG: probability to get “1” for each output is constant (Example : equal number of “1” and “0” in each word => weight = 0.5) PRPG can adjust weights adding combinatorial logic to the outputs: 0.5 0.25 0.75 Clk Clk

Generic LBIST Architecture First, PRPG issues N pseudorandom tests, where N – maximal internal scan chain length. Second, series of Functional Clock pulses is issued for DC test, the same test clock as for PRPG is used For AC test, functional clock must be provided with real frequency Third, changed data is shifted to MISR and compressed signature is created (using the same N number of test clocks) LBIST Controller PRPG Clk Te Func inputs Func outputs Test (N clocks) Func Test (N clocks) Signature MISR

LBIST Design Issues In order to produce constant signature, we need to remove all X – sources from design: Assign constant logic value to all Primary Inputs Isolate memories (or all elements without scan chains) Isolate PLLs LBIST can be initiated and signature can be read out using user-defined instructions of TAP controller Long simulation times to produce signature – use of cycle-based simulator

TPI – Test Points Insertion Two type of test points : Control Points (CP) are Primary Inputs or Scannable Register Outputs to enhance controlability Observation Points (OP) are Primary Outputs or Scannable Register Inputs to enhance observability Problem: G not controlable C1 G C1 C1 G’ G C1 cp1 cp2 Problem: G not observable C1 G C1 C1 G C1 D

Scannable Register Insertion Control Point: Observation Point: To TI of next register only TE OP TE D=0 CP D TI TI CK CK

Memory BIST Embedded Memories use non-scannable registers – how to test them? Getting access to all memory pins from PI and PO is expensive… Better solution – add Memory BIST Controller to generate Test Patterns and to observe Test Responses from memory Two ways to add controller : Separate for each memory array (encapsulation) - less wires, more area Shared for the number of memory arrays - less area, but much more wires Memory Test is initiated using TAP Controller Test In … RAM … Din RAM … Dout MBIST Test Out

Logic Vision Memory BIST Logic Vision solution: reducing the number of SRAM test vectors to one: Parallel Test Vectors: Sequential Test Vectors:

Pin Sharing More internal scan chains for faster testing – more test Iopads Internal Test Scan Input/Output pads are disconnected on the board The pads number in the chip is limited. Solution: Share Functional and Test pins Mode Control Mode Control SOUT SOUT OUT IN OUT IN SIN SIN ShiftDR ClockDR UpdateDR ShiftDR ClockDR UpdateDR Test Mode Scan Out

JTAG for functional debugging Allscan: “Freeze” the chip and get access to ALL registers data Modify Some registers data and and continue in functional mode Implementation: Serial connection of all Internal Scan chains between TDI and TDO Test Clock is produces from JTAG clock (TCK) Clocks Control – no clock glitches when “freezing” the chip SI Core Logic SO Func Clock JTAG Clock Allscan Result Clock TDI TDO Glitch, can destroy data in registers