12/6/2011

Digital System Test and Testable Design: Using HDL Models and Architectures Z. Navabi, 2011

Basic of Test and Role of HDLs • In this chapter we try to answer some of the

Chapter 1

important questions about digital system testing: • What it is that we are testing in digital system

Basic of Test and Role of HDLs

• What are the methods that we use for testing? • What are the ways of making a chip or a

test, test and why we are testing it?

manufactured device more testable?

Zain Navabi

• How HDLs can help the test process?

Slides prepared by: Majid Namaki

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Basic of Test and Role of HDLs

Basic of Test and Role of HDLs

(Outline) • Design and Test

(Outline) • Testability Hardware Evaluation • Protocol Aware ATE

• RTL Design Process • Postmanufacturing Test

• ATE Architecture and Instrumentation

• Test Concerns • • • •

2

• • • • •

Test Methods Testability Methods Testing Methods Cost of Test

Digital Stimulus and Measure Instruments DC Instrumentation AC Instrumentation RF Instrumentation ATE

• Summary

• HDLs in Digital System Test • Hardware Modeling • Developing Test Methods • Virtual Testers Digital System Test and Testable Design - Copyright Z. Navabi, 2011

3

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Basic of Test and Role of HDLs

Design and Test

• • • • •

• Producing a digital system:

Design and Test Test Concerns HDLs in Digital System Test ATE Architecture and Instrumentation Summary

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

4

• Begins with a designer specifying his or her design in a high-level design language

• Ends with manufacturing and shipping parts to the customer • This process involves many simulations, synthesis, and test phases h

5

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

6

1

12/6/2011

RTL Design Process • • • •

Device and Its Test Data • In digital system testing, device being tested can be:

RTL Simulation RT Level Synthesis

• • • • • • •

Physical Layout Chip Manufacturing

a system a board a packaged chip a chip a die on a wafer a core on a die a section of a core

• Regardless of what it is that is being tested, it is treated as a closed box • It can only be controlled and observed from the outside

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

7

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Device and Its Test Data

Testers

• • • • •

• A tester is a device or equipment that applies test

Device Under Test (DUT) or Circuit Under Test (CUT) Test Vector or Test Pattern Test Set Stored Response Test Generation

8

vectors to a DUT, collects DUT’s responses, and makes comparisons with the expected data

• Functional • Structural

• Good Circuit Model or Golden Model

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

9

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Test Board

A DUT Testing Itself

• Test board on a system takes

• A DUT without requiring an external chip or device,

responsibility for testing other system boards and chips mounted on the boards

can be tested by a built-in hardware that has been primarily designed for testing the rest of the hardware of the DUT.

• It communicates through a test

• Built-in Self-test (BIST)

10

bus with b i h other h bboards d in i the h system for testing them

• The test board consists of storage, memory, processors, and communication busses

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

11

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

12

2

12/6/2011

Automatic Test Equipment

UltraFLEX tester

• An ATE is an equipment that consists of processors, storage, and fixtures for mounting devices

• ATEs are used for • Die testing • Wafer testingg • Testing a packaged product

• An ATE runs a test program that implements the specific procedure designed for testing the DUT • Multisite Testing Capability • Concurrent Testing Courtesy of Teradyne Digital System Test and Testable Design - Copyright Z. Navabi, 2011

13

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Using Test Results

Types of Tests

• The manufacturing defects can either cause catastrophic

• • • • • • • • • • •

failure or parametric failure • The test results: • Can impact the product itself, the design process, or the implementation of the design

• Can be used to identify functionalities whose failures do not necessarily make a device unusable

• May impact the design and implementation process

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

14

External Testing Internal Testing Online Testing Offline Testing Concurrent Testing (Online) Concurrent Testing (ATE) At-Speed Testing DC Testing In-Circuit Testing Guided Probe Testing Diagnostic

15

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Basic of Test and Role of HDLs

The need for Test Methods

• • • • •

• • • •

16

Example

Design and Test Test Concerns HDLs in Digital System Test ATE Architecture and Instrumentation Summary

64 inputs 64 outputs 12 ns internal delay Tester running at 1 GHz clock frequency • 4 clock cycles (4 ns ) to fetch a new test vector

Test time : 264 × (12 + 4 + 4) ×10−9 s = 11,698 years!!!

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

17

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

18

3

12/6/2011

Test Methods

Test Methods: Fault Model

• In digital system testing, a set of algorithms and methods

• To simplify defects that we are trying to test for, we

