Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Scan design techniques J. M. Martins Ferreira FEUP / DEEC - Rua.

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Advertisements

V. Vaithianathan, AP/ECE
Retiming Scan Circuit To Eliminate Timing Penalty
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.
Registers and Counters
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
1 Lecture 10 Sequential Circuit ATPG Time-Frame Expansion n Problem of sequential circuit ATPG n Time-frame expansion n Nine-valued logic n ATPG implementation.
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
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.
Introduction to design for test techniques – A micro web server TAP controller © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A micro web.
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 da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 A BS test controller model J. M. Martins Ferreira FEUP / DEEC -
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
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.
Sequential Testing Two choices n Make all flip-flops observable by putting them into a scan chain and using scan latches o Becomes combinational testing.
CS 151 Digital Systems Design Lecture 32 Hazards
Class Design Project - Test Generation 1 Class Design Project Test Generation Hillary Grimes III ELEC Project Presentation April 26, 2007.
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.
Design for Testability
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.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Design for Testability (DFT) - 2.
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.
August VLSI Testing and Verification Shmuel Wimer Bar Ilan University, School of Engineering.
LEONARDO INSIGHT II / TAP-MM ASTEP - The Boundary Scan Test (BST) technology © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 The Boundary.
ENG241 Digital Design Week #6 Sequential Circuits (Part A)
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Digital Logic Design Lecture # 21 University of Tehran.
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.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
CHAPTER 8 - COUNTER -.
Computer Organization & Programming Chapter 5 Synchronous Components.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
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.
LEONARDO INSIGHT II / TAP-MM ASTEP - Introduction to mixed-signal testing using the standard © J. M. Martins Ferreira - University of Porto (FEUP.
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
TOPIC : Controllability and Observability
© J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 IEEE Standard : Boundary-Scan Testing of Advanced Digital Networks J. M. Martins Ferreira.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
COUNTERS Why do we need counters?
Latches and Flip-Flops
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Sequential Logic Counters and Registers
VLSI Testing Lecture 4: Testability Analysis
Sequential Circuit: Counter
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Definition Partial-scan architecture Historical background
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Design for Testability
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Counters and Registers
Chapter 6 – Part 4 SYEN 3330 Digital Systems SYEN 3330 Digital Systems
CSE 370 – Winter Sequential Logic - 1
VLSI Testing Lecture 8: Sequential ATPG
Design for Testability
Lecture 26 Logic BIST Architectures
Outline Registers Counters 5/11/2019.
Instructor: Alexander Stoytchev
Synchronous Digital Design Methodology and Guidelines
Sequential Digital Circuits
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Synchronous Digital Design Methodology and Guidelines
CSE 370 – Winter Sequential Logic-2 - 1
Presentation transcript:

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Scan design techniques J. M. Martins Ferreira FEUP / DEEC - Rua Dr. Roberto Frias Porto - PORTUGAL Tel / Fax: /

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)2 Objectives To introduce the basic concepts in design for test To prepare the introduction of the standard boundary-scan test architecture

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)3 Outline Testability and test generation in sequential circuits Testability improvement via ad hoc solutions Structured approaches to design for testability

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)4 Test generation for sequential circuits Direct application of the D-algorithm leads to the combinational circuit inputs and outputs, not necessarily to primary inputs or outputs

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)5 Test generation - step 1

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)6 Test generation - step 2

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)7 Test generation - step 3 The second clock cycle is applied with A=1 and guarantees fault detection, because the circuit is now brought to a state where fault activation and fault propagation are simultaneously possible. F CLK A fault-free X

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)8 The general case is however much more complex... The D-algorithm does not necessarily lead to circuit primary inputs and outputs Knowledge of the state transition diagram is required It may happen that the fault affects the state transition diagram, in which case the required sequence at the circuit primary inputs becomes even harder to find

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)9 The case of Y Test vector generation for a fault that affects the state transition diagram will help us to understand the problem

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)10 The case of Y (cont.) Q1,Q0= Modification in the state transition diagram: 0, Q1,Q0=00 States 1 and 3 (Q0=1) are no longer accessible Q1 Q0

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)11 Ad hoc testability improvements Design rules or amendments to avoid or minimise test vector generation problems Major drawbacks: –Not always reusable –Testability depends largely on the type of circuit

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)12 Some ad hoc testability rules Split counters to avoid high numbers of clock cycles until the required output combination is achieved Include reset and preset lines (synchronous or asynchronous) Partition large circuits and add extra inputs and outputs for direct controllability and observability of internal nodes

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)13 Structured Design for Testability (DfT) Structured DfT methodologies enable a simple way to drive the circuit to any given state in a fixed (and short) number of clock cycles Does structured DfT have drawbacks? –Design rules (design styles) have to accepted –Additional silicon area, more pins and higher propagation delays… but is this an additional cost?

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)14 The scan design principle The scan design principle consists of inserting a 2:1 multiplexer between the input of every D flip-flop and its driving logic

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)15 Scan design advantages (1) Problem: Part of the combinational circuit inputs are not directly controllable, since they come from the D-FF outputs (these nodes define the present state of the circuit) Solution: Scan flip-flops enable direct controllability of the D-FF outputs through a simple procedure with a fixed number of clock cycles

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)16 Better controllability through scan design (1) Example Take the circuit to state 110, starting from state 100 (intrusive)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)17 Better controllability through scan design (2)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)18 Better controllability through scan design (3)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)19 Better controllability through scan design (4)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)20 Better controllability through scan design (5)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)21 Scan design advantages (2) Problem: Part of the combinational circuit outputs are not directly observable, since they go to the D-FF inputs (these nodes define the circuit next state) Solution: Scan flip-flops enable direct observability of the D-FF inputs through a simple procedure with a fixed number of clock cycles

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)22 Better observability through scan design (1) Example Observe the next state (eventually non-intrusive)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)23 Better observability through scan design (2)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)24 Better observability through scan design (3)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)25 Better observability through scan design (4)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)26 Better observability through scan design (5)

Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)27 DfT: Eventually an overhead The 2:1 muxs increase the propagation delay and require additional silicon area and pins, but will this increase cost? How do we quantify the benefits of easier test vector generation and application? Design freedom was traded for higher testability, but partial scan design might be a preferred intermediate solution