Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 Professor ECE Department, Auburn University Auburn, AL 36849 vagrawal@eng.auburn.edu http://www.eng.auburn.edu/~vagrawal/COURSE/E7770_Spr08/course.html

2 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)2 A System and Its Testing   A system is an organization of components (hardware/software parts and subsystems) with capability to perform useful functions.   Functional test verifies integrity of system:   Checks for presence and sanity of subsystems   Checks for system specifications   Executes selected (critical) functions   Diagnostic test isolates faulty part:   For field maintenance isolates lowest replaceable unit (LRU), e.g., a board, disc drive, or I/O subsystem   For shop repair isolates shop replaceable unit (SRU), e.g., a faulty chip on a board   Diagnostic resolution is the number of suspected faulty units identified by test; fewer suspects mean higher resolution

3 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)3 System Test Applications A Application Functional test Diagnostic test Resolution Manufacturing Yes LRU, SRU Maintenance Yes Field repair LRU Shop repair SRU LRU: Lowest replaceable unit SRU: Shop replaceable unit

4 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)4 Functional Test   All or selected (critical) operations executed with non-exhaustive data.   Tests are a subset of design verification tests (test-benches).   Software test metrics used: statement, branch and path coverages; provide low (~70%) structural hardware fault coverage.   Examples:   Microprocessor test – all instructions with random data (David, 1998).   Instruction-set fault model – wrong instruction is executed (Thatte and Abraham, IEEETC-1980).

5 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)5 Gate-Level Diagnosis e d a b c T3 T1 T2 T4 a b c Stuck-at fault tests: T1 = 010 T2 = 011 T3 = 100 T4 = 110 Logic circuit Karnaugh map (shaded squares are true outputs)

6 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)6 Gate Replacement Fault e d a b c T3 T1 T2 T4 a b c Stuck-at fault tests: T1 = 010 (pass) T2 = 011 (fail) T3 = 100 (pass) T4 = 110 (fail) Faulty circuit (OR replaced by AND) Karnaugh map (faulty output: Only red sqaure is 1 output)

7 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)7 Bridging Fault e d a b c T3 T1 T2 T4 a b c Stuck-at fault tests: T1 = 010 (pass) T2 = 011 (pass) T3 = 100 (fail) T4 = 110 (pass) Faulty circuit (OR bridge: a, c) Karnaugh map (all red squares are faulty 1 outputs) a+c

8 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)8 Fault Test syndrome t 1 t 2 t 3 t 4 No fault a 0, b 0, d 0 a 1 b 1 c 0 c 1, d 1, e 1 e 0 Fault Dictionary 00100100010010 00001010000101 00010100001010 01000010100001 a 0 : Line a stuck- at-0 t i = 0, if Ti passes = 1, if Ti fails

9 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)9 Diagnosis with Dictionary Fault Test syndrome Diagnosis t 1 t 2 t 3 t 4 OR AND 0 1 0 1 e 0 OR-bridge (a,c) 0 0 1 0 b 1 OR NOR 1 1 1 1 c 1, d 1, e 1, e 0 Dictionary look-up with minimum Hamming distance

10 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)10 Diagnostic Tree T4 T1 T2 T3 No fault found T3 T2 b1b1 a1a1 c 1, d 1, e 1 a 0, b 0, d 0 e0e0 c0c0 Pass: t 4 =0 Fail: t 4 =1 a 0, b 0, d 0, e 0 a 1, c 1, d 1, e 1 OR AND OR bridge (a,c) OR NOR

11 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)11 System Test: A DFT Problem   Changing scenario in VLSI:   Mixed-signal (analog and RF) circuits   System-on-a-chip   Multi-chip modules   Intellectual property (IP) cores

12 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)12 Conventional Test: In-Circuit Test (ICT)  A bed-of-nails fixture provides direct access to each chip on the board.  Advantages: Thorough test for devices; good interconnect test.  Limitations:  Works best when analog and digital functions are implemented on separate chips.  Devices must be designed for backdriving protection.  Not applicable to system-on-a-chip (SOC).  Disadvantages:  High cost and inflexibility of test fixture.  System test must check for timing.