help reduce the number of test vectors by selecting them more wisely than just trying every combination: • • • • • • •

develop a fault model • The fault model that we use is only a model to simplify analysis of a circuit for finding better test vectors and evaluating them

Simplify faults that can occur Use a reduced number of faults Find mechanisms for evaluating test vectors Find parts of circuit that are harder to test Generate tests that target hard to test areas Evaluate test vectors and keep more efficient ones

• Based on this model we define fault coverage as the percentage of faults that have been detected. • For a given test vector, fault coverage determines its efficiency in the number of faults it can detect.

Compact test vectors

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

19

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Test Methods: Fault Reduction

Test Methods: Fault Simulation

• We try to reduce the number of faults that we deal

• A test vector or a test set is graded by the number of

with by:

faults it detects

• Eliminating redundant ones • Ignoring some that do not occur often

• To find this number, a fault is introduced in the circuit we are testing, and tests are applied to see what faults it detects

• The circuit in which a fault is introduced is called a faulty

• Reducing number of faults can be incorporated in our fault model, i.e., using a simple model consisting of very few fault types • In addition, reducing can be done by eliminating faults that have the same output effect; this process is referred to as fault collapsing

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

model, and simulating this circuit is referred to as fault simulation • It is the most important test method, and it is computationally very complex

21

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Test Methods: Testability Measurement

Test Methods: Test Generation

• Controllability is defined as the ease of controlling a line

• What we use for generating an efficient test set:

in a circuit • Observability is the ease of observing the effect of its value on a primary output • Test methods for controllabilityy and observabilityy analysis are used in the test generation process. • Testability measurement refers to calculation of these parameters.

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

20

22

• Simplified fault model, • Having tools and methods for evaluating a test vector or a test set,

• Being able to identify hard to reach areas of a circuit

• Various test generation methods and algorithms, ranging from pure random to deterministic

• Repeated use of fault simulation in test generation and its np-complete algorithms make this test method computationally complex

23

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

24

4

12/6/2011

Test Methods: Test Compaction

The need for Testability Methods

• Test compaction tries to reduce the number of test

• • • •

Example

vectors without significantly affecting the fault coverage of a test set • A more compact test set tests a CUT quicker

64 bit counter Clock rate of 1 GHz 1 clock cycle to generate new count 5 clock cycles to read its output

Test time : 264 × (1+5) ×10−9 s = 3,509 years!!! Digital System Test and Testable Design - Copyright Z. Navabi, 2011

25

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Example

Testability Methods: Ad Hoc Testability

• Partitioning into smaller counters (four 16-bit counters)

• Some of what we can immediately think of in terms of

The need for Testability Methods

26

making a circuit testable

• Normal mode: NbarT = 0 • Test mode: NbarT = 1

• Adding extra output pins to observe internal nodes of a CUT • Adding a jumper to make certain parts of a CUT more controllable and/or observable

• Partitioning, input/output pins • Multiplexing inputs and outputs are

Test time : 216 × (1+5) ×10−9 s = 0.4 ms

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

27

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

28

Testability Methods: Scan Insertion

Testability Methods: Boundary Scan

• A method of turning a sequential circuit into a

• To isolate a core on a chip and test it, independent of its

combinational circuit

surroundings

• Used for board level testing, chip and core level testing

• Making it accept combinational test methods

• Scan methods make the internal registers of a sequential circuit look like inputs and outputs, and form a combinational model for the circuit. • Scan methods are the most important testability methods for today’s digital design and test methodology

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

29

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

30

5

12/6/2011

Testability Methods: BuiltBuilt-in Self Self--test

Testing Methods

• BIST is a testability method that involves adding a semi-

• Another aspect of testing that can also improve and

processing unit to a CUT, with the sole responsibility of testing various parts of the CUT that it shares chip area with • BISTs save test time by:

speed up the testing process is by using smarter and faster testers (ATE) • ATE industry is looking at ways of incorporating the use of HDL in their ATEs for improving test speed

• Not having to pull a component out of its mounting for testing • Interlacing testing with normal operation of a CUT

• This will result in a better understanding of test engineering

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

issues by the designers; and at the same time, it makes test engineers get more involved in the design process and early testing of designs

31

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Cost of Test

Cost of Test: Rule of 10

• Keeping cost to a level to make production profitable,

• Cost of detecting a fault increases by a factor of 10

and still be able to deliver right parts for the right markets • Test strategy: Incorporation of testing in the design development cycle so that a device gets the right test, at the right time, and with the right level of completeness

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

