PART II — HARDWARE-LEVEL EVALUATION / ARCHITECTURE A
Full-Rate Fully Parallel RTL Microarchitecture
A continuous eight-channel datapath estimates relative ADC offsets and compensates every sample without interrupting acquisition. This architecture is the fully parallel baseline for the low-power study.
1. Architecture at a glance
Every input frame feeds two paths: one estimates the channel offsets from raw samples, while the other subtracts the currently active coefficients. A snapshot separates consecutive observation windows from coefficient computation.
2. One clock, two activity rates
All registers use the same 500 MHz target clock. The distinction is how often data changes, not a separate slow clock domain.
N = 131,072 valid frames; fclk = 500 MHz. Each frame contains eight samples. The five-stage computation occupies 5/N ≈ 0.003815% of a continuous window; this is a scheduling ratio, not a power estimate.
Clock enables hold registers between updates. They do not automatically stop clock-tree power or all combinational switching. No clock-domain crossing is required. Actual clock gating and 2 ns timing closure must be assessed after synthesis.
3. Six hardware building blocks
A01 — Eight parallel accumulators
m = channel index (0–7); a = active sum; x = signed ADC sample. A shared 17-bit counter counts valid frames. Invalid input holds the active sums and counter.
A02 — Window snapshot bank
After 131,072 valid frames, the final sum of each lane is copied into its own snapshot register. On the same clock edge, the active accumulators and shared counter are cleared. The next valid frame starts a new window, while the snapshot remains stable for coefficient estimation.
A is the frozen snapshot. Both assignments occur at the same rising edge. Otherwise, on valid input, a ← anext and the snapshot holds. This separation allows continuous acquisition without waiting for coefficient computation.
A03 — Three-stage parallel sum tree
Reduce eight 29-bit snapshots to a 32-bit global sum using seven independent adders. Registers between levels limit the combinational depth to one adder per stage.
A04 — Parallel offset estimation and rounding
Each lane computes its relative offset using its own snapshot Am and the shared global sum S. All eight lanes operate in parallel.
Dm = 8Am − S, where m = 0–7, Am is the signed 29-bit snapshot, S is the signed 32-bit global sum, and Dm is the signed 33-bit numerator. Sign-extend both operands to 33 bits before subtraction; the left shift by three implements multiplication by eight.
The exact relative offset is Dm/220 LSB. To store it with ten fractional bits, compute Cm = round(Dm/210). Cm is the signed 23-bit integer encoding of the coefficient; its physical value is Cm/210 LSB.
The numerator registers capture all eight subtraction results at t₀ + 4. The rounding logic then operates on these stable values before the next rising edge.
A05 — Atomic coefficient commit
At t₀ + 5, all eight rounded coefficients are written simultaneously into the active register bank. Here t₀ is the edge capturing the completed accumulation window. No shadow coefficient bank is needed because all lanes finish together.
At the commit edge, the registered compensation output still uses the previous coefficients. The next valid input captured on a later edge uses the new coefficients. The bank holds its values between commits; the estimation pipeline advances independently of input validity.
A06 — Continuous compensation
Eight independent 24-bit subtractors use the active coefficients and register the corrected samples on each valid input edge. The raw input feeds this path directly, not through the estimation pipeline.
| Block | Combinational logic | Sequential logic |
|---|---|---|
| A01 | 8 adders, sign extension, terminal count detection, counter increment | 8 accumulators, 17-bit counter |
| A02 | Capture/hold selection | 8 snapshot registers |
| A03 | 7 adders, sign extension | 3 levels of sum registers |
| A04 | 8 subtractors, bit-level rounding, 8 conditional incrementers | 8 numerator registers |
| A05 | Common update enable | 8 active coefficient registers |
| A06 | Input alignment, 8 subtractors | 8 output registers, output valid |
Combinational logic computes from current inputs; sequential logic stores state at a clock edge. A five-bit valid pipeline and a commit flag coordinate the update path.
4. Exact arithmetic and rounding
D is the 33-bit numerator; S is the 32-bit global sum; C is the stored 23-bit coefficient with ten fractional bits. The exact relative offset is D/220 LSB because 8N = 220. Round means nearest, ties away from zero.
Bit-level rounding circuit and signed arithmetic
Append three zeros to A to form 8A (32 bits), then sign-extend both operands to 33 bits before subtraction. Split D into signed high bits H = D[32:10] and unsigned low bits L = D[9:0].
C = H + b
b is the one-bit increment: for nonnegative D, increment when L ≥ 512; for negative D, increment only when L > 512. This implements symmetric nearest rounding without absolute-value or sign-restoration circuits. Maximum coefficient rounding error: 2−11 LSB. No general multiplier or divider is required.
Y is the signed 24-bit output integer and y is its value in ADC LSB. Append ten zeros to x, sign-extend both operands to 24 bits, then subtract exactly. Output range: −5631.125 to +5630.125 LSB; no saturation is required for legal inputs.
5. Pipeline and coefficient activation
The snapshot is captured at edge t₀. Each following edge completes one stage; all coefficients update together at t₀+5. The compensation register at that edge still uses the old coefficients. The first valid frame at or after t₀+6 uses the new set.
Valid signals, reset and interface contract
At t₀ the five-bit valid register becomes 00001; it shifts every clock, regardless of ADC valid. Each stage updates only when its incoming valid bit is set. At t₀+5, coeff_valid_o pulses for one cycle. valid_o follows the sampled valid_i; output data holds on invalid cycles. Reset clears all state and cancels pending updates. Coefficients initially equal zero.
Inputs: clk_i, rst_ni (active-low reset), valid_i, adc_data_i[95:0]. Outputs: valid_o, corrected_data_o[191:0], coeff_valid_o. CH0 occupies the least significant lane in both buses. No backpressure is planned. The Python model checks reset at sampled edges; physical asynchronous reset behavior remains an RTL verification task.
6. Pre-synthesis resource budget
| Block | Arithmetic | Register bits |
|---|---|---|
| A01 + A02 | 8 × 29-bit adders | 481 (including counter) |
| A03 | 4 × 30, 2 × 31, 1 × 32-bit adders | 214 |
| A04 | 8 × 33-bit subtractors; 8 × 23-bit incrementers | 264 |
| A05 | — | 184 |
| A06 | 8 × 24-bit subtractors | 192 |
| Valid/control | — | 7 |
| Total | 39 units | 1,342 |
Arithmetic width sum: 1,086 bits. These counts describe the planned RTL, not cell area, transistor count or measured power.
7. Cycle-accurate reference verification
An independent scoreboard predicts coefficients from mathematical sums and schedules commits five cycles after window completion. It compares outputs and selected internal states against the Python microarchitecture model.
| Test | Coverage | Result |
|---|---|---|
| Signed rounding | 107,173 comparisons | PASS |
| Random input | 10,245 cycles | PASS |
| Continuous windows | 4,101 cycles | PASS |
| Invalid input | 10,139 cycles | PASS |
| Pipeline reset | 240 cycles | PASS |
| Extreme values | 536 cycles | PASS |
| Production window | 262,150 cycles; N = 131,072 | PASS |
Reported terminal results from full_rate_rtl_model.py and test_full_rate_rtl_model.py. Short-window tests use adjusted arithmetic widths; production tests exercise the frozen widths. Finite tests are not formal proof. SystemVerilog functional and spectral verification is now complete for the tested scenarios; see RTL verification results. Gate-level timing and power remain unverified.
8. Advantages and limitations
Advantages
Continuous throughput: no calibration stalls; every valid frame contributes to estimation.
Short update latency: parallel reduction and estimation avoid serial channel scheduling.
Predictable control: fixed pipeline, atomic coefficients, no CDC or IIR feedback.
Exact arithmetic: only coefficient rounding introduces numerical quantisation.
Limitations
Area and activity: eight continuously active accumulation lanes and duplicated arithmetic increase resource demand.
Timing risk: 29-bit accumulator feedback, 33-bit subtraction, rounding and output paths must meet 2 ns in TSMC 130 nm.
Estimator limitations: finite-window signal means can bias estimates; no recursive smoothing; only relative offset is corrected.
Update transients: atomic changes prevent mixed versions but do not eliminate abrupt coefficient steps.
This is a fully parallel baseline, not a claim that every full-rate design must be fully parallel. Comparing it with sparse-rate resource sharing plus IIR measures combined architectural changes; power differences cannot be attributed solely to sparse sampling. Actual area, timing and power require equivalent synthesis constraints and workloads.
Next milestone: gate-level verification and activity-based power evaluation. See logic synthesis results. See completed SystemVerilog RTL verification.
← Research Topic 01