VLSI Testing Automatic Test Pattern Generation Virendra Singh - - PowerPoint PPT Presentation

vlsi testing
SMART_READER_LITE
LIVE PREVIEW

VLSI Testing Automatic Test Pattern Generation Virendra Singh - - PowerPoint PPT Presentation

VLSI Testing Automatic Test Pattern Generation Virendra Singh Associate Professor C omputer A rchitecture and D ependable S ystems L ab Department of Electrical Engineering Indian Institute of Technology Bombay


slide-1
SLIDE 1

CADSL

VLSI Testing

Automatic Test Pattern Generation

Virendra Singh

Associate Professor Computer Architecture and Dependable Systems Lab Department of Electrical Engineering Indian Institute of Technology Bombay

http://www.ee.iitb.ac.in/~viren/ E-mail: viren@ee.iitb.ac.in

EE-709: Testing & Verification of VLSI Circuits Lecture 10 (4 Feb 2013)

slide-2
SLIDE 2

CADSL

04 Feb 2013 EE-709@IITB 2

TG using BDDs (1/4)

Reduced Graph  Trace a path from the root to 0 and 1  Value of the variables other than fault should have same value  TP for s-a-0 fault at x1 is x1x2x3 = 101  TP for s-a-1 fault at x1 is x1x2x3 = 001

x2 1 x3 x1

(x1+x2)· x3

x1 x2

g

x3

f

slide-3
SLIDE 3

CADSL

04 Feb 2013 EE-709@IITB 3

TG using BDDs (2/4)

b

3

a

3

b

2

a

2

1 b

1

a

1

) 3 3 ( ) 2 2 ( ) 1 1 ( b a b a b a

∧ ∨ ∧ ∨ ∧

s-a-0 at a1 a1=1, b1=1, a2=0, a3=0 a1 b1 a2 b2 a3 b3 p q r f

slide-4
SLIDE 4

CADSL

04 Feb 2013 EE-709@IITB 4

TG using BDDs (3/4)

b

3

a

3

b

2

a

2

1 b

1

a

1

) 3 3 ( ) 2 2 ( ) 1 1 ( b a b a b a

∧ ∨ ∧ ∨ ∧

s-a-0 at p a1=1, b1=1, a2=0, a3=0 a1 b1 a2 b2 a3 b3 p q r f SA0

slide-5
SLIDE 5

CADSL

04 Feb 2013 EE-709@IITB 5

TG using BDDs (4/4)

b

3

a

3

b

2

a

2

1 b

1

a

1

) 3 3 ( ) 2 2 ( ) 1 1 ( b a b a b a

∧ ∨ ∧ ∨ ∧

s-a-0 at q a2=1, b2=1, a1=0, a3=0 a1 b1 a2 b2 a3 b3 p q r f

slide-6
SLIDE 6

CADSL

04 Feb 2013 EE-709@IITB 6

ATPG - Algorithmic

Path Sensitization Method

  • Fault Sensitization
  • Fault Propagation
  • Line Justification

Path Sensitization Algorithms

  • D- Algorithm (Roth)
  • PODEM (P. Goel)
  • FAN (Fujiwara)
  • SOCRATES (Schultz)
  • SPIRIT (Emil & Fujiwara)
slide-7
SLIDE 7

CADSL

04 Feb 2013 EE-709@IITB 7

Path Sensitization

General Structure of TG Algorithm

begin set all values to x Justify (l, v) if (v = 0) then Propagate (l, D) else Propagate (l, D’) end

slide-8
SLIDE 8

CADSL

04 Feb 2013 EE-709@IITB 8

Path Sensitization

Justify( l, val) begin set l to val if l is a PI then return /* l is a gate output */ c = controlling value of l i = inversion of l inval = val ⊕ i if (inval = c’) then for every input j of l Justify (j, inval) else select one input ( j ) of l Justify (j, inval) end

slide-9
SLIDE 9

CADSL

04 Feb 2013 EE-709@IITB 9

Path Sensitization

Propagate (l, err) /* err is D or D’ */ begin set l to err if l is PO then RETURN k = fanout of l c = controlling value of k i = inversion of k for every input of j of k other than l Justify ( j, c’ ) Propagate ( k, err ⊕ i ) end

slide-10
SLIDE 10

CADSL

04 Feb 2013 EE-709@IITB 10

Path Sensitization

D’ D

Justify (a, 1) Justify (b, 1)

1 1

Propagate (d, D) Propagate (f, D’) Justify (e, 0) Justify (c, 1)

D’ 1 SA0

Justify (d, 1)

slide-11
SLIDE 11

CADSL

04 Feb 2013 EE-709@IITB 11

Common Concept

 Fault Activation problem  a LJ Problem  The Fault Propagation problem 

  • 1. Select a FP path to PO  Decision
  • 2. Once the path is selected  a set of LJ problems

 The LJ Problems  Decisions or Implications

To justify c = 1  a = 1, b = 1 (Implication) To justify c = 0  a = 0 or b = 0 (Decision)  Incorrect decision  Backtrack  Another decision

slide-12
SLIDE 12

CADSL

04 Feb 2013 EE-709@IITB 12

D-Algorithm

  • Fundamental concepts invented:

– First complete ATPG algorithm – D-Calculus (5 valued logic) – Implications – forward and backward – Implication stack – Backtrack – Test Search Space

Roth (IBM) - 1966

slide-13
SLIDE 13

CADSL

04 Feb 2013 EE-709@IITB 13

Decisions during FP

D’ 1 1 1 1 1 D’ D’

D – frontier: The set of all gates whose output value is currently x but have one or more fault signals on their inputs

slide-14
SLIDE 14

CADSL

04 Feb 2013 EE-709@IITB 14

Decisions during LJ

D’ 1 1 1 1 1 1 1

J – Frontier : A set of all gates whose output value is known but not implied by its input value

1 1 D’ 1 1 D’ 1 1 1 D’

slide-15
SLIDE 15

CADSL

04 Feb 2013 EE-709@IITB 15

Implications (Forward)