Week 16 - DSD 2023
Week 16 - DSD 2023
– Introduction
– DFT Techniques
❖ Terminology: Controllability & Observability
➢ BIST
➢ Adhoc Testing
➢ Scan Based Testing
❖Serial Scan
❖Parallel Scan
❖Partial Scan
❖Boundary Scan
❖TAP Controller
❖Faults & Errors
Adhoc Testing
• Adhoc (Latin word means "For this"); the term is generally used to imply
that something is intended for a particular situation or purpose.
• Definition:
• Adhoc testing combines a collection of tricks and techniques that can be
used to increase the observability and controllability of a design and
that are generally applied in an application dependent fashion.
• Ad hoc testing tries to avoid the overhead of a systematic approach of
testing.
Adhoc Testing
Adhoc Testing
Adhoc Testing
Let us assume that we divide the 16-bit counter in to two 8-bit counters.
Test time =
2^8 x tester period 2^8 x tester period
Adhoc Testing
Adhoc Testing
hoc) by using Adhoc techniques 2 and 3. Figure (a) Design with low testability
Adhoc Testing
I/O Bus
Figure (b)
Adhoc
Example technique # 4
4. Providing easy state reset
• One of the major and the most important problems in sequential logic testing occurs at
the time of power-on, where the first state is random if there were no Initialization.
Therefore, impossible to start a test sequence correctly.
• The solution is to provide easy state reset of initialization to a known state or value.
Reset
Embedded Systems Design: A Unified Hardware/Software Introduction, (c)
2000 Vahid/Givargis
DIN 0
Reg- Reg- Reg-
Dout
SIN 1 ister ister ister
Mode Sout
Selector
• In scan designs, the registers operate in one of the two modes. In normal mode, they
behave as expected (actual objective of design/circuit), and in scan mode, they are
connected to form a shift register called a ‘Scan Chain’ or ‘Scan Path’ as shown with
dotted line.
• Thus, the internal state of the circuit can be viewed, observed and controlled by
shifting (scanning) out the contents of the storage elements.
• Generally, the selection of the input source is achieved by using the multiplexer
controlled by an external mode signal.
1) Set test mode signal → Flip flops accept data from SIN input.
2) Verify the scan path by shifting in and out the test data.
3) Set the shift register to an initial value/register state.
4) Apply a test pattern. For n-bit register, apply n clock cycles.
5) Set normal mode, the circuit settles and can monitor the primary output.
6) Activate the circuit clock for one more cycle.
7) Set the test mode again.
8) Apply n cycles again to scan out the contents of shift register at sout output.
Simultaneously apply new test value.