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
  • AMS Metrics Reference
  • AMS Interface Glossary
  • Reading Path
  • Analog-Digital Boundaries61
  • PLL & DLL Clocking61
  • SerDes & High-Speed I/O61
    • SerDes Basics
    • Equalization Overview
    • Link Training
      • Link Training: Mechanism
      • Link Training: Inputs & Outputs
      • Link Training: Reports & Metrics
      • Link Training: Debug Playbook
      • Link Training: Worked Example
      • Link Training: Pitfalls & Red Flags
      • Link Training: Interview Drills
      • Link Training: Review Checklist
      • Link Training: Theory Deep Dive
      • Link Training: Design Space
      • Link Training: Expanded Case Study
      • Link Training: Step-by-Step Walkthrough
      • Link Training: Comparison Matrix
      • Link Training: Software / Programmer View
      • Link Training: Silicon PPA Impact
    • High-Speed SI Awareness
    • SerDes & High-Speed I/O: Tricky Q&A
  • ADC / DAC Interfaces61
  • Mixed-Signal Integration61
  • Noise & IR at the Boundary61
  • AMS Interface Interview Prep61
  • AMS Interface Cheatsheet
Loading lesson

‹Link Training
  1. Topics
  2. Analog & Mixed-Signal
  3. SerDes & High-Speed I/O
  4. Link Training
  5. Link Training: Debug Playbook

AMS Interface · All levels

Link Training: Debug Playbook

Debug Playbook for Link Training.

On this page

    Debug playbook

    Debug Playbook for Link Training focuses on training pass rate, time-to-L0, fallback mode frequency. The goal is to connect observed symptom to boundary mechanism, ownership, and signoff risk.

    AMS debug is a hunt for first divergence, not downstream symptom management. Most costly delays come from wrong-owner first actions.

    Root-cause tree

    Diagram
    ROOT-CAUSE TREE — Link Training
    
    training pass rate, time-to-L0, fallback mode frequency regressed
            |
    same silicon / run tags?
       /            \
     no              yes
     |                |
    env mismatch    boundary contract or
    tag mismatch    true physical issue
     /   \             |
    clk   reset      isolate first failing
    map   sequence   boundary transition
    1. Freeze reproducer: mode, firmware/config, and evidence tags.

    2. Find the first boundary signal that diverges.

    3. Map divergence to contract clause and owner.

    4. Classify failure: contract, sequencing, coupling, package, or tool-view mismatch.

    5. Prove mechanism with one reduced reproducer.

    6. Apply smallest reversible fix and rerun cross-domain regressions.

    Review memo template

    Diagram
    STAFF AMS REVIEW MEMO — SerDes & High-Speed I/O / Link Training
    
    1. Symptom
       - Watched metric: training pass rate, time-to-L0, fallback mode frequency
       - Failing mode/condition: <power/clock/temp/workload>
       - Boundary under suspicion: <macro/wrapper/interface/lane/island>
       - Repro setup: <sim/emulation/lab + firmware/config tags>
    
    2. Mechanism hypothesis
       - Primary mechanism: Training protocols establish lane polarity, timing, equalization, and protocol states; digital state machines must synchronize with PHY indications and timeout policies.
       - Competing hypothesis: <contract gap, sequencing, physical coupling, package, tooling>
       - Missing evidence: <waveform, report, scope/analyzer capture, dashboard snapshot>
    
    3. Proposed action
       - Minimal reversible change: <RTL/config/layout/policy>
       - Expected metric movement: <delta and conditions>
       - Regression risk: timing, noise, power, performance, compatibility
    
    4. Signoff
       - Re-run artifact: training state trace, firmware log, protocol analyzer capture
       - Required owners: firmware owner, PHY owner, system validation lead
       - Final decision: fix, waive with controls, or escalate

    AMS deep dive

    SerDes closure requires protocol, training, and SI evidence together.

    Concept diagram

    Diagram
    SERDES FLOW
    
    training -> equalization -> lane margin -> protocol stability

    Metric graph

    Diagram
    BER VS EQ
    
    BER
     ^
     |  high  low  high
     +-----------------> EQ setting

    Reports and artifacts

    • lane BER

    • training state transitions

    • EQ sweep report

    • link retry counters

    Mini case study

    Link looked protocol-clean but lane margin collapsed under thermal sweep.

    Debug branches

    • Correlate LTSSM and lane metrics

    • Check SI margins

    • Review firmware timeout assumptions

    Senior review question

    Ask: what boundary condition proves this topic is actually closed?

    Key takeaways

    • State boundary, mode, and evidence tag with every claim.

    • Always align analog, digital, and physical owners before signoff decisions.

    Common pitfalls

    • Fixing averages while tails still fail.

    • Skipping package/supply evidence in jitter or SerDes issues.

    • Shipping with waivers that lack owner and expiration criteria.

    Principal AMS review addendum

    Training protocols establish lane polarity, timing, equalization, and protocol states; digital state machines must synchronize with PHY indications and timeout policies.

    Metric: training pass rate, time-to-L0, fallback mode frequency

    This content block can't be displayed here.

    Block type: unknown

    This content block can't be displayed here.

    Block type: unknown

    This content block can't be displayed here.

    Block type: unknown

    Previous

    160 / 432

    Next: Link Training: Worked Example

    Up next

    Up nextLink Training: Worked Example

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Link Training: Mechanism
    • Link Training: Inputs & Outputs
    • Link Training: Pitfalls & Red Flags