Calibration · state sampling · SNDR · application outcome
Compute SNDR captures temporal noise and spatial distortion.
Compute SNDR combines temporal noise and state-dependent distortion. The full binary space contains pairs. The protocol fixes , groups the remaining activation patterns by ideal code, and repeats sampled patterns to estimate both effects.
01 · Per-column calibration
Calibrate gain and offset before attributing residual error.
Raw 6-bit ADC output is mapped to the ideal dot product with an affine MMSE fit computed off-chip for each physical ADC column . SEC-on evaluation additionally applies the learned output normalization .
| MMSE fit | |
|---|---|
| Gain | |
| Offset | |
| SEC off | |
| SEC on | is the SEC output normalization declared for the measured configuration. |
Fit and with on designated calibration records, freeze the coefficients, then apply the declared SEC-on and score evaluation records. The result retains the fit population, column ID, configuration digest, coefficients, units, and analysis commit.
02 · State-space reduction
Sample configurations within every ideal output code.
A binary -dimensional dot product has joint weight/input configurations. Fixing leaves activation patterns over reachable ideal codes. The protocol samples up to activation states per code and repeats every state times.
For a symbolic four-row example, and both produce the ideal code . They activate different physical row patterns, so their -weighted array currents, and therefore their raw ADC codes, can differ. Sampling states inside one code measures that spatial distortion.
Many physical row patterns map to the same ideal dot-product code.
Different active-row locations expose the -dependent variation inside one code.
Repeated evaluation separates within-state noise from pattern-to-pattern distortion.
Protocol scale calculator
Defaults show the nominal protocol scale over reachable signed dot-product codes and eight measured ADC columns.
Repeated noise
Ten captures of the same state expose temporal variation without conflating it with spatial pattern dependence.
Pattern distortion
Thirty distinct row patterns with the same ideal result expose parasitic location dependence.
Operating range
Code-conditioned MSE is weighted by the assumed ideal-output distribution to form column SNDR.
03 · Compute SNDR
Compute one error distribution per ideal code, then weight across codes.
For each ideal code , squared residuals of calibrated output are averaged over states and repeats. Column SNDR uses the same normalized in the ideal-output variance and the weighted sum of code-conditioned errors.
Result record must include
- Dot-product dimension and reachable code set .
- Weight policy, state-selection seed, states per code, and repeats per state.
- ADC precision, column IDs, voltage, clock, and operating mode.
- Calibration split and per-column gain/offset/normalization.
- Ideal-code probability model .
- SEC state/version and whether learning or inference was active.
- Raw-data and analysis-code checksums.
The repeated-state protocol makes the two contributions explicit inside each ideal code.
Measured silicon
SEC improves the quality–energy operating frontier.
The measured points expose three relationships: increasing lowers baseline SNDR, SEC raises SNDR across operating conditions, and that gain shifts the iso-SNDR energy point.
Scaling penalty
. Longer active paths increase wire loss and noise.
SEC correction
Average across eight ADC columns. across evaluated operating points.
Energy frontier
at iso-SNDR. SEC energy overhead is at and at .
Area implementation
Implemented register-based SEC overhead and projected SRAM-backed storage overhead.
Application experiment
SEC recovers accuracy points in the measured ResNet-20 output layer.
Software evaluates the convolutional backbone. The macro computes the 4-bit final fully connected layer for 1,000 CIFAR-10 inputs quantized to 7 bits. The same mapping is measured with SEC off and on, with application weights fixed. Hardware results report percentage points at confidence.
SEC raises top-1 accuracy from 74.8% to 82.0%, so percentage points are recovered toward the 91.1% fixed-point digital reference.
Runnable method demo
Run the analysis pipeline on deterministic data.
The repository’s standard-library Python package generates deterministic protocol requests, fits independent affine calibration per column, computes code-conditioned SNDR, and demonstrates an illustrative correction-factor learner on synthetic data.
The runnable example reports protocol counts, calibration coefficients, and SNDR from generated inputs. The measured result panels above report the ESSCIRC 2023 and JSSC 2025 silicon data.