when going from one level to the next higher level

• Detect faults as early as possible in the design process

33

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Cost of Test Test:: Chip Testing

Basic of Test and Role of HDLs

• High-volume test is performed using ATE, along with

• • • • •

equipment to transport either a wafer or a device package to the ATE • The cost of test (COT) added to the overall cost of producing the part is generally calculated as:

32

34

Design and Test Test Concerns HDLs in Digital System Test ATE Architecture and Instrumentation Summary

(cost of equipment + operating costs/number of devices tested)

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

35

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

36

6

12/6/2011

HDLs in Digital System Test: Hardware Modeling

HDLs in Digital System Test: Developing Test Methods

• Analyzing a circuit for test purposes requires a

• We can use procedural constructs and capabilities of an

hardware model

HDL, and use it as a software programming language to process the CUT model and perform tasks that are related to test

• For testability purpose, describing the CUT and its testability hardware in an HDL produces a simulation model that can be analyzed for the effectiveness of the testability method

• Example: Use of an HDL for generating random test vectors, applying to the l i them h h CUT, CUT and d sorting i the h test vectors according di to their effectiveness in terms of detecting faults

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

37

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

HDLs in Digital System Test: Virtual Testers

HDLs in Digital System Test: Testability Hardware Evaluation

• An HDL testbench that mimics a tester, with the

• Evaluating hardware that is to be added to a CUT for

additional capability of being able to manipulate the CUT for studying its testability or changing parameters for making it a more testable circuit

making it testable, by another device, or by itself • An HDL testbech can take responsibility for instantiating a CUT and its associated preliminary BIST, and simulating and adjusting BIST register lengths and configurations for a more efficient testing of the CUT

• To properly play its role as a tester, a virtual tester can be allowed ll d only l to interact i with i h the h CUT through h h its i test ports

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

39

HDLs in Digital System Test: Protocol Aware ATE

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

40

Basic of Test and Role of HDLs

• A recent addition to ATE industry is the use of HDLs

• • • • •

for programming a tester for testing a DUT • Instead of using predefined bit patterns to test a CUT, specialized hardware (typically FPGA-based) is embedded in the tester hardware to directly interpret HDL commands, construct data input patterns on on-the-fly the fly, and adopt to variations in CUT output timing and data content

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

38

41

Design and Test Test Concerns HDLs in Digital System Test ATE Architecture and Instrumentation Summary

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

42

7

12/6/2011

ATE Instrumentation

ATE Architecture

• • • •

• ATE from different vendors is differentiated on

Digital Stimulus and Measure Instruments DC Instrumentation AC Instrumentation RF Instrumentation

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

measurement capability and device throughput. The architecture of the tester must achieve certain goals: • Minimize hardware setup time • Optimize instrument handshaking • Minimize data post processing time

43

UltraFLEX ATE

44

Summary

• Hybrid air/liquid cooled test head

This chapter discussed some of the very basic concepts of test: • Why test is needed? • Why we need methods for test and methods for makingg circuits testable? • The role of ATEs in test This chapter showed how hardware description languages can be used in all aspects of digital system testing

with universal slots

• 24-slot standard capacity (-SC) test head , and a 36-slot high capacity (HC) test head I Offers Off di i l speed d and d pin i count • It digital needed for multisite test applications of SoC and SiP devices operating at greater than 200 MHz

• It

has a mainframe cabinet containing the power distribution unit, heat exchanger for liquid cooling, air-cooling resources, clock reference, and an integrated manipulator

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

Courtesy of Teradyne

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

45

Digital System Test and Testable Design - Copyright Z. Navabi, 2011

46

8

Chapter 1

Digital System Test and Testable Design: Using HDL Models and Architectures ... What it is that we are testing in digital system test and why we are testing it? ..... mainframe cabinet containing the power distribution unit, heat exchanger for liquid cooling, air-cooling resources, clock reference, and an integrated manipulator.

2MB Sizes 1 Downloads 417 Views

Recommend Documents

chapter p chapter 1
Write the product in standard form. 5) (3 + 5i)(2 + 9i). 5). Find the product of the complex number and its conjugate. 6) -1 - 5i. 6). CHAPTER 1. Find the domain of ...

Chapter 1
converged to the highest peak because the selective pressure focuses attention to the area of .... thus allowing the formation of non-equal hyper-volume niches. In order to ..... The crossover operator exchanges the architecture of two ANNs in.

