Missing codes are a catastrophic manifestation of Differential Non-Linearity (DNL) where a data converter's transfer function exhibits a discontinuity, permanently skipping one or more digital output values. This occurs when the step width for a specific code collapses to zero or less, meaning no analog input voltage range exists that would produce that code. The result is a non-monotonic gap in the quantization mapping that is structurally impossible to correct through calibration.
Glossary
Missing Codes

What is Missing Codes?
A severe static linearity defect in analog-to-digital converters (ADCs) where specific digital output codes are never produced, regardless of the analog input voltage.
In the context of RF fingerprinting, missing codes create a permanent, highly distinctive spectral void that acts as an unclonable hardware identifier. Because this defect is physically etched into the silicon during fabrication due to severe capacitor mismatch or comparator offset in the converter's internal architecture, it remains stable over temperature and voltage variations. A classifier can detect the absence of specific quantization levels in the digitized waveform, providing a robust, zero-bit extraction feature for physical layer authentication.
Key Characteristics of Missing Codes
Missing codes represent a catastrophic failure in a data converter's linearity where specific digital output values become unattainable, creating a permanent and highly distinctive gap in the device's transfer function that serves as a robust, unclonable hardware fingerprint.
DNL Exceeding 1 LSB
A missing code occurs when the Differential Non-Linearity (DNL) at a specific code transition equals or exceeds -1 LSB. In this condition, the step width for that code collapses to zero or becomes negative, meaning no analog input voltage will ever produce that digital output. This is a direct, measurable consequence of severe static non-linearity in the converter's architecture, often caused by mismatched unit elements in the internal DAC of a successive-approximation or pipelined ADC. The specific location of the missing code in the transfer function is a deterministic result of the manufacturing process variations.
Permanent & Unclonable Signature
Unlike transient noise or environmental drift, a missing code is a static, hard-wired defect in the silicon. It is physically impossible to stimulate the converter to produce the missing digital word, making this gap a permanent feature of the device's identity. This characteristic is highly valuable for supply chain hardware authentication because the specific pattern of missing codes is randomly distributed across a batch of chips due to Process-Voltage-Temperature (PVT) variation. A cloned or counterfeit device will have a different, or no, missing code pattern, making it instantly distinguishable.
Impact on Spectral Purity
A missing code introduces a severe, deterministic distortion in the digitized waveform. In the frequency domain, this manifests as a spike in the quantization noise floor and the generation of high-level, signal-dependent harmonic and intermodulation distortion products. This directly degrades key dynamic performance metrics:
- SINAD (Signal-to-Noise and Distortion Ratio): Sharply reduced due to the added distortion power.
- SFDR (Spurious-Free Dynamic Range): Dominated by the spurs created by the abrupt transfer function discontinuity.
- ENOB (Effective Number of Bits): Significantly lower than the stated resolution, as the missing code effectively removes usable quantization levels.
Distinction from Wide Code
A missing code (DNL = -1 LSB) must be distinguished from a wide code (DNL > 0). A wide code means a specific digital output appears for a wider-than-ideal range of analog inputs, but the code is still present. A missing code is a complete absence. In practice, a severe wide code is often adjacent to a missing code because the total charge or current from the mismatched unit elements is redistributed. The neighboring code 'steals' the input range from the missing one, creating a paired anomaly that is an even stronger, more complex identifying feature.
Architectural Susceptibility
The likelihood and pattern of missing codes are heavily dependent on the converter architecture:
- High-Speed Flash ADCs: Prone to 'sparkle codes' and missing codes due to comparator offsets and bubble errors in the thermometer-to-binary decoder.
- SAR ADCs: Missing codes are directly linked to the mismatch of binary-weighted capacitors in the internal Charge-Redistribution DAC. A major transition, like the MSB switch, is a common failure point.
- Time-Interleaved ADCs: Missing codes can result from a dead or severely offset sub-ADC in the interleaved array, creating a periodic pattern of missing codes that is a uniquely exploitable interleaving mismatch signature.
Exploitation in RF Fingerprinting
For RF fingerprinting, a missing code in the transmitter's DAC or the receiver's ADC is a gold-standard feature. When a DAC has a missing code, it cannot generate a specific amplitude level, creating a permanent 'notch' in the IQ constellation distortion pattern and generating unique intermodulation distortion (IMD) products. This feature is:
- Channel-Robust: The gap in the transfer function is independent of multipath or fading.
- High-Contrast: It provides a binary, yes/no feature for a classifier, simplifying deep learning signal identification models.
- Drift-Resistant: Unlike analog biases, a missing code does not drift with temperature; it is a structural defect.
Missing Codes vs. Other ADC Non-Idealities
A comparative analysis of Missing Codes against other common static and dynamic Analog-to-Digital Converter imperfections, highlighting their distinct causes, manifestations, and utility for hardware fingerprinting.
| Feature | Missing Codes | Integral Non-Linearity (INL) | Differential Non-Linearity (DNL) |
|---|---|---|---|
Primary Definition | A complete absence of one or more digital output codes in the transfer function. | The maximum deviation of the actual transfer function from an ideal straight line. | The deviation of an actual step width from the ideal 1 LSB step. |
Root Cause | Severe localized DNL error (DNL < -1 LSB) or a stuck bit in the internal decoder logic. | Cumulative DNL errors, systematic gain/offset errors, or component mismatch across the entire range. | Random component mismatch, comparator offset, or resistor ladder inaccuracies in a specific quantization step. |
Manifestation in Transfer Function | A discrete, permanent gap where a specific digital code is never output for any analog input. | A smooth or piecewise deviation of the entire transfer curve from a best-fit straight line. | A localized variation in step width; a code may be wider or narrower than 1 LSB. |
Impact on Signal Fidelity | Catastrophic local information loss; the signal detail within that code's range is permanently destroyed. | Global harmonic distortion and a reduction in Spurious-Free Dynamic Range (SFDR). | Localized quantization error anomalies, potentially increasing noise floor or causing small-scale distortion. |
Detectability in Histogram Test | A zero-count bin in the output code histogram, making it trivially detectable. | A non-uniform cumulative distribution; requires a linearity ramp or sine-wave histogram test. | Adjacent code bins with significantly different counts in a uniformly distributed input histogram. |
Uniqueness as a Fingerprint | Extremely high; the specific code(s) missing and their location are highly device-specific and stable. | High; the shape of the deviation curve is a unique, process-dependent signature. | Moderate; the pattern of wide and narrow codes is unique but can be influenced by noise and temperature. |
Stability Over Time and Temperature | Highly stable; a missing code due to severe DNL is a permanent structural defect that rarely heals. | Stable but can drift slowly with temperature-induced changes in component values. | Less stable; DNL values can shift with temperature and supply voltage, especially near decision thresholds. |
Typical Occurrence | Common in poorly trimmed, low-cost, or defective converters; rare in high-precision, factory-calibrated ADCs. | Present in all real-world converters; the magnitude varies with architecture and manufacturing quality. | Present in all real-world converters; a DNL of +/- 0.5 LSB is typical for a good commercial device. |
Frequently Asked Questions
Clear, technically precise answers to common questions about missing codes—a severe DNL error that creates permanent gaps in a converter's transfer function and serves as a distinctive hardware fingerprint.
A missing code is a severe manifestation of Differential Non-Linearity (DNL) where a data converter completely skips one or more digital output codes, regardless of the analog input voltage applied. In an ideal converter, every digital code from 0 to 2^N - 1 is reachable. When a code is missing, the transfer function exhibits a gap—the output jumps directly from code k-1 to k+1 without ever producing code k. This is formally defined as a DNL of -1 LSB at that specific code transition. Missing codes are most common in Successive Approximation Register (SAR) and pipeline ADCs where capacitor mismatch or comparator offset errors can create dead zones. Once present, a missing code is a permanent, process-dependent defect that cannot be corrected by calibration alone, making it an exceptionally strong and stable identifying feature for RF fingerprinting applications.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Missing codes represent a catastrophic failure of linearity. Explore the underlying static and dynamic errors that cause these gaps and the adjacent metrics used to quantify a converter's unique hardware fingerprint.
Differential Non-Linearity (DNL)
The direct precursor to missing codes. DNL measures the deviation of an actual step width from the ideal 1 Least Significant Bit (LSB). A DNL of -1 LSB indicates a step width of zero, meaning the code is skipped entirely.
- Critical Threshold: Missing codes occur when DNL ≤ -1 LSB.
- Guaranteed Monotonicity: A converter with |DNL| < 1 LSB is guaranteed to have no missing codes.
- Fingerprint Utility: Even DNL values between -0.5 and -0.99 LSB create highly compressed codes that are statistically rare and identifiable.
Integral Non-Linearity (INL)
The cumulative sum of DNL errors, representing the maximum deviation of the actual transfer function from an ideal straight line. While DNL causes a local code gap, INL describes the overall bow or warp of the converter's response.
- Signature Shape: INL curves (S-bow, parabolic) are highly process-dependent and serve as a macroscopic device fingerprint.
- Relationship: A missing code manifests as a vertical step discontinuity in the INL plot.
- End-Point vs. Best-Fit: The method used to define the ideal line changes the INL profile, a key consideration for fingerprint normalization.
Quantization Error
The inherent sawtooth-shaped error between the analog input and its quantized digital output, bounded by ±0.5 LSB for an ideal converter. Missing codes catastrophically violate this bound.
- Ideal Model: Treated as uniformly distributed white noise uncorrelated with the input.
- Missing Code Impact: Creates a dead zone where quantization error exceeds ±1.5 LSB, introducing gross distortion and deterministic spurs.
- Dithering Interaction: Intentional noise injection can sometimes bridge narrow dead zones but cannot restore a fully missing code.
Effective Number of Bits (ENOB)
A dynamic performance metric that collapses all noise and distortion into a single resolution figure. A missing code directly degrades ENOB by introducing large, signal-dependent errors.
- Calculation: Derived from SINAD: ENOB = (SINAD_dB - 1.76) / 6.02.
- Missing Code Penalty: A single missing code can drop ENOB by 0.5–1.5 bits, depending on signal amplitude and frequency.
- Fingerprint Stability: ENOB degradation from missing codes is permanent and temperature-stable, making it a robust long-term identifier.
Time-Interleaved ADC Mismatch
In high-speed time-interleaved ADCs, multiple sub-converters sample in sequence. Gain, offset, and timing mismatches between these sub-ADCs create periodic, deterministic spurs that can mimic or mask missing codes.
- Interleaving Spurs: Appear at f_s/M ± f_in, where M is the number of interleaved channels.
- Confusion Risk: A sub-ADC with internal missing codes produces a repeating pattern every M samples, which can be misdiagnosed as a simple gain mismatch.
- Exploitation: This periodic signature is a multiplier effect, making interleaved converters exceptionally easy to fingerprint.
Static vs. Dynamic Non-Linearity
Missing codes are a static, memoryless non-linearity—the output gap depends only on the instantaneous input voltage. Dynamic non-linearity, by contrast, depends on signal history.
- Static (Missing Codes): Fixed dead zones in the DC transfer curve. Easily mapped with a slow ramp test.
- Dynamic (Slewing, Memory): Distortion that varies with frequency and past signal values, caused by amplifier slewing or thermal time constants.
- Combined Fingerprint: A device exhibits both types; the static missing code map provides the invariant anchor, while dynamic effects add a rich, context-dependent layer.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us