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: Theory Deep Dive

AMS Interface · All levels

Link Training: Theory Deep Dive

Theory Deep Dive for Link Training.

On this page

    Foundational theory

    Link Training is central to SerDes & High-Speed I/O. Training protocols establish lane polarity, timing, equalization, and protocol states; digital state machines must synchronize with PHY indications and timeout policies. Senior AMS owners always tie observed failure to boundary assumptions, ownership, and measurable evidence before changing RTL or layout.

    Core concepts explained

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

    • Primary metric: training pass rate, time-to-L0, fallback mode frequency

    • Primary artifact: training state trace, firmware log, protocol analyzer capture

    • Owners: firmware owner, PHY owner, system validation lead

    • Boundary and mode context are mandatory for any claim.

    • Treat lock/ready/valid bits as evidence, not proof of health.

    Why this matters at signoff

    At tapeout and bring-up, Link Training escapes are expensive to fix. SerDes reliability emerges from protocol + PHY + SI alignment. Wrong diagnosis burns schedule across analog, digital, and package teams.

    Mental model

    Diagram
    detect -> poll -> config EQ -> align -> active/L0
          ^                                  |
          +------------- retry/fallback -----+

    Worked intuition

    1. Name boundary and product mode where failure appears.

    2. Open training pass rate, time-to-L0, fallback mode frequency and identify worst scenario.

    3. Trace clocks/resets/config from analog macro to digital consumer.

    4. Verify wrapper and handoff assumptions on the failing path.

    5. Collect training state trace, firmware log, protocol analyzer capture and freeze evidence tags.

    6. Classify root cause: contract gap, physical coupling, sequencing bug, or tool-view mismatch.

    7. Propose minimal bounded change plus cross-domain regression.

    Common misconceptions

    • Lock high means clock quality is automatically good.

    • Boundary cells are one-time checklist items, not runtime risks.

    • SerDes training failure is always firmware.

    • If average metric is healthy, there is no silicon risk.

    Visual reinforcement

    Training state path

    Diagram
    detect -> poll -> config EQ -> align -> active/L0
          ^                                  |
          +------------- retry/fallback -----+

    Layer responsibilities

    Diagram
    AMS OWNERSHIP LAYERS — Link Training
    
    layer                owns                                failure mode
    ------------------   ----------------------------------  --------------------------
    spec contract         clocks/resets/interfaces            hidden assumption drift
    wrapper logic         synchronizers/framing/flags         silent data corruption
    physical integration  floorplan/isolation/power           coupled noise and droop
    signoff governance    waivers/checklists/dashboard        release with blind spots
    closure               debug order + regression            fix regresses another mode

    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.

    Theory reinforcement

    SerDes reliability emerges from protocol + PHY + SI alignment.

    This content block can't be displayed here.

    Block type: unknown

    Previous

    165 / 432

    Next: Link Training: Design Space

    Up next

    Up nextLink Training: Design Space

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Link Training: Mechanism
    • Link Training: Inputs & Outputs
    • Link Training: Reports & Metrics