13 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)13 PCB vs. SOC  Tested parts  In-circuit test (ICT)  Easy test access  Bulky  Slow  High assembly cost  High reliability  Fast interconnects  Low cost  Untested cores  No internal test access  Mixed-signal devices PCB SOC

14 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)14 Core-Based Design  Cores are predesigned and verified but untested blocks:  Soft core (synthesizable RTL)  Firm core (gate-level netlist)  Hard core (non-modifiable layout, often called legacy core)  Core is the intellectual property of vendor (internal details not available to user.)  Core-vendor supplied tests must be applied to embedded cores.

15 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)15 Partitioning for Test  Partition according to test methodology:  Logic blocks  Memory blocks  Analog blocks  Provide test access:  Boundary scan  Analog test bus  Provide test-wrappers (also called collars) for cores.

16 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)16 Test-Wrapper for a Core   Test-wrapper (or collar) is the logic added around a core to provide test access to the embedded core.   Test-wrapper provides:   For each core input terminal   A normal mode – Core terminal driven by host chip   An external test mode – Wrapper element observes core input terminal for interconnect test   An internal test mode – Wrapper element controls state of core input terminal for testing the logic inside core   For each core output terminal   A normal mode – Host chip driven by core terminal   An external test mode – Host chip is driven by wrapper element for interconnect test   An internal test mode – Wrapper element observes core outputs for core test

17 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)17 A Test-Wrapper Wrapper test controller Scan chain to/from TAP from/to External Test pins Wrapper elements Core Functional core inputs Functional core outputs

18 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)18 Overhead of Test Access  Test access is non-intrusive.  Hardware is added to each I/O signal of block to be tested.  Test access interconnects are mostly local.  Hardware overhead is proportional to: (Block area) – 1/2

19 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)19 Overhead Estimate Rent’s rule: For a logic block the number of gates G and the number of terminals t are related by t = K G  where 1 ≤ K ≤ 5, and  ~ 0.5. Assume that block area A is proportional to G, i.e., t is proportional to A 0.5. Since test logic is added to each terminal t, Test logic added to terminals Overhead = ──────────────────── ~ A –0.5 A

20 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)20 DFT Architecture for SOC User defined test access mechanism (TAM) Module 1 Test wrapper Test source Test sink Module N Test wrapper Test access port (TAP) Functional inputs Functional outputs Func. inputs Func. outputs SOC inputs SOC outputs TDI TCK TMS TRST TDO Instruction register control Serial instruction data

21 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)21 DFT Components   Test source: Provides test vectors via on-chip LFSR, counter, ROM, or off-chip ATE.   Test sink: Provides output verification using on-chip signature analyzer, or off-chip ATE.   Test access mechanism (TAM): User-defined test data communication structure; carries test signals from source to module, and module to sink; tests module interconnects via test-wrappers; TAM may contain bus, boundary-scan and analog test bus components.   Test controller: Boundary-scan test access port (TAP); receives control signals from outside; serially loads test instructions in test-wrappers.

22 Spring 08, Apr 17ELEC 7770: Advanced VLSI Design (Agrawal)22 Summary   Functional test: verify system hardware, software, function and performance; pass/fail test with limited diagnosis; high ( ~100%) software coverage metrics; low ( ~70%) structural fault coverage.   Diagnostic test: High structural coverage; high diagnostic resolution; procedures use fault dictionary or diagnostic tree.   SOC design for testability:   Partition SOC into blocks of logic, memory and analog circuitry, often on architectural boundaries.   Provide external or built-in tests for blocks.   Provide test access via boundary scan and/or analog test bus.   Develop interconnect tests and system functional tests.   Develop diagnostic procedures.


Download ppt "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."

Similar presentations


Ads by Google