DFT / ATPG ยท All levels

Package Test Interface

Boundary Scan & JTAG: Package and board interfaces determine whether intended boundary and test modes can be exercised without conflicting with functional muxing.

What this topic teaches

Package Test Interface turns DFT intent into measurable release confidence. Package and board interfaces determine whether intended boundary and test modes can be exercised without conflicting with functional muxing. The senior challenge is proving whether a metric move came from real quality gain, setup drift, or hidden regression.

The senior-engineer question

When pin mux correctness, package test mode coverage, board bring-up escape count moves, can you identify mechanism, evidence quality, owner, and the minimum safe next action?

diagram
DFT CLOSURE FLOW - Package Test Interface

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.

JTAG flow

diagram
TAP access -> boundary instructions -> board debug/test

Process sequence

diagram
DFT FLOW - Package Test Interface

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

Primary metric: pin mux correctness, package test mode coverage, board bring-up escape count

Ownership layers

diagram
DFT OWNERSHIP LAYERS - Package Test Interface

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: pin mux correctness, package test mode coverage, board bring-up escape count.

  • Primary artifact: package pinmux table, board test checklist, interface validation report.

  • Owners to bring into review: package owner, board owner, DFT lead.

  • One failing signature and one reduced reproduction path.

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

Ownership map

diagram
OWNERSHIP MAP - Package Test Interface

artifact              owner
----------------      -----------------
architecture/report package owner
constraints/setup   board owner
physical/test       DFT lead

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

Boundary scan and JTAG are board-level contracts, not just RTL features.

Concept diagram

diagram
JTAG ACCESS

TAP controller -> instruction register -> boundary/data register -> board test/debug

Metric graph

diagram
BOARD TEST READINESS

instruction coverage vs pin controllability

Reports and artifacts

  • TAP compliance report

  • boundary cell coverage matrix

  • EXTEST/INTEST results

  • debug lock policy log

Mini case study

Board bring-up blocked by pinmux override in one mode; TAP instruction decode and package table alignment fixed path.

Debug branches

  • Verify TAP state transitions

  • Audit package pin ownership

  • Check security lifecycle lock behavior

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.