Testing of Digital Systems
- Dr. Hao Zheng
- Comp. Sci & Eng
Testing of Digital Systems Dr. Hao Zheng Comp. Sci & Eng U of - - PowerPoint PPT Presentation
Testing of Digital Systems Dr. Hao Zheng Comp. Sci & Eng U of South Florida Why Testing? Digital System Complex At various levels of abstraction Errors/faults can be introduced easily. Need to guarantee its correctness
2
3
4
5
6
x < 60% 60% ≤ x < 70% 70% ≤ x < 80% 80% ≤ x < 90% x ≥ 90% F D C B A
7
8
9
10
Pass/Fail Pass/Fail Circuit Circuit Under Test Under Test (CUT) (CUT) Input Input Test Test Stimuli Stimuli Output Output Response Response Analysis Analysis Output Output1
1
Output Outputm
m
Input Input1
1
Input Inputn
n
11
12
13
14
15
16
17
18
Physical fault
Logical fault
19
20
21
Question: Assume a fault B s-a-0 (stuck-at-0). Find a test vector (t) that detects this fault. Hint: When you apply the test, the outputs should differ in the presence and absence of the fault
22
Without fault
s-a-0 With fault
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Question: Assume a fault B s-a-0 (stuck-at-0). Find a test vector (t) that detects this fault and compute its fault coverage.
1) What is the size (N) of the fault universe ?
2) How many faults (M) can the test vector detect? 3) Fault Coverage = (M/N) =
37
s-a-0
Without fault With fault