Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • DFT Metrics Reference
  • DFT Glossary
  • Reading Path
  • Scan Fundamentals61
  • Compression & Diagnosis61
    • Compression Architectures
    • Pattern Volume Tradeoffs
    • Diagnosis & Yield Learning
    • Compression Debug
      • Compression Debug: Mechanism
      • Compression Debug: Inputs & Outputs
      • Compression Debug: Reports & Metrics
      • Compression Debug: Debug Playbook
      • Compression Debug: Worked Example
      • Compression Debug: Pitfalls & Red Flags
      • Compression Debug: Interview Drills
      • Compression Debug: Review Checklist
      • Compression Debug: Theory Deep Dive
      • Compression Debug: Design Space
      • Compression Debug: Expanded Case Study
      • Compression Debug: Step-by-Step Walkthrough
      • Compression Debug: Comparison Matrix
      • Compression Debug: Software / Programmer View
      • Compression Debug: Silicon PPA Impact
    • Compression & Diagnosis: Tricky Q&A
  • ATPG & Pattern Generation61
  • MBIST & LBIST61
  • Boundary Scan & JTAG61
  • Test Timing & Power61
  • DFT Physical Integration61
  • DFT Interview Prep61
  • DFT / ATPG Cheatsheet
Loading lesson

‹Compression Debug
  1. Topics
  2. Design for Test
  3. Compression & Diagnosis
  4. Compression Debug
  5. Compression Debug: Theory Deep Dive

DFT / ATPG · All levels

Compression Debug: Theory Deep Dive

Theory Deep Dive for Compression Debug.

On this page

    Foundational theory

    Compression Debug is central to Compression & Diagnosis. Compression debug isolates whether failures come from EDT wiring, X-masking policy, clocking, or ATPG assumptions before blaming silicon defects. Senior DFT engineers tie metric movement to architecture assumptions, constraints, and silicon evidence rather than isolated tool output.

    Core concepts explained

    • Compression debug isolates whether failures come from EDT wiring, X-masking policy, clocking, or ATPG assumptions before blaming silicon defects.

    • Primary metric: unknown/X inflation, compactor overflow incidents, pattern replay success rate

    • Primary artifact: X-source trace, compactor status report, pattern replay logs

    • Owners: ATPG owner, DFT owner, silicon bring-up owner

    • Controllability and observability must be explicit

    • Production-quality requires reproducible pattern and tester tags

    Why this matters at release

    At release, Compression Debug issues can create coverage escapes, unstable production bins, or long debug loops. Compression is a quality-and-cost optimization, not just a ratio target.

    Mental model

    Diagram
    compression architecture -> ATPG patterns -> fail logs -> diagnosis -> yield learning

    Worked intuition

    1. Name failing metric and scenario context (mode, lot/corner, program).

    2. Open unknown/X inflation, compactor overflow incidents, pattern replay success rate trend and isolate dominant failing bucket.

    3. Trace architecture assumptions and legality constraints.

    4. Check compression, clocking, and unknown handling dependencies.

    5. Collect X-source trace, compactor status report, pattern replay logs and confirm run tags.

    6. Classify issue: model/constraint, physical/test setup, or real defect signal.

    7. Propose minimal fix and list timing/power/quality regression checks.

    Common misconceptions

    • Coverage percent alone proves release readiness.

    • More compression always means better outcome.

    • Silicon mismatch can be debugged without pattern/tester traceability.

    • Shift timing and test power can be signed independently.

    Visual reinforcement

    Compression flow

    Diagram
    compression architecture -> ATPG patterns -> fail logs -> diagnosis -> yield learning

    Layer responsibilities

    Diagram
    DFT OWNERSHIP LAYERS - Compression Debug
    
    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

    Compression saves tester time only when diagnosis observability remains credible.

    Concept diagram

    Diagram
    COMPRESSION LOOP
    
    EDT/decompressor -> compressed patterns -> compactor responses -> diagnosis

    Metric graph

    Diagram
    PATTERN vs COVERAGE
    
    coverage up   -> pattern count up
    compression up -> pattern count down (until aliasing risk)

    Reports and artifacts

    • compression ratio dashboard

    • pattern count trend

    • X-source report

    • diagnosis bucket summary

    Mini case study

    Compactor overflow plus unknown inflation caused false diagnosis; masking policy and channel map corrected.

    Debug branches

    • Separate X issues from silicon defects

    • Replay failing patterns uncompressed

    • Track tester memory budget

    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.

    Theory reinforcement

    Compression is a quality-and-cost optimization, not just a ratio target.

    This content block can't be displayed here.

    Block type: unknown

    Previous

    119 / 493

    Next: Compression Debug: Design Space

    Up next

    Up nextCompression Debug: Design Space

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Compression Debug: Mechanism
    • Compression Debug: Inputs & Outputs
    • Compression Debug: Reports & Metrics