Professional Documents
Culture Documents
INTRODUCTION
This series of experiments draws from the module Advanced Digital Systems Design
(ADSD) offered at Year 4 during the second semester. Students are advised to make
reference to their notes and information for additional reading provided in the notes.
THEORY
Testing techniques
1. Functional testing
2. Structural testing
Functional testing
This is a technique of testing the system or circuit to ensure that it meets the
manufacturer’s specifications. This method can involve applying all possible input
logic combinations and comparing the results with the expected circuit response.
This method while convenient for simple circuits, clearly has limitations, as the
number of input variables increases, the number of possible test inputs increases
exponentially as 2n where n is the number of input variables. However this
technique lends itself to computerisation as an algorithm can be derived for large
test conditions.
Structural Testing
This is a technique where tests are carried out at the gate level to ensure that
individual components of the network are working correctly. They are designed to
detect, locate and identify faults in a circuit.
a. Logical Faults
2
i. Two models are assumed for determining logical faults. These are :
a. Stuck-at-zero (s-a-o) and
b. Stuck-at-one (s-a-1).
ii. The combinational circuit tested should not have redundant paths
iii. Faults considered are non-transient.
b. Non-Logical faults
These are faults such as power supply failures, cross talk in communication
systems, solder float which can present itself as a short circuit due to the shorting of
the copper tracks on a circuit board.
EXPERIMENTS
Equipment required
Digital probes
Voltmeter
LEDs
Logic gates ( 74LS00 or equivalent)
Veroboard
Exercises
1. i. Construct the Fault summary table and derive the minimal fault detection
tests for the circuit in Fig.Q1 noting that the wires are labelled p, q, r, s, t, u,
v, w, and x.
ii. Design an experiment to locate a single flow fault in the circuit.
iii. Introduce s-a-0 and s-a-1 faults on at least three of the wires labelled and
validate the test set derived.
3
P u
w x f
r
s v
Fig. Q1
2. The Chain Rule applied to the circuit in Fig 2 for faults in line i with reference to
line j, is given by
df ( X ) df d X j
= .
Xi dX j d X i
df (x)
Fig.Q2
dXj
Circuit A Circuit B
Xi i Xj j f(X)
df (x)
d Xi
d Xj
d Xi
i. Fig. Q3 shows a logic circuit using simple NAND gates. Using the method of
Boolean differences,
a. Find the Test set for all faults in line p.
b. Using the Chain Rule above, determine the test sets for all faults in line
p making reference to line q and compare with (a)
ii. Introduce s-a-0 and s-a 1 faults on input lines X2 and p and confirm the
validity of the test sets obtained in (a) and (b) by comparing their resulting
outputs with the fault-free outputs of the circuit.
4
p r
Fig. Q3
Discussion
Reporting
A report is required.