Chapter 1
strategy entails, the research findings are difficult to compare. .... rooms (cf. Li 1984; Wu 2001; Yu 2001). Comprehensive Surveys of EFL Learner Behaviours.

Chapter 1
increasing timeliness, and increasing precision [265]. Example: New data enable new analyses ..... but they allow researchers to take on problems of great scale and complexity. Furthermore, they are developing at ..... For MySQL, Chapter 4 provides i

Chapter 1
Shall I send for the doctor?" The last thing he needed was a dose of the site doctor's hippopotamus-blood-and-cat- hair paste. He clambered quickly to his feet. Reonet peered at him through her fringe and pretended to continue with her work. The rest

Chapter 1
The expression x2 is greater than 2x for x 5 3. Through trial and error you can find that 3 is the only value of x where x2 is greater than 2x because 32 5 3 p 3 5 9 and. 23 5 2 p 2 p 2 5 8. Problem Solving. 48. 4s 5 4(7.5) 5 30. The perimeter is 30

Chapter 1
Impact of Bullying on Hospital, GP and Child Psychiatric Health Services. Long-term ... Appendix for Parents – Is My Child Being Bullied? Fears ..... per cent of lone mothers living alone had major problems in the area of social contact. ... Childr

Chapter 1
The Continuum Publishing Group Ltd 2003, The Tower Building, 11 York Road, London SE1 7NX ... trying to find a link between this information and its insight into peda- ..... reports on Chinese EFL learners' strategies for oral communication.

Chapter 1
Patients with AH make external misattributions of the source ... The exclusive license for this PDF is limited to personal website use only. No part of this digital ...... (2001). Verbal self-monitoring and auditory verbal hallucinations in patients

CCG Chapter 1 TV
CPM Educational Program. Lesson 1.3.2A Resource Page. Shapes Toolkit. Equilateral. Triangle: Isosceles. Triangle: Scalene. Triangle: Scalene Right. Triangle: Isosceles. Right. Triangle: Square: Rectangle: A quadrilateral with four right angles. Paral

Chapter 1 -
The Challenges and Opportunities. Of Marketing in Today's Economy. • Power Shift to Customers. • Massive Increase in Product Selection. • Audience and ...

Chapter 1
This is known as producing an ARCHIVE of the data. (Schools normally archive data for 7 years before destroying it). Note: Archived data is NOT used for retrieving the file if something goes wrong, it is used for storing little used or redundant data

Chapter 1 - FAO
schedule, which changed from odd- to even-numbered years in 2010, to align with the new FAO. Conference schedule. ... globalization. Many countries were decentralizing the responsibility for forest planning and management while facing the impacts of

Chapter 1 - GitHub
Jan 23, 2017 - 1. What are all these things? 2. What is the mean of yi? 3. What is the distribution of ϵi? 4. What is the notation X or Y ? Drawing a sample yi = xi β + ϵi. Write code which draws a sample form the population given by this model. p

Chapter 1
in improving learner proficiency, accounting for 63.4% of the variance. Although Liu ..... strategies used by Masters' degree level English and non-English majors.

Chapter 1 -
The electrical costs of running a roller coaster ..... at a General Electric ...... $160,000 and 65% of the tellers' time is spent processing deposits and withdrawals:.

chapter 1
Engineering Program coordinator and a member of his committee, Prof. ... Carolina State University for evaluating this dissertation as his external examiner. ...... a vehicle traveling between O-D pairs is geometrically distributed. ...... estimates

Chapter 1 -
Create a Student Details Application using the ADO Data control and the Insert ... The data in this application is accessed using the ActiveX Data Objects and the ...

Chapter 1.pdf
6 Unit A Cells and Systems NEL. Cell Theory. Cells are the basic unit of all living things. By looking closely at living. things over the centuries, scientists have gathered a great deal of. evidence to support what they call the There are two main.

Chapter 1 Introduction
This dissertation is mainly concerned with offline routing control in diverse IP networks. The notion "diverse. IP networks" refers to networks with different routing technologies such as the classical. Interior Gateway Protocols (IGPs)3, Multi-Proto

chapter 1.pdf
Operating system monitors the overall activity of the computer and provides ... means they store all information (numbers, text, ... to what we'll do in this course.

Chapter 1: Introduction
Computer-System Architecture. ▫ Operating-System Structure. ▫ Operating-System ... systems, video games. ○ Users. > People, machines, other computers ...

Unit 1 Chapter 1.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Unit 1 Chapter ...

chapter 1 B.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. chapter 1 B.pdf.