← Research Topic 01

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

Target throughput4 GS/s8 samples per clock
System clock target500 MHz2 ns period
Observation window131,072samples per channel
Coefficient computation5 cycles10 ns target

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.

ADC input96 bits · 8 × signed 12-bitFULL-RATE COMPENSATIONESTIMATION: FULL-RATE ACCUMULATION → LOW-RATE UPDATEAlign input8 × 12 → 24 bitsA01 · Accumulator bank8 × 29-bit adders + registersA02 · Snapshot bank8 × 29-bit registersA03 · Parallel sum tree4 → 2 → 1 · three stagesA04 · Numerator bank8 × 33-bit subtractors + registersAₘ bypassA04 · Rounding8 × 23-bit incrementersA05 · Active coefficients8 × 23 bits · atomic commitA06 · Subtract8 × 24-bit subtractorsRegistered output192 bits · 8 × 24-bitSnapshot and downstream stages update only on enable.
Figure 1. Complete datapath. Thick-bordered blocks contain registers; arithmetic inside a registered block is combinational before its register. All eight channel operations are parallel; the global sum is a parallel reduction tree.

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.

High-rate path500 MHzAccumulation, counter and compensation on every valid frame.
Low-rate update path3.815 kHzSnapshot and coefficient pipeline, at continuous input.
Twindow = N / fclk = 262.144 μs

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

CH012 bitsSign extend29 bits+REG29 bitsCH112 bitsSign extend29 bits+REG29 bitsCH212 bitsSign extend29 bits+REG29 bitsCH312 bitsSign extend29 bits+REG29 bitsCH412 bitsSign extend29 bits+REG29 bitsCH512 bitsSign extend29 bits+REG29 bitsCH612 bitsSign extend29 bits+REG29 bitsCH712 bitsSign extend29 bits+REG29 bits8 independent accumulators · 500 MHz target · one addition per valid frame per laneCombinational logicSequential logic
Figure 2. Eight independent accumulator lanes. Blue denotes combinational logic; green denotes sequential storage and its feedback. Control and window-end clearing are omitted here and shown in A02.
am,next = am + xm

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.

ADC samplesigned 12 bitsSign extend29 bits29-bit addersum_nextAccumulator29-bit registerSnapshot29-bit registerWindow end: snapshot ← sum_next; accumulator ← 0
Figure 3. One of eight accumulator and snapshot lanes. At window end, the snapshot captures sum_next (including the final sample), while the active accumulator clears. The diagram omits the enable and clear selection logic.
At window end: Am ← am,next; am ← 0

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.

A0 · 29bA1 · 29bA2 · 29bA3 · 29bA4 · 29bA5 · 29bA6 · 29bA7 · 29b+ · 30bregister+ · 30bregister+ · 30bregister+ · 30bregister+ · 31bregister+ · 31bregister+ · 32bS register
Figure 4. Four, two and one parallel adders in successive registered levels. S = sum of A₀ through A₇.

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.

Shared global sum S · signed 32 bitsA0 · 29 bitsSign extend ×8Subtract S33 bitsD0 registerA1 · 29 bitsSign extend ×8Subtract S33 bitsD1 registerA2 · 29 bitsSign extend ×8Subtract S33 bitsD2 registerA3 · 29 bitsSign extend ×8Subtract S33 bitsD3 registerA4 · 29 bitsSign extend ×8Subtract S33 bitsD4 registerA5 · 29 bitsSign extend ×8Subtract S33 bitsD5 registerA6 · 29 bitsSign extend ×8Subtract S33 bitsD6 registerA7 · 29 bitsSign extend ×8Subtract S33 bitsD7 register
Figure 5. Eight independent numerator lanes share S. Each lane uses its own stable snapshot. Multiplication by eight is a left shift after sign extension, not a multiplier.

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.

D[32:0] · signed numerator registerD[32:10] · signed upper 23 bitsD[9] · half bitD[8:0] · sticky bitsIncrement = half AND (NOT sign OR sticky)23-bit incrementer: upper + increment
Figure 6. Rounding is combinational. The sign is D[32]; sticky is the OR of D[8:0]. The increment rule implements round-to-nearest, ties away from zero.

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.

Common coefficient commit enableRounded C0C0 REG23 bitsRounded C1C1 REG23 bitsRounded C2C2 REG23 bitsRounded C3C3 REG23 bitsRounded C4C4 REG23 bitsRounded C5C5 REG23 bitsRounded C6C6 REG23 bitsRounded C7C7 REG23 bitsEight active coefficients to the compensation lanes
Figure 7. All eight coefficient registers share one write enable and the same 500 MHz target clock. Dashed lines denote control; solid lines denote data.

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.

BlockCombinational logicSequential logic
A018 adders, sign extension, terminal count detection, counter increment8 accumulators, 17-bit counter
A02Capture/hold selection8 snapshot registers
A037 adders, sign extension3 levels of sum registers
A048 subtractors, bit-level rounding, 8 conditional incrementers8 numerator registers
A05Common update enable8 active coefficient registers
A06Input alignment, 8 subtractors8 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

Dm = 8Am − S;   Cm = Round(Dm/1024)

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.

Snapshot29
→
Global sum32
→
Numerator33
→
Coefficient2313 + 10
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].

H · 23 signed bitsL · 10 bits
b = D[9] AND (NOT D[32] OR reduction_OR(D[8: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.

Ym = (xm ≪ 10) − Cm;   ym = Ym/1024

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.

Full word-length derivation and error bounds →


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.

t₀+1+2+3+4+5+6Snapshot✓Sum level 1✓Sum level 2✓Sum level 3✓Numerators✓Round / commit✓New-coefficient output✓ADC input / outputContinuous valid frames · no interruption
Figure 8. Edge-based schedule for continuous valid input. The output path has one registered processing stage; the coefficient computation takes five cycles from snapshot to commit.
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

Datapath arithmetic units39Excludes control arithmetic
Logical register bits1,342Includes seven valid/control bits
General multipliers / dividers0 / 0Fixed shifts and bit selection
BlockArithmeticRegister bits
A01 + A028 × 29-bit adders481 (including counter)
A034 × 30, 2 × 31, 1 × 32-bit adders214
A048 × 33-bit subtractors; 8 × 23-bit incrementers264
A05—184
A068 × 24-bit subtractors192
Valid/control—7
Total39 units1,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 cases7/7Passed
Clock cycles287,411Excluding reset calls
Valid sample comparisons2,274,792Integer exact
Coefficient updates108Checked
TestCoverageResult
Signed rounding107,173 comparisonsPASS
Random input10,245 cyclesPASS
Continuous windows4,101 cyclesPASS
Invalid input10,139 cyclesPASS
Pipeline reset240 cyclesPASS
Extreme values536 cyclesPASS
Production window262,150 cycles; N = 131,072PASS

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