DFT / ATPG · All levels

Clocking for Test: Software / Programmer View

Software / Programmer View for Clocking for Test.

RTL / integration view

RTL style controls which registers are scan-friendly.

What teams feel

  • Unexpected untestables

  • clock/reset test-mode conflicts

RTL structure impact

  • Scan hooks

  • mode controls

  • debug access gating

Tool interaction

  • Synthesis transforms affecting scan paths

  • clock-gating interaction

Mitigations

  • DFT lint gates

  • test-aware coding standards

  • joint RTL/DFT reviews

diagram
RTL VIEW - Clocking for Test
// mode logic changed -> recheck controllability and constraints

Layer touch points

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

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.

Principal DFT review addendum

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

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