Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.

Similar presentations


Presentation on theme: "ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan."— Presentation transcript:

1 ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan

2 11/6/20152 Overview: Boundary Scan Motivation Bed-of-nails tester System view of boundary scan hardware Elementary scan cell Test Access Port (TAP) controller Boundary scan instructions Summary

3 11/6/20153 Motivation for Standard n Bed-of-nails printed circuit board tester gone  We put components on both sides of PCB & replaced DIPs with flat packs to reduce inductance n Nails would hit components  Reduced spacing between PCB wires n Nails would short the wires  PCB Tester must be replaced with built-in test delivery system -- JTAG does that  Need standard System Test Port and Bus  Integrate components from different vendors n Test bus identical for various components n One chip has test hardware for other chips

4 11/6/20154 Bed-of-Nails Tester Concept

5 11/6/20155 Bed-of-Nails Tester

6 11/6/20156 Purpose of Standard n Lets test instructions and test data be serially fed into a component-under-test (CUT)  Allows reading out of test results  Allows RUNBIST command as an instruction n Too many shifts to shift in external tests n JTAG can operate at chip, PCB, & system levels n Allows control of tri-state signals during testing n Lets other chips collect responses from CUT n Lets system interconnect be tested separately from components n Lets components be tested separately from wires

7 11/6/20157 System Test Logic

8 11/6/20158 Instruction Register Loading with JTAG

9 11/6/20159 System View of Interconnect

10 11/6/201510 Boundary Scan Chain View

11 11/6/201511 Elementary Boundary Scan Cell

12 11/6/201512 Serial Board / MCM Scan

13 11/6/201513 Parallel Board / MCM Scan

14 11/6/201514 Independent Path Board / MCM Scan

15 11/6/201515 Tap Controller Signals n Test Access Port (TAP) includes these signals:  Test Clock Input (TCK) -- Clock for test logic n Can run at different rate from system clock  Test Mode Select (TMS) -- Switches system from functional to test mode  Test Data Input (TDI) -- Accepts serial test data and instructions -- used to shift in vectors or one of many test instructions  Test Data Output (TDO) -- Serially shifts out test results captured in boundary scan chain (or device ID or other internal registers)  Test Reset (TRST) -- Optional asynchronous TAP controller reset

16 11/6/201516 Tap Controller State Diagram

17 11/6/201517 Tap Controller Timing

18 11/6/201518 TAP Controller Power-Up Reset Logic

19 Boundary Scan Instructions

20 11/6/201520 SAMPLE / PRELOAD Instruction -- SAMPLE Purpose: 1. Get snapshot of normal chip output signals 2. Put data on bound. scan chain before next instr.

21 11/6/201521 SAMPLE / PRELOAD Instruction -- PRELOAD

22 11/6/201522 EXTEST Instruction n Purpose: Test off-chip circuits and board- level interconnections

23 11/6/201523 INTEST Instruction n Purpose: 1. Shifts external test patterns onto component 2. External tester shifts component responses out

24 11/6/201524 INTEST Instruction Clocks n Control of applied system clock during INTEST n Use of TCK for on-chip system logic clock

25 11/6/201525 RUNBIST Instruction n Purpose: Allows you to issue BIST command to component through JTAG hardware n Optional instruction n Lets test logic control state of output pins 1. Can be determined by pin boundary scan cell 2. Can be forced into high impedance state n BIST result (success or failure) can be left in boundary scan cell or internal cell  Shift out through boundary scan chain n May leave chip pins in an indeterminate state (reset required before normal operation resumes)

26 11/6/201526 CLAMP Instruction n Purpose: Forces component output signals to be driven by boundary-scan register n Bypasses the boundary scan chain by using the one-bit Bypass Register n Optional instruction n May have to add RESET hardware to control on-chip logic so that it does not get damaged (by shorting 0’s and 1’s onto an internal bus, etc.)

27 11/6/201527 IDCODE Instruction n Purpose: Connects the component device identification register serially between TDI and TDO  In the Shift-DR TAP controller state n Allows board-level test controller or external tester to read out component ID n Required whenever a JEDEC identification register is included in the design

28 11/6/201528 Device ID Register --JEDEC Code 27 12 Part Number (16 bits) 11 1 Manufacturer Identity (11 bits) 0 ‘1’ (1 bit) 31 28 Version (4 bits) MSBLSB

29 11/6/201529 USERCODE Instruction Purpose: Intended for user-programmable components (FPGA’s, EEPROMs, etc.) –Allows external tester to determine user programming of component Selects the device identification register as serially connected between TDI and TDO User-programmable ID code loaded into device identification register –On rising TCK edge Switches component test hardware to its system function Required when Device ID register included on user- programmable component

30 11/6/201530 HIGHZ Instruction n Purpose: Puts all component output pin signals into high-impedance state n Control chip logic to avoid damage in this mode n May have to reset component after HIGHZ runs n Optional instruction

31 11/6/201531 BYPASS Instruction n Purpose: Bypasses scan chain with 1-bit register

32 11/6/201532 Optional / Required Instructions Instruction BYPASS CLAMP EXTEST HIGHZ IDCODE INTEST RUNBIST SAMPLE / PRELOAD USERCODE Status Mandatory Optional Mandatory Optional Mandatory Optional

33 11/6/201533 Summary n Boundary Scan Standard has become absolutely essential --  No longer possible to test printed circuit boards with bed-of-nails tester  Not possible to test multi-chip modules at all without it  Supports BIST, external testing with Automatic Test Equipment, and boundary scan chain reconfiguration as BIST pattern generator and response compacter  Now getting widespread usage


Download ppt "ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan."

Similar presentations


Ads by Google