DFT / ATPG ยท All levels

Clocking for Test

Scan Fundamentals: Test clocks must safely drive scan shift and at-speed capture modes without violating clock gating, pulse width, or domain assumptions.

What this topic teaches

Clocking for Test turns DFT intent into measurable release confidence. Test clocks must safely drive scan shift and at-speed capture modes without violating clock gating, pulse width, or domain assumptions. The senior challenge is proving whether a metric move came from real quality gain, setup drift, or hidden regression.

The senior-engineer question

When test clock reachability, pulse legality, scan shift/capture violations moves, can you identify mechanism, evidence quality, owner, and the minimum safe next action?

diagram
DFT CLOSURE FLOW - Clocking for Test

scan/test architecture
        |
        v
ATPG constraints + fault models
        |
        v
pattern generation + compression
        |
        v
timing/power/physical validation
        |
        v
silicon diagnosis and release signoff

Debug rule: always state metric, run tags, and owning team with any claim.

Picture the closure flow

Draw the causal flow before opening tools. Use these diagrams to anchor architecture, constraints, and silicon behavior discussions.

Shift vs capture clocking

diagram
TEST CLOCK MODES

shift:   many low-frequency pulses (hold-sensitive)
capture: one/few at-speed pulses (setup-sensitive)

same chain, different timing risk profile.

Process sequence

diagram
DFT FLOW - Clocking for Test

scan insertion -> chain stitch -> compression map -> ATPG -> tester apply -> diagnosis
      |                |                |            |             |
 controllability   shift balance    channel use   coverage     silicon correlation

Primary metric: test clock reachability, pulse legality, scan shift/capture violations

Ownership layers

diagram
DFT OWNERSHIP LAYERS - Clocking for Test

layer              owns                         failure mode
----------------   --------------------------   -------------------------
rtl/architecture   scanability hooks            uncontrollable logic
atpg/constraints   legal pattern intent         aborts, low coverage
physical/clocking  chain route + test clocks    shift hold/timing escapes
tester/program     pattern apply integrity      false binning / bad fails
quality signoff    release criteria             escapes or schedule slip

Evidence to collect

  • Primary metric: test clock reachability, pulse legality, scan shift/capture violations.

  • Primary artifact: test clock tree report, pulse check report, ATPG clock constraints.

  • Owners to bring into review: DFT owner, CTS owner, STA owner.

  • One failing signature and one reduced reproduction path.

  • Exact run tags for constraints, patterns, and tester program.

Ownership map

diagram
OWNERSHIP MAP - Clocking for Test

artifact              owner
----------------      -----------------
architecture/report DFT owner
constraints/setup   CTS owner
physical/test       STA owner

Name an owner for each failing metric cluster.

Subpages in this topic

Each topic includes mechanism, inputs/outputs, reports, debug, worked example, pitfalls, interview, checklist, theory, design space, expanded case study, walkthrough, comparison matrix, software view, and silicon impact.

Key takeaways

  • State metric and run tags with every claim.

  • Connect every fix to a regression matrix.

  • Treat quality, timing, and power as coupled.

Common pitfalls

  • Coverage-centric decisions without legality checks.

  • Pattern changes without tester correlation.

  • Release calls without owner signoff.

DFT deep dive

Scan architecture quality determines whether ATPG can control and observe real silicon state.

Concept diagram

diagram
SCAN INSERTION FLOW

scan-ready RTL -> scan replacement -> stitch chains -> DRC -> ATPG handoff

Metric graph

diagram
CHAIN BALANCE

chain length spread
low spread   = better shift time
high spread  = routing + hold risk

Reports and artifacts

  • scan insertion summary

  • chain balance report

  • scan DRC log

  • clocking legality report

Mini case study

Coverage plateau traced to non-scan flops in reset islands; RTL + DFT lint policy fixed root cause.

Debug branches

  • Check scan replacement first

  • Audit chain legality by domain

  • Validate shift/capture clocks

Senior review question

Ask: what evidence proves this DFT decision is safe for production?

Key takeaways

  • State metric, lot/corner context, and pattern tag with every claim.

  • Treat timing, power, and quality as one signoff problem.

Common pitfalls

  • Chasing coverage without legality checks.

  • Ignoring test-power side effects of pattern changes.

  • Debugging silicon without reproducible tags.