Академический Документы
Профессиональный Документы
Культура Документы
Discussion
Lecture 1 Need for Testing Lecture 2 Manufacturing Test Principles Lecture 3 Design Strategies for Test Lecture 4 Chip Level Test Techniques Lecture 5 System Level Test Techniques
Why Testing?
Testing is one of the most expensive parts of chips
Logic verification accounts for > 50% of design effort for many chips Debug time after fabrication has enormous opportunity cost Shipping defective parts can sink a company
Why Testing?
Yield = Number of good die / Total number of die per wafer. Because of the complexity of the manufacturing process, not all die on a wafer function correctly. Dust particles and small imperfections in starting material or photo masking can result in a bridged connections or missing features and these imperfections are called faults. Testing a chip can occur at
Wafer level Packaged chip level Board level System level Field level.
Why Testing?
By detecting a malfunctioning chip early, the manufacturing cost can be kept low. The approximate cost to a company of detecting a fault at the various levels is
Level Wafer Level Packaged Chip Level Board Level System Level Field Level
Approximate Cost $0.01 - $0.10 $0.10 - $1 $1 - $10 $10 - $100 $100 - $1000
Objectives of Testing
Two primary objectives
Fault Detection & Fault location
Fault Any condition that causes a device to function improperly. Fault Detection Testing
The process of determining whether or nor a fault is present in a given device. A set of inputs to a circuit that can be used to detect a fault in the circuit is a Fault Detection Test Set (FDTS)
Test Categories
Functionality Tests (Logical Verification)
Silicon Debug Manufacturing Tests
Logical Verification
Does the chip simulate correctly?
Usually done at HDL level Verification engineers write test bench for HDL
Cant test all cases Look for corner cases Try to break logic design
Silicon Debug
Confirm that the chip operates as it was intended and help debug any discrepancies.
Run on the first batch of the chips that return from the fabrication.
If you are lucky, they work the first time, If not???
Much more extensive than the first one because the chip can be tested at a full speed in a system.
Required to locate the cause of failures because the designer has less visibility into the fabricated chip compared to during design verification.
Silicon Debug
Logic bugs vs. electrical failures
Most chip failures are logic bugs from inadequate simulation Some are electrical failures
Crosstalk Dynamic nodes: leakage, charge sharing Ratio failures
Manufacturing Tests
Verify that every transistor, gate and storage element in the chip functions correctly. Conducted on the manufactured chip before shipping to the customer to verify that the silicon is completely intact. A speck of dust on a wafer is sufficient to kill chip Yield of any chip is < 100%
Must test chips after manufacturing before delivery to customers to only ship good parts
Manufacturing Tests
Manufacturing testers are very expensive
Minimize time on tester Careful selection of test vectors
Same tests can be used for all three steps It is easier to use one set of tests to chase down the logic bugs and another, separate set optimized for manufacturing defects.
Types of Faults
Fault Any condition that causes a device to function improperly. Solid or Permanent Fault
A faulty condition that does not change with time.
Intermittent Fault
A faulty condition that appears and disappears with time.
Logical Faults
Faults that cause a given logical device to function entirely different logic device.
Short-Circuit Faults
Other Names: Stuckclosed faults or Bridging faults The short S1 results in an S-A-0 fault at input A The short S2 modifies the function of the gate. To ensure the most accurate modeling, faults should be modeled at the transistor level because the complete circuit structure is known only at this level.
Controllability
Ease of forcing a node to 0 or 1 by driving input pins of the chip
Combinational logic is usually easy to observe and control Finite state machines can be very difficult, requiring many cycles to enter desired state
Especially if state transition diagram is not known to the test engineer
To increase Testability
Increase Observability
Add more pins (?!)
Add small probe bus, selectively enable different values onto bus
Use a hash function to compress a sequence of values (e.g., the values of a bus over many clock cycles) into a small number of bits for later read read-out Cheap read read-out of all state information
Increase Controllability
Use muxes to isolate sub sub-modules andselect sources of test data as inputs
Provide easy setup of internal state
Fault Coverage
A measure of goodness of a set of test vectors.
What percentage of the chips internal nodes were checked? Should be excess of 98.5% fault coverage.
Procedure
Take each circuit node in sequence. Held to 0 (S-A-0) Identify the faults Held to 1 (S-A-1) Identify the faults
Total nodes detected as faulty Fault Coverage =
A\B 0 1 X D D
0 0 0 0 0 0
1 0 1 X D D
X 0 X X X X
D 0 D X D 0
D 0 D X 0 D
A\B 0 1 X D D
0 0 0 X D D
1 1 1 1 1 1
X X 1 X X X
D D 1 X D 1
D D 1 X 1 D
Fault Sampling
Used in circuits where it is impossible to fault every node in the circuit. Nodes are randomly selected and faulted. The resulting fault detection rate may be statistically inferred from the number of faults that are detected in the fault set and size of the set. It is important that the randomly selected faults be unbiased. This approach does not yield specific level of fault coverage but it will determine whether the fault coverage exceeds a desired level. The level of confidence may be increased by increasing the number of samples.
Adhoc Testing
Ad Ad-hoc test techniques are a collection of ideas aimed at reducing the test time. Common techniques are:
Partitioning large sequential circuits Adding test points Adding multiplexers Providing for easy state access
Adhoc Testing
Adhoc Testing
Bus Oriented technique
Adhoc Testing
Multiplexer based testing
Scan Design
To provide observability & controllability to each register.
Normal mode: flip-flops behave as usual Scan mode: flip-flops behave as shift register
Contents of flops can be scanned out and new values scanned in.
Scan Design
Rapidly becoming more important with increasing chip-complexity and larger modules
IDDQ Testing
A method of detecting bridging faults (shorts). CMOS logic should draw no current when its not switching. When a bridging fault occurs, for some combination of the input, a measurable IDD flows.
IDDQ Testing
Testing Sequence
Apply normal vectors Allow the signals to settle Measure IDD.
Suitable for testing only one gate High test time IDDQ testing can be performed
Externally to the chip by measuring the current drawn on the VDD line Internally using specially constructed test vectors.
Memories
Use self testing techniques. Alternatively, the provision of multiplexers on data inputs and addresses and convenient external access to data outputs enables the testing of embedded memories. It is a mistake to have memories indirectly accessible. Because memories have to tested exhaustively and any overhead on writing and reading the memories can substantially increase the test time.
Random Logic
Probably best tested via full serial scan or parallel scan.
Boundary Scan
System (Board) Level Defects
Open and shorted PCB traces and incomplete solder joints.
Bed-of-nails Testers
At the board level, chips obeying the standard may be connected in a variety of series and parallel combinations for board testing (replacing bead of nails)
The IEEE 1149.1 boundary scan architecture provides a standardized serial scan path through the I/O pins of a chip (also called JTAG Joint Test Access Group)
Boundary Scan
All the I/O pins are connected serially in a standardized chain accessed through the Test Access Port (TAP). Every pin can be observed and controlled remotely through the scan chain. Standardized tests:
Connectivity tests between components Sampling and setting chip I/Os Distribution an collection of self self-test or built-in test results
Input
Input
Clocks tests into and out of the chip Controls test operations Test Data into the chip Test data out of the chip. Driven only when TAP controller is shifting out test data . Reset the TAP controller if no reset signal is generated automatically by the chip.
Input
Bypass Registers
A single FF used to accelerate testing by avoiding shifting data into the boundary scan registers of idle chips when only a single chip on the board is being tested.
TAP Controller
TAP Controller
A 16-state FSM that proceeds from state to state based on the TCK and TMS signals. It provides signals that control the DR and IR. It is initialized to Test-Logic-Reset by TRST or by internal signal. It moves from one state to the next state on the rising edge of the TCK signal based on TMS. Typical test sequence
Give TCK - Perform TRST Give TCK - Perform operation based on TMS
Operations
Serially loading IR Serially loading or reading DR
Instruction Registers
At least two bits long. Boundary scan requires at least two DRs. IR specifies which DR will be placed in the scan chain when the DR is selected. IR determines where the DR will load its value from in the Capture-DR state and whether the values will be driven to output pads or core logic.
Instruction Registers
The following instructions are required
BYPASS Places the Bypass Register in the DR chain so that the path from TDI to TDO involves only by a single FF. Allows specific chips to be tested in a serial scan chain. Represented with all 1s in the IR.
SAMPLE/PR Places the Boundary Scan Register in the DR chain ELOAD In Capture-DR state, it copies the I/O values into DRs. EXTEST Allows for the testing of off-chip circuitry. Similar to SAMPLE/PREOAD, but also drives values from DRs on to the output pads. Allows a single step testing of internal circuitry via boundary scan registers. Used to activate internal self testing procedures within a chip.
Instruction Registers
A typical IR bit is shown in figure.
In the Capture-IR state, data is given and then shifted out in the shift-IR when new vales are shifted in. In the Update-IR state, the contents of shift register are copied in parallel to the IR output to load the entire instruction at once.
Data Registers
Data Registers
Used to set the inputs of the modules to be tested and collect the results of running tests. Consists of boundary scan register and a bypass register. Represents the scan chain within the chip. MUX selects which DR is routed to the TDO pin. When internal DRs are added, the IR decoder must produce extra control signals to select which one is in the DR chain for the particular instruction.
Bypass Register
When executing the BYPSS instruction, the single-bit bypass register is connected between TDI & TDO. A single FF, cleared during Capture-DR and Scanned during Shift-DR.
TDO Driver
TDO pin shifts out the LSB of IR during Shift-IR or the LSB of DR during Shift-DR. TDO change on the falling edge of the TCK. Multiplexers choose among instruction register, boundary scan register or bypass register.
It consists of
TAP controller state machine & state controller A 3-bit IR with instruction decode. Bypass register 4 boundary scan output pads.
Queries ?????
vlsinathan@rediffmail.com