SerDes & High-Speed I/O · All levels
Lock Detect, Loss of Lock, and Holdover: Worked Example
Worked Example for Lock Detect, Loss of Lock, and Holdover.
Worked example
Worked Example for Lock Detect, Loss of Lock, and Holdover focuses on Time to lock (TTL) and holdover phase error during reference loss.. The purpose is to turn link observations into mechanism-backed actions with explicit owners and release-safe validation.
A field regression flags Time to lock (TTL) and holdover phase error during reference loss.. Proper triage locks environment tags, compares baseline vs failing traces, isolates first repeated loss transition, and validates one bounded mitigation before release.
This pattern prevents reactive tuning. The goal is to preserve both performance and reliability while avoiding hidden regressions that appear only at corner conditions.
System view
TRAINING FSM - Lock Detect, Loss of Lock, and Holdover
Detect -> Electrical Idle -> RX Adapt -> TX FFE -> BER Check -> Align -> Active
| | | | | |
timeout partner wait CTLE/VGA presets deskew missionSerDes signal path (Lock Detect And Holdover)
SERDES PATH - Lock Detect And Holdover
TX PCS -> FFE -> channel -> CTLE -> CDR -> DFE/DSP -> RX PCS
section: clock-data-recoveryCapture baseline and failing command traces under fixed metadata.
Verify eye margin/miss mix, turnaround cadence, and refresh impact.
Collect Lock/unlock timeline with holdover drift measurement..
Patch one bounded fix with explicit owner signoff.
Re-run closure matrix and choose ship/rollback.
SerDes deep dive
CDR loop architecture, phase detectors, jitter tolerance/transfer, lock detect, and holdover behavior.
Concept diagram
CLOCK DATA RECOVERY
cdr-loop-architecture -> phase-detectors -> closureMetric graph
MARGIN TREND
healthy ██████
failing ██Reports and artifacts
eye margin log
BER/FEC counter sheet
coefficient dump
JTOL/compliance margin report
Mini case study
A corner board failed link training after package update; isolating lane skew and PI noise restored margin.
Debug branches
Classify failure: training, eye, jitter, deskew, or runtime drift
Capture coefficient and margin artifacts under fixed thermal tags
Correlate SI/PI measurements before retuning adaptation
Senior review question
Ask: which latency, bandwidth, and reliability evidence proves this SerDes topic is closed under real traffic?
Key takeaways
Always tie controller and PHY counter shifts to application latency and throughput outcomes.
Lock firmware timing profile, thermal condition, and DIMM state before comparing SerDes captures.
Common pitfalls
Chasing peak bandwidth while ignoring p99 latency and fairness tails.
Changing timing guardbands without separating SI noise from scheduling issues.
Declaring closure without reliability gates, fault injection, and regression replay.
Worked-example reasoning
Suppose Time to lock (TTL) and holdover phase error during reference loss. regresses on a production workload. A shallow response only tweaks timing or queue weights. A deeper response compares baseline and failing traces, then identifies the first repeated loss mechanism in Lock detectors declare CDR lock when phase/frequency error stays within thresholds over a window. Loss-of-lock must trigger safe receiver states, retrain, or protocol-specific recovery. Holdover modes maintain output clock when reference disappears—critical for retimers and clock forwarding—with drift bounded by VCO quality..
If training waste dominates, inspect row policy and turnaround cadence. If blocked cycles dominate, inspect refresh scheduling and QoS windows. If margin loss dominates, inspect lane shmoo and thermal drift.
Only then choose a bounded fix: mapping update, scheduler policy change, refresh strategy adjustment, firmware retrain rule, PHY calibration, or package/SI correction.