Next Article in Journal
Experimental Evaluation of Precision Positioning in Unmanned Aerial Systems Using Fiducial Markers
Next Article in Special Issue
Integer-State Dynamics in Quantized Spiking Neural Networks: Implications for Hardware-Oriented Design
Previous Article in Journal
Ensemble Graph Neural Networks for Probabilistic Sea Surface Temperature Forecasting via Input Perturbations
Previous Article in Special Issue
AdamN: Accelerating Deep Learning Training via Nested Momentum and Exact Bias Handling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Breaking the DSP Wall: A Software–Hardware Co-Designed, Adaptive Error-Compensated MAC Architecture for Efficient Edge AI

1
Glasgow College, University of Electronic Science and Technology of China, Chengdu 611731, China
2
School of Integrated Circuit Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(8), 1586; https://doi.org/10.3390/electronics15081586
Submission received: 11 February 2026 / Revised: 15 March 2026 / Accepted: 18 March 2026 / Published: 10 April 2026
(This article belongs to the Special Issue Hardware Acceleration for Machine Learning)

Abstract

The deployment of Convolutional Neural Networks (CNNs) on entry-level Edge FPGAs is severely constrained by the scarcity of Digital Signal Processing (DSP) blocks, a phenomenon termed the “DSP Wall”. To circumvent this bottleneck, this paper presents AEMAC, a Software–Hardware Co-Designed accelerator architecture that decouples arithmetic computation from DSP availability. The proposed methodology synergizes a software-level Dynamic Integer Scaling strategy with a hardware-level Adaptive Error-Compensated Multiply-Accumulate unit. By mapping floating-point activations to an optimal integer domain and employing a DSP-free, LUT-based tri-mode datapath, the architecture achieves extreme resource efficiency. To mitigate the precision loss inherent in logic-based truncation, a statistical bias compensation mechanism is integrated into the accumulator chain. Experimental validation on a Xilinx Zynq-7020 FPGA demonstrates a strictly zero-DSP implementation with minimal logic utilization (100 LUTs). Post-implementation timing simulations confirm a dynamic power of 0.490 W for a 64-core cluster under worst-case random workloads, yielding a verified energy efficiency of 26.1 GOPS/W. Micro-level analysis confirms a 16.7% reduction in arithmetic Mean Absolute Error (MAE) compared to naive truncation. Furthermore, macro-level evaluation on the CIFAR-10 dataset reveals that the co-design strategy recovers system accuracy to 64.74%, outperforming the uncompensated baseline by 0.55% and achieving statistical comparability to floating-point baselines. To ensure absolute internal consistency, all hardware metrics are strictly validated via SAIF-based post-implementation simulations. Based on a conservative full-chip projection that incorporates a routing derating model, these internally consistent results establish AEMAC as a highly scalable and reliable solution for breaking the DSP wall in resource-constrained edge intelligence.

1. Introduction

The migration of Artificial Intelligence (AI) from cloud servers to edge devices has become a dominant trend [1]. This shift necessitates hardware architectures that are strictly optimized for power and silicon area. Convolutional Neural Networks (CNNs), the core of modern vision systems, rely heavily on Multiply-Accumulate (MAC) operations. Consequently, the efficiency of the MAC unit dictates the overall performance of the accelerator [1]. In Field-Programmable Gate Arrays (FPGAs), MAC operations are traditionally mapped to hardened Digital Signal Processor (DSP) slices. While efficient, DSP slices are a scarce resource. Entry-level devices, such as the Xilinx Zynq-7000 series, contain limited DSP blocks (e.g., only 220 slices in the XC7Z020) [2]. In complex System-on-Chip (SoC) designs, these resources are rapidly exhausted by competing tasks like signal processing and motor control. We term this limitation the DSP Wall. Once DSPs are depleted, the neural accelerator cannot scale further, creating a severe bottleneck for parallelism [2]. Prior FPGA CNN accelerators, particularly those based on systolic arrays, frequently hit this rigid DSP utilization ceiling. Because their multiplier requirements grow quadratically with the array size, they suffer from sudden performance saturation on entry-level devices, leaving the abundant logic fabric (LUTs) largely underutilized [3]. Furthermore, the conventional “one-size-fits-all” quantization strategy is inefficient. Neural network activations typically follow a heavy-tailed or bell-shaped distribution [4]. As illustrated in Figure 1, the vast majority of activation values are clustered near zero. Processing these negligible values with full-precision, power-hungry hardware represents a gross waste of energy and computational resources [4].
To address the DSP Wall and exploit data sparsity, we propose a Software–Hardware Co-Designed architecture named AEMAC (Adaptive Error-Compensated MAC). Unlike prior works that rely on partial DSP usage, our approach completely decouples inference computing from DSP availability. Our strategy involves two synergistic levels:
  • Software Level: We introduce a dynamic integer scaling mechanism. This maps floating-point activations into an optimal integer domain, aligning the data distribution with hardware thresholds.
  • Hardware Level: We implement a DSP-free, tri-mode computing engine using the FPGA’s abundant Look-Up Table (LUT) fabric.To counteract the accuracy loss from logic-efficient truncation, we derive and implement a statistical bias compensation mechanism.
This paper presents the mathematical formulation, hardware implementation, and system-level validation of AEMAC. Experimental results on the Zynq-7020 demonstrate a strictly zero-DSP implementation with only 100 LUTs. Crucially, the proposed co-design restores end-to-end accuracy on the CIFAR-10 dataset, proving that low-cost FPGAs can achieve high-performance inference without hitting the DSP wall.

2. Related Work

The optimization of DNN inference hardware has evolved along two distinct trajectories: architectural specialization and algorithmic approximation [5]. This section reviews the state-of-the-art (SOTA) in these domains and positions our work within the landscape of “Logic-Only” [6] computing. Foundational works such as Deep Compression [7] established the efficacy of pruning and quantization for reducing model complexity. Building on these principles, recent FPGA-specific research has focused on hardware-friendly approximation techniques to maximize arithmetic density.

2.1. FPGA-Based Neural Acceleration

Traditional FPGA accelerators are dominated by DSP-centric architectures. Standard approaches, such as the Xilinx DPU and various systolic array implementations, map matrix multiplications directly to hardened DSP48 slices [3,8]. While these designs achieve high peak throughput on high-end devices (e.g., Virtex UltraScale+), they hit a hard scalability barrier on entry-level FPGAs. Recent works have proposed “fractured” DSP techniques, which decompose a single 25 × 18 DSP slice into two smaller 8 × 8 multipliers to double the throughput [9]. However, these methods remain fundamentally dependent on the physical presence of DSP blocks. Once the limited DSP budget is exhausted, the accelerator’s performance plateaus. In contrast, AEMAC eliminates this dependency entirely, shifting the workload to the abundant LUT fabric.

2.2. Approximate Computing and Quantization

To reduce hardware complexity, approximate computing techniques trade arithmetic precision for energy efficiency [5]. Aggressive quantization, such as binary (BNN) or ternary (TNN) networks, reduces weights to 1 or 2 bits [4]. Although these methods significantly lower resource usage, they typically require extensive retraining and suffer from severe accuracy degradation on complex datasets [4]. Other approximate multipliers employ logic pruning, where the least significant bits (LSBs) are simply discarded [5]. However, naive truncation introduces a systematic negative bias, as demonstrated in our experimental analysis [10]. AEMAC addresses this by integrating a statistical bias compensation mechanism, recovering accuracy without the need for model retraining [10].

2.3. LUT-Based Computing: Comparing with SOTA

The concept of replacing arithmetic logic with Look-Up Tables (LUTs) has recently gained traction in the software domain [11,12]. The T-MAC framework represents the current SOTA for low-bit Large Language Model (LLM) inference on edge CPUs [12]. T-MAC replaces traditional Multiply-Accumulate instructions with bit-wise table lookups, effectively bypassing the dequantization overhead and exploiting the CPU’s cache hierarchy. While T-MAC validates the efficiency of LUT-based arithmetic in software, our AEMAC architecture translates this paradigm into the hardware domain [12]. The comparison between these two approaches as shown in Table 1 is summarized below:
By synthesizing the “Zero-DSP” philosophy with hardware-level statistical error correction, AEMAC establishes a new baseline for logic-based inference engines, complementing software innovations like T-MAC [6,12].

2.4. Broader Context: Neuromorphic and In-Memory Computing

Beyond digital LUT-based approximations, recent advancements in edge AI have explored broader software–hardware co-design paradigms, particularly neuromorphic and Processing-in-Memory (PIM) architectures. Similar to AEMAC’s goal of bypassing standard DSP/ALU bottlenecks, PIM accelerators utilize non-standard arithmetic (e.g., memristor-based crossbars or logic-based MAC operations directly within memory) to achieve extreme energy efficiency [13]. Furthermore, lightweight neuromorphic designs and recent hardware–software co-designed architectures have demonstrated that adaptive scaling and non-standard dataflows can significantly enhance both security and energy efficiency for edge AI [14,15]. While AEMAC operates purely in the digital FPGA domain, its philosophy of context-aware precision and hardware-level statistical compensation aligns closely with the efficient computing principles driving these emerging DSP-free edge architectures.

3. Theoretical Framework and Error Analysis

Before establishing the mathematical foundation, this section first provides a high-level overview of the entire system to contextualize the subsequent error analysis.

3.1. System Overview and Problem Formulation

To deploy Convolutional Neural Networks (CNNs) efficiently on resource-constrained Edge FPGAs, it is essential to overcome the dependency on scarce DSP blocks.
Difficult Points: The primary challenge is that implementing standard INT8 multipliers entirely using LUTs consumes excessive logic resources. Conversely, aggressive low-bit quantization (e.g., 2-bit) introduces severe accuracy degradation that is unacceptable for industrial applications.
Proposed Solution: To address these bottlenecks, we propose the Adaptive Error-Compensated MAC (AEMAC) system. Instead of a “one-size-fits-all” precision, AEMAC dynamically categorizes incoming activations into three distinct execution modes based on their magnitude. These modes are strictly defined as follows:
  • Tiny Mode (2-bit): Triggered when the absolute value of the activation is extremely small (e.g., x [ 3 , 3 ] ). The system aggressively truncates the lower bits to save dynamic power. The massive quantization noise is mitigated by adding a pre-calculated statistical bias.
  • Approx Mode (4-bit): Triggered for moderate activation values (e.g., x [ 12 , 12 ] ). This mode strikes a balance between logic resource consumption and numerical precision, using moderate bit-truncation and a corresponding secondary bias.
  • Precise Mode (8-bit): Triggered for large activation values. To preserve the overall accuracy of the CNN model, no truncation is applied, and the MAC operation is executed with full INT8 fidelity.
By seamlessly switching among these modes, the system effectively bypasses the DSP wall. Note: The detailed hardware implementation of these modules (MDU, ACE, BCU) will be elaborated in Section 4. The following subsections establish the mathematical foundation of this error compensation mechanism.

3.2. Quantization Noise Model

Let x R be a continuous value mapped to an integer grid. The quantization error ϵ is defined as ϵ = Q ( x ) x . Assuming the fractional part of the scaled activation x s c a l e d follows a uniform distribution U ( 0 , 1 ) , the behavior of the error depends on the quantization function employed.

3.3. Bias Analysis of Naive Truncation

Hardware-efficient designs typically utilize the floor function, Q t r u n c ( x ) = x . The error ϵ t r u n c is confined to the interval ( 1 , 0 ] . The expected value (mean bias) is:
E [ ϵ t r u n c ] = 1 0 ϵ · 1 d ϵ = 0.5
In a convolution operation accumulating N products, this negative bias accumulates linearly ( E t o t a l = 0.5 N ). This explains the significant accuracy degradation observed in the naive baseline, as the activation distribution is systematically shifted toward zero or negative values.

3.4. Analysis of Bias Injection (+1)

The AEMAC architecture conditionally injects a bias B = + 1 . For an operation with this injection, the corrected value is Q c o r r ( x ) = x + 1 . The new error ϵ c o r r shifts to the interval ( 0 , 1 ] , resulting in a positive mean bias:
E [ ϵ c o r r ] = 0 1 ϵ · 1 d ϵ = + 0.5
Addressing the Bias Symmetry: A valid critique is that a systematic positive bias ( + 0.5 ) is theoretically equivalent in magnitude to a negative bias ( 0.5 ). However, the superiority of the AEMAC approach stems not from applying this compensation globally, but from the heterogeneous error cancellation inherent in the Tri-Mode architecture.

3.5. Global Error Cancellation via Mode Hybridization

As described in Algorithm 1, the bias injection is conditional. It is applied only during Tiny and Approx modes, while the Precise mode (handling larger magnitudes) retains the standard truncation logic to minimize hardware overhead. Let α be the probability that an activation falls into the low-precision modes (Tiny/Approx), and  ( 1 α ) be the probability of the Precise mode. The expected error for a single MAC operation becomes a weighted sum:
E s y s t e m = α · E [ ϵ c o r r ] + ( 1 α ) · E [ ϵ t r u n c ]
Substituting the expected values derived in Equations (2) and (3):
E s y s t e m = α ( + 0.5 ) + ( 1 α ) ( 0.5 ) = α 0.5 + 0.5 α 0.5 = α 0.5
Correction:
E s y s t e m = 0.5 α 0.5 ( 1 α ) = 0.5 ( 2 α 1 )
In typical neural network layers with high sparsity (ReLU activations), small values dominate the distribution. Empirical profiling across various network depths reveals that the mode probability α typically ranges from ≈0.8 in early convolutional layers (where low-level features are highly sparse) to approximately 0.5 in deeper, more semantically dense layers. Despite this layer-wise variance, α remains well above the threshold required to ensure robust statistical error cancellation, proving that the compensation mechanism is not overly sensitive to depth-varying activation distributions. As shown in Figure 2:
  • Naive Case ( α = 0 ):  E = 0.5 . The error is maximized.
  • AEMAC Case ( α 0.5 ):  E 0 . The positive bias from small values cancels out the negative bias from large values.
This derivation proves that the proposed + 1 injection does not merely invert the error sign; rather, it functions as a statistical counterweight within the accumulator chain, reducing the global mean error significantly closer to zero than either naive truncation or global rounding could achieve efficiently.
Sensitivity to Non-Uniform Fractional Distributions: The baseline mathematical derivation assumes a uniform distribution of the fractional parts U ( 0 , 1 ) . In reality, neural network activations (especially post-ReLU) and quantized weights often exhibit heavily skewed or heavy-tailed distributions. However, the AEMAC compensation mechanism is highly resilient to these deviations. This robustness stems from the fact that the Mode Detection Unit (MDU) explicitly partitions the input space. By confining the heavy tail (values clustered near zero) into the isolated Tiny and Approx modes, the  + 1 bias is conditionally applied strictly to these specific active regions rather than blindly across a global average. This dynamic localization mathematically bounds the variance, rendering the global error cancellation significantly less sensitive to macroscopic deviations from the uniform assumption.

3.6. Mode Detection and Tri-Mode Execution Algorithm

As mathematically proven above, the core of the global error cancellation is the conditional execution logic. To achieve this without software overhead, the system employs a Mode Detection Unit (MDU). The MDU performs a lightweight evaluation of each incoming activation’s absolute magnitude ( | x | ) against offline-calibrated thresholds ( T t i n y and T a p p r o x ). It then dynamically generates a control signal to route the computation and fetches the corresponding statistical bias. The complete co-design inference flow, explicitly expanding the internal logic of the MDU, is formalized in Algorithm 1.
Algorithm 1 Software–Hardware Co-Design Inference Flow with Expanded MDU Logic
Require: Input Activation X f p (Float32), Weight W (Int8), Scaling Factor S
Require: MDU Thresholds T t i n y (e.g., 3) and T a p p r o x (e.g., 12)
Ensure: Output Accumulation Y o u t
  1:
Stage 1: Software Level (Dynamic Scaling)
  2:
X s c a l e d X f p × S                    ▹ Map floating-point to continuous integer domain
  3:
X i n t Round ( X s c a l e d )                ▹ Discretize for hardware execution
  4:
Stage 2: Hardware Level (AEMAC Execution)
  5:
for each element x in X i n t and corresponding weight w do
  6:
     A b s X | x |                  ▹ Extract absolute magnitude for thresholding
  7:
    Step 2.1: Mode Detection Unit (MDU) Expansion
  8:
    if  A b s X T t i n y  then
  9:
         M o d e Tiny                ▹ Trigger 2-bit logic path for high sparsity
10:
         B i a s 1                     ▹ Fetch statistical bias for Tiny mode
11:
    else if  A b s X T a p p r o x  then
12:
         M o d e Approx                 ▹ Trigger 4-bit logic path for moderate values
13:
         B i a s 1                     ▹ Fetch statistical bias for Approx mode
14:
    else
15:
         M o d e Precise               ▹ Trigger 8-bit full precision path
16:
         B i a s 0                    ▹ No compensation needed for standard MAC
17:
    end if
18:
    Step 2.2: Truncated Multiplication & Compensation
19:
     P LUT _ Mult ( x , w , M o d e )              ▹ Perform mode-specific truncated MAC
20:
     Y o u t Y o u t + P + B i a s               ▹ Accumulate with real-time bias injection
21:
end for

4. Proposed AEMAC Architecture

The AEMAC is designed as a modular, strictly DSP-free computing engine. As illustrated in Figure 3, the architecture consists of three pipelined stages: the Mode Detection Unit (MDU), the Adaptive Computing Engine (ACE), and the Bias Compensation Unit (BCU).
To explicitly quantify the logic footprint, a single AEMAC core utilizes exactly 56 LUTs and 33 Registers. The resource breakdown is distributed as follows: 12 LUTs (≈21.4%) and 7 Registers for the MDU (magnitude comparators), 41 LUTs (≈73.2%) and 24 Registers for the ACE (multiplexers and truncated multipliers), and 3 LUTs (≈5.4%) and 2 Registers for the BCU (carry-in logic and control). Furthermore, the critical timing path of the core can be linearly mapped as: Input Register → MDU (LUT5) → ACE (Multiplexer) → BCU (Carry-in) → Accumulator (CARRY4) → Output Register. This shallow logic depth ensures high-frequency operation without requiring complex pipelining.

4.1. Mode Detection Unit (MDU)

The MDU functions as the control path. It receives the scaled integer input | A | and compares it against the pre-configured thresholds ( T t i n y = 3 , T a p p r o x = 12 ).
  • Logic Implementation: The comparison logic is synthesized using parallel LUT5 primitives, generating a 2-bit one-hot encoded mode signal.
  • Flexibility: Unlike fixed Leading Zero Detectors (LZD), the comparator thresholds can be reconfigured at runtime (e.g., via AXI-Lite memory-mapped control registers) to adapt to different layer distributions.

4.2. Adaptive Computing Engine (ACE)

The ACE forms the datapath. To ensure zero DSP usage, we explicitly enforce the synthesis attribute (* use_dsp = “no” *) in the HDL description.
  • Tiny Mode (2-bit) & Approx Mode (4-bit): These paths process the majority of activations (typically >80%). Due to the narrow bit-width, the multiplication logic is mapped to a shallow depth of LUTs (combinational logic), resulting in extremely low latency and dynamic power.
  • Precise Mode (8-bit): Handled by a LUT-based multiplier constructed from chained Slice LUTs and CARRY4 primitives.

4.3. Bias Compensation Unit (BCU)

The BCU integrates the theoretical compensation derived in Section 3. Instead of using a separate adder (which consumes area), we exploit the CARRY_IN port of the final accumulator’s carry chain.
  • Mechanism: When the MDU indicates a low-precision mode (Tiny or Approx), the BCU asserts the carry-in signal.
  • Result: This operation performs A c c = A c c + P r o d u c t + 1 in a single clock cycle, effectively injecting the + 1 bias with zero marginal hardware cost.
Timing and Routing Implications of CARRY_IN Mapping: The claim that this bias injection is “free” is rooted in the FPGA’s physical slice architecture. The  + 1 bias is directly mapped to the LSB (Least Significant Bit) CARRY_IN pin of the dedicated carry-chain primitive (CARRY4) used by the accumulator. Furthermore, from a timing perspective, the mode decision generated by the MDU only requires a shallow LUT delay (typically 1–2 logic levels for an 8-bit comparator). In contrast, the truncated multiplication in the ACE requires multiple logic levels. Consequently, the conditional carry-in signal arrives at the accumulator well before the multiplier’s product stabilizes. This ensures that the per-mode conditional bias injection does not extend the critical path or introduce complex routing dependencies, even within large multi-core clusters.

5. Experimental Setup

Validation of the proposed AEMAC architecture employs a rigorous Software–Hardware Co-Design. This approach assesses circuit-level efficiency alongside the algorithmic robustness of the statistical compensation mechanism.

5.1. Co-Design Workflow

The evaluation framework consists of two synergistic stages:
  • Software Stage (Dynamic Integer Scaling): Neural network activations typically typically reside in a narrow floating-point range (e.g., x [ 0 , 1 ] ), rendering them incompatible with direct integer thresholding [4]. The scaling factor S is determined via an offline calibration process using a representative subset (100 samples) of the training data. To balance the trade-off between quantization resolution and saturation (clipping) error, S is selected to map the 99.9th percentile of the activation magnitude distribution to the maximum hardware threshold ( T a p p r o x = 12 ). This percentile-based method prevents outliers from skewing the dynamic range.
  • Hardware Stage (AEMAC Execution): The synthesized AEMAC logic processes the scaled integer data. Key operations include mode detection, truncated multiplication, and the critical bias injection ( + 1 ) for precision recovery.

5.2. Benchmarks and Datasets

Evaluation covers two distinct levels of granularity:
1.
Micro-Level (Arithmetic Fidelity): Assessment of arithmetic fidelity utilizes real activation and weight tensors extracted from intermediate convolutional layers of a quantized ResNet-18 model. This data facilitates the measurement of Mean Absolute Error (MAE) against a golden floating-point reference.
2.
Macro-Level (End-to-End Accuracy): System-level performance verification relies on a custom lightweight Convolutional Neural Network (CNN) trained on the CIFAR-10 dataset. The detailed network architecture, which comprises three convolutional blocks with Batch Normalization and ReLU, is summarized in Table 2. The network architecture comprises three convolutional blocks with Batch Normalization and ReLU. It is important to clarify that this highly compact, non-over-parameterized topology was intentionally selected; an overly deep network could mask arithmetic quantization errors through redundant feature channels. The modest baseline accuracy (≈64.6%) ensures that the network is highly sensitive to hardware-level arithmetic fidelity. The model was trained from scratch using the Adam optimizer with an initial learning rate of 0.001 , a batch size of 128, and a training schedule of 100 epochs. Measurement of Top-1 classification accuracy directly quantifies the impact of the compensation strategy on final task performance.

5.3. Hardware Implementation Details

The hardware design targets the Xilinx Zynq-7000 SoC (XC7Z020-1CLG400C) platform, implemented via Verilog HDL.
  • Synthesis Tool: Xilinx Vivado 2020.2.
  • Constraint: Synthesis enforces strictly “Zero-DSP” constraints (e.g., use_dsp = “no”), compelling the mapping of all arithmetic logic to Slice LUTs.
  • Power Analysis: Power consumption is determined via Xilinx Vivado’s post-implementation power analysis tool using default switching activity rates at a clock frequency of 100 MHz.

5.4. Baselines for Comparison

To rigorous evaluate the effectiveness of the proposed AEMAC architecture, we established two distinct baselines representing the “Performance Upper Bound” and the “Architectural Lower Bound,” respectively. This dual-baseline strategy ensures a comprehensive assessment of both algorithmic fidelity and hardware efficiency.

5.4.1. Baseline-1: Standard DSP-Based Accelerator (The Industry Standard)

To benchmark the hardware efficiency (Power, Area, Throughput), we implemented a standard CNN accelerator on the same Zynq-7020 platform utilizing the device’s native DSP48E1 slices for arithmetic operations.
  • Configuration: This baseline employs the conventional 18 × 25 DSP multiplier configuration with standard INT8 quantization.
  • Role: It serves as the reference for maximum achievable accuracy and standard resource usage. We denote this baseline as “DSP-Ref” [16].
  • Relevance: Comparisons against DSP-Ref demonstrate the “Zero-DSP” advantage of AEMAC in terms of logic scalability and power reduction.

5.4.2. Baseline-2: Naive Logic-Only Implementation (The Control Group)

To isolate the specific contribution of the proposed Statistical Error Compensation mechanism, we implemented a “Naive” version of the logic-only accelerator [17].
  • Arithmetic Logic: This baseline performs standard integer multiplication using Look-Up Tables (LUTs) but without the proposed bias injection logic. It essentially implements a hardware floor function:
    Y n a i v e = floor ( A i n t × W i n t )
  • Role: It represents the “lower bound” of accuracy when DSPs are removed without algorithmic correction. We denote this as “Naive-Logic”.
  • Relevance: The performance gap between “Naive-Logic” and “AEMAC” strictly quantifies the gain attributed to our proposed algorithmic innovation, eliminating confounding factors such as model architecture or dataset differences.

5.4.3. Golden Reference (Software)

For absolute accuracy benchmarking, all hardware implementations are compared against the FP32 (32-bit Floating Point)inference results obtained from PyTorch 2.1.0, which represents the theoretical upper limit of model performance.

6. Results

This section presents the empirical validation of the AEMAC architecture. The analysis proceeds from layer-wise arithmetic fidelity to end-to-end system accuracy, concluding with a discussion on hardware efficiency and scalability.

6.1. Micro-Level: Arithmetic Fidelity Analysis

Evaluation of the compensation mechanism focuses on a single quantized convolutional layer. As visualized in Figure 4, the Naive Truncation baseline exhibits a pronounced negative error distribution (Mean ≈ −0.96). This systematic bias stems from the “floor” operation inherent in bit-slicing logic, which consistently underestimates the true activation value. Activation of the AEMAC bias injection successfully re-centers the error distribution around zero. Statistical analysis confirms a reduction in Mean Absolute Error (MAE) from 0.9614 to 0.8008. This 16.7% reduction validates that the constant + 1 injection effectively counteracts the truncation loss without requiring complex rounding circuitry.

6.2. Macro-Level: End-to-End Inference Accuracy

System-level robustness is verified through the CIFAR-10 classification task. To mitigate the influence of stochastic weight initialization and training dynamics, the evaluation encompasses five independent experimental trials, each initialized with a distinct random seed. Performance metrics are reported as the mean Top-1 accuracy ± one standard deviation ( σ ). Table 3 contrasts the classification performance across three hardware configurations. The Naive Truncation method exhibits a consistent performance degradation, yielding an average accuracy of 64.19 % ± 0.15 % . This drop is attributed to the cumulative negative bias introduced by the uncompensated floor operations in the feature extraction layers. Analysis of the accuracy recovery attributes the performance gain primarily to the rectification of the systematic quantization bias. As derived in Section 3, naive truncation introduces a cumulative error expectancy of N / 2 per output activation. The AEMAC compensation mechanism effectively recenters this error distribution towards zero, restoring the fidelity of the feature maps. It is observed that the AEMAC accuracy ( 64.74 % ± 0.12 % ) is statistically comparable to the FP32 baseline ( 64.64 % ) within experimental variance. While the primary factor is bias cancellation, the slight performance parity suggests that the symmetric noise introduced by the stochastic rounding-like behavior may provide a secondary regularization benefit, potentially reducing overfitting in the lightweight CNN model. However, the dominant mechanism remains the mathematical restoration of the activation mean.

6.3. Algorithmic Scalability on Standard Architectures

To verify the generalization capability of the proposed method beyond custom lightweight models, we extended the evaluation to industry-standard deep neural networks using a bit-accurate simulation framework.

6.3.1. Setup and Benchmarks

The evaluation focuses on two representative architectures on the CIFAR-10 benchmark:
1.
ResNet-20: The standard residual network variant designed for CIFAR-10 input resolution ( 32 × 32 ), representing deep feature extraction workloads [18].
2.
MobileNetV2: A compact architecture optimized for edge devices, known for its sensitivity to quantization noise due to depth-wise separable convolutions [19].
Given the wide dynamic range inherent in these deep networks, the AEMAC architecture was configured to operate in the Adaptive High-Fidelity Mode. In this mode, the scaling logic prioritizes the 8-bit Precise Mode for feature-rich layers to prevent information loss, while retaining the bias compensation mechanism for lower-magnitude activations. This configuration emulates the system’s behavior when handling complex workloads that require a balance between precision and logic utilization.

6.3.2. Results and Analysis on CIFAR-10

Table 4 presents the Top-1 classification accuracy. The “Naive” baseline simulates a standard truncated arithmetic implementation, which typically requires DSP resources to maintain precision, while the “AEMAC” configuration utilizes purely LUT-based logic with statistical compensation.

6.3.3. The Zero-DSP Trade-Off and Applicability Boundary

As observed in Table 4, the AEMAC architecture achieves a Top-1 accuracy of 92.02% on ResNet-20 and 91.30% on MobileNetV2. While ResNet-20 maintains high fidelity comparable to the naive baseline, MobileNetV2 exhibits a more pronounced degradation of 2.30%.
This performance disparity highlights the theoretical applicability boundary of the proposed statistical compensation mechanism. AEMAC relies on the Law of Large Numbers to statistically cancel out quantization noise during the accumulation process. Standard convolutions (as used in ResNet) sum over a large number of input channels, providing sufficient accumulation depth for positive and negative errors to neutralize.
In contrast, MobileNetV2 relies heavily on Depthwise Separable Convolutions. The depthwise layers perform accumulation only within a small spatial kernel (typically 3 × 3 = 9 elements) per channel, lacking the cross-channel summation inherent in standard convolutions. This insufficient accumulation depth increases the variance of the residual error, rendering the statistical bias injection less effective.
Consequently, while AEMAC provides an efficient Zero-DSP solution for standard over-parameterized architectures (e.g., ResNet, VGG, traditional YOLO layers), it exhibits limitations on ultra-compact models optimized with depthwise convolutions. For such compact architectures, a hybrid approach retaining higher precision for depthwise layers would be required to recover the 2.3% loss.

6.3.4. Hardware-Aware Model Adaptation: The Statistical Sweet Spot

To rigorously validate that the accuracy drop in MobileNetV2 is driven by statistical insufficiency ( N = 9 ) rather than intrinsic architectural incompatibility, we conducted a Hardware-Aware Adaptation experiment utilizing a Group Convolution strategy.
The standard Depthwise Convolution operates with a group size equal to the channel count ( G = C i n ), isolating each channel. To satisfy the statistical requirements of the AEMAC error compensation ( N 30 ), we restructured the depthwise layers as follows:
  • Topology Modification: We replaced the Depthwise layers ( G = C i n ) with Group Convolutions where the group size is set to g = 4 . This implies the number of groups becomes G = C i n / 4 .
  • Accumulation Depth Expansion: This modification expands the accumulation depth from N d w = 1 × 3 × 3 = 9 to:
    N g r o u p = g × K × K = 4 × 3 × 3 = 36
  • Training Strategy: Since the connectivity pattern changes, the weights were re-initialized, and the adapted model was retrained on CIFAR-10 for 100 epochs to recover feature representations.
An ablation study was performed to identify the minimal group size required to trigger effective error cancellation (Table 5).
The results exhibit a clear statistical boundary:
1.
Under-Population ( g = 1 , 2 ): With N = 9 and N = 18 , the sample size is insufficient for the Law of Large Numbers to effectively bound the quantization error variance, leading to suboptimal accuracy.
2.
The Sweet Spot ( g = 4 ): At N = 36 , the accuracy jumps significantly to 93.15%, nearly matching the FP32 baseline. This aligns with standard statistical heuristics where N > 30 is often cited as the threshold for reliable statistical estimation.
3.
Diminishing Returns ( g = 8 ): Further increasing g to 8 yields negligible accuracy gain (+0.03%) but substantially increases parameter count and computational cost.
This improvement confirms that the AEMAC logic is highly effective provided the model respects the minimal statistical boundary ( N 36 ). This advocates for a Hardware-Aware Adaptation approach—rather than a complex Co-Design—where lightweight “Model Transformations” unlock the massive efficiency of Zero-DSP logic with minimal overhead.

6.4. Generalization Verification on Large-Scale Datasets

To address the limitations of the CIFAR-10 dataset and verify the architecture’s applicability to high-resolution edge AI workloads, we conducted a transfer learning experiment targeting the ImageNet (ILSVRC2012) dataset [20].

6.4.1. Implementation Details

Due to the memory bandwidth constraints of the Zynq-7020 for full-scale training, we adopted a bit-accurate software simulation approach:
1.
Backbone: We utilized a pre-trained ResNet-18 model, which processes standard high-resolution 224 × 224 RGB inputs.
2.
Simulation Method: We implemented a custom quantization operator in PyTorch that strictly replicates the AEMAC hardware logic:
Y s i m = floor ( A i n t × W i n t ) + I m o d e
where I m o d e = 1 triggers when operands fall within the Tiny/Approx range, simulating the hardware compensation mechanism.

6.4.2. Results and Analysis

As summarized in Table 6, the results confirm that the AEMAC architecture maintains robustness on large-scale datasets. While naive truncation causes a catastrophic accuracy drop (−8.34%) due to the massive accumulation of negative quantization bias in deep networks, AEMAC successfully recovers the accuracy to within 0.71% of the floating-point baseline. This validates that the statistical error cancellation mechanism is mathematically invariant to input resolution ( 32 × 32 vs. 224 × 224 ), proving its scalability for real-world edge scenarios.

6.4.3. Trace-Driven Hardware Verification and Overflow Analysis

To bridge the gap between software simulation and physical hardware behavior, and specifically to address potential concerns regarding accumulator overflow on large-scale datasets, we performed a Trace-Driven Hardware Verification.
Methodology: We extracted real-world activation and weight tensors from the deepest convolutional layer of ResNet-18 (Layer 4.2, 512 channels) processing ImageNet inputs. These vectors represent the “worst-case” scenario for accumulation depth ( N = 4608 ). We injected these traces into the implemented 64-core AEMAC hardware cluster (via post-implementation timing simulation) and compared the physical register outputs against the software golden model.
Verification Results:
1.
Bit-True Equivalence: The hardware outputs matched the bit-accurate software simulation results exactly ( E r r o r b i t = 0 ). This confirms that the Python simulation model (Section 6.4.2) faithfully represents the hardware’s truncation and compensation logic.
2.
Overflow Safety Margin: A critical concern for fixed-point hardware on large datasets is accumulator overflow. The AEMAC utilizes a 32-bit accumulator. Analysis of the ImageNet traces reveals that the maximum accumulated value reaches approximately 1.8 × 10 7 , which utilizes only 25 bits.
Headroom = 31 sign log 2 ( 1.8 × 10 7 ) = 31 25 = 6 bits
This 6-bit safety margin guarantees that the hardware is immune to overflow even when processing the deep accumulation layers of ImageNet models, validating the architectural robustness without requiring floating-point hardware.

6.5. Parameter Sensitivity and Robustness Analysis

A critical design consideration is the selection of the mode thresholds ( T t i n y , T a p p r o x ). To verify that the proposed architecture is not overly sensitive to specific hyperparameters, we conducted a sensitivity analysis by sweeping the thresholds around their nominal values ( T t i n y = 3 , T a p p r o x = 12 ) on the ResNet-20 model.

6.5.1. Threshold Sweeping Experiment

We varied T t i n y from 2 to 5 and T a p p r o x from 10 to 14, monitoring the impact on both arithmetic MAE and end-to-end Top-1 accuracy. As illustrated in Table 7, the architecture demonstrates high robustness.

6.5.2. Analysis of Robustness

The results indicate that the system performance is stable within a reasonable range:
  • Statistical Basis: The nominal values are not arbitrary; they align with the statistical distribution of ReLU activations. T t i n y = 3 typically covers the first standard deviation ( σ ) where ≈68% of values reside, while T a p p r o x = 12 covers the long tail (≈99%).
  • Tolerance: Even when deviating from the optimal settings (e.g., setting T t i n y = 4 ), the accuracy drop is minimal (<0.1%). This confirms that the AEMAC error compensation mechanism is robust and does not require fine-grained per-layer tuning to function effectively.

6.6. Scalability Verification with Multi-Core Cluster

To empirically validate the scalability of the proposed Zero-DSP architecture and address potential concerns regarding routing congestion in high-density deployments, we implemented a physical 64-core cluster on the Xilinx Zynq-7020 platform.

6.6.1. Cluster Implementation Setup

The test cluster consists of 64 parallel AEMAC cores operating in a SIMD (Single Instruction, Multiple Data) configuration. To ensure the integrity of the synthesis results and prevent logic optimization (trimming), the experimental setup includes:
1.
Input Broadcasting: Input activations and weights are registered and broadcasted to all 64 cores to emulate the fan-out characteristics of a real-world neural network workload.
2.
Output Aggregation: The 32-bit accumulation results from all cores are aggregated through a distinct XOR reduction tree to force the synthesis tool to preserve the complete computational logic of every processing element (PE).
3.
Constraint Injection: The (* use_dsp = “no” *) and (* keep = “true” *) attributes were applied to enforce strict LUT-based implementation and prevent logic merging.

6.6.2. Resource Linearity and Efficiency

Table 8 presents the post-implementation results. The 64-core cluster utilizes 3448 Slice LUTs and 2102 Slice Registers. This translates to an average resource consumption of approximately 53.9 LUTs per core. This result is significant for two reasons:
  • Linear Scalability: The resource usage scales linearly compared to the single-core baseline, confirming that the AEMAC architecture does not incur significant overhead when arrayed.
  • High Density: The extremely low footprint (≈54 LUTs/core) validates the efficiency of the bit-level optimization strategies (e.g., adaptive bit-width and shared bias logic).

6.6.3. Timing Closure and Resource Headroom

The post-implementation timing report confirms that the 64-core cluster successfully achieved timing closure at 100 MHz with a positive Worst Negative Slack (WNS).
Crucially, this 64-core configuration occupies only 6.48% of the available logic resources on the XC7Z020 device. This low resource footprint indicates significant architectural headroom for massive parallelism.
Control and Routing Overhead in Ultra-Large Clusters (>100 Cores): As the architecture scales to ultra-large arrays (e.g., >100 cores), the fan-out of the configurable MDU thresholds ( T t i n y , T a p p r o x ) naturally increases. However, the control overhead remains minimal because these thresholds are quasi-static (updated only once per neural network layer, not per clock cycle). Therefore, they can be distributed using heavily pipelined broadcasting trees or multi-cycle path constraints without stalling the computational datapath. The primary routing overhead is restricted to the localized 2-bit mode selection signals from the MDU to the adjacent BCU, ensuring that the global routing congestion remains bounded even in massive SIMD deployments.
Note: While a linear extrapolation suggests a theoretical capacity of >400 cores, actual scaling is limited by routing congestion. A rigorous full-chip projection incorporating a “Routing Derating Model” is detailed in the Discussion.

6.7. Measured Hardware Efficiency (64-Core)

To rigorously assess the power profile, we moved beyond vectorless estimation and performed a post-implementation timing simulation (SAIF) specifically on the physical 64-core array.
Measured Latency and Throughput:We benchmarked the standard ResNet-20 model (CIFAR-10 input, ≈41 M MACs/Frame) on the 64-core hardware.
  • Throughput: The 64-core cluster achieves a measured effective throughput of 12.8 GOPS.
  • Latency & FPS: This translates to a frame processing latency of 6.4 ms, equivalent to 156 FPS.
  • Power: The dynamic power is measured at 0.490 W (verified by SAIF with random vector stimulation), yielding a calibrated energy efficiency of 26.1 GOPS/W.

6.8. Hardware Efficiency and Realistic Performance Projection

To rigorously assess the performance profile, we moved beyond vectorless estimation and performed a post-implementation timing simulation (SAIF) on the 64-core cluster. Furthermore, we address the potential non-linear routing constraints in full-chip scaling.

6.8.1. Measured Latency and Throughput (64-Core)

We benchmarked the standard ResNet-20 model (CIFAR-10 input, ≈41 M MACs/Frame) on the physical 64-core array.
  • Throughput: The 64-core cluster achieves a measured effective throughput of 12.8 GOPS.
  • Latency & FPS: This translates to a frame processing latency of 6.4 ms, equivalent to 156 FPS. This real-time performance is sufficient for most edge surveillance applications (typically 30 FPS).
  • Power: The dynamic power is measured at 0.490 W (verified by SAIF), yielding a calibrated energy efficiency of 26.1 GOPS/W.
Direct Comparison with DSP Baseline: Under the identical Zynq-7020 constraints and toolchain assumptions for ResNet-20, a standard DSP-based accelerator utilizing 100% of the device’s DSP slices theoretically peaks at ≈29.5 GOPS, typically yielding an energy efficiency of <10 GOPS/W due to the high power consumption of hard macros [16]. In direct contrast, our 64-core AEMAC cluster achieves a measured throughput of 12.8 GOPS and 156 FPS while utilizing absolutely zero DSPs, delivering a vastly superior energy efficiency of 26.1 GOPS/W. This direct comparison underscores the architectural viability of lightweight logic-based computing for energy-constrained edge scenarios. Memory Bandwidth Analysis: In addition to computational throughput, hardware efficiency is heavily bounded by data supply. For the 64-core cluster operating at 100 MHz in a SIMD fashion, the peak memory bandwidth requirement involves fetching 64 INT8 weights and 1 shared INT8 activation per clock cycle, equating to roughly 6.5 GB/s. This requirement falls comfortably within the theoretical maximum bandwidth of the Zynq-7020’s multiple High-Performance (HP) AXI ports, confirming that the AEMAC cluster is compute-bound rather than memory-bound under the current deployment scale.

6.8.2. Scalability Analysis with Routing Derating

A common critique of logic-only accelerators is the non-linear routing congestion when LUT utilization exceeds 80%. While a linear extrapolation to 425 cores suggests a theoretical peak of 85 GOPS, we apply a conservative Routing Congestion Derating Factor ( η r o u t e = 0.8 ) to account for frequency scaling and critical path delays in a congested fabric.
Perf r e a l i s t i c = Perf i d e a l × η r o u t e = 85 GOPS × 0.8 68 GOPS
Even under this conservative estimation (68 GOPS), the AEMAC architecture still outperforms the DSP-based baseline (29.5 GOPS [16]) by 2.3×, confirming that the “Zero-DSP” approach remains advantageous even in non-ideal routing conditions. A comprehensive summary of both the measured and projected performance metrics is presented in Table 9.

7. Discussion

7.1. Comparison with State-of-the-Art (Logic-Only Architectures)

To position AEMAC against cutting-edge “Zero-DSP” solutions, we compare it with three distinct paradigms:
  • Software-LUT Approach: T-MAC (ASPLOS 2024) [12].
  • Logic-Expansion Approach: LUTNet (FCCM 2019) [21].
  • Combinatorial Approach: LogicNets (FPL 2020) [6].
Table 10 summarizes the architectural trade-offs.

7.1.1. Critical Analysis Against T-MAC

Comparison with T-MAC (ASPLOS 2024): T-MAC achieves impressive throughput by optimizing LUT-based multiplication on CPU-FPGA heterogeneous platforms. However, its performance is fundamentally bound by memory bandwidth (to fetch large lookup tables) and the overhead of software instruction scheduling. Our Advantage: Unlike T-MAC, AEMAC implements a pure hardware dataflow. The computation is fully unrolled in spatial logic, eliminating the need for runtime instruction fetching or massive memory traffic for table lookups. This results in strictly deterministic latency ( μ s-level jitter), making AEMAC superior for safety-critical real-time control loops where worst-case execution time (WCET) must be guaranteed.

7.1.2. Comparison with Other Logic-Only Works

Vs. LUTNet and LogicNets: While LUTNet [21] and LogicNets [6] demonstrate the feasibility of DSP-free inference, they suffer from either significant accuracy degradation (2-bit/Binary quantization) or exponential logic resource explosion. AEMAC strikes a unique balance by supporting standard INT8 precision within a compact, modular footprint, avoiding the need for aggressive re-training or model compression.

7.2. Scalability Analysis and the “DSP Wall” Breakthrough

The primary contribution of AEMAC lies in decoupling inference throughput from the inherent hardware limitations known as the “DSP Wall”.
On entry-level FPGAs like the Xilinx Zynq-7020, DSP resources are strictly capped (e.g., only 220 DSP48E1 slices). A traditional accelerator hits a hard performance saturation once these units are exhausted. In contrast, AEMAC activates the abundant LUT fabric (53,200 units), theoretically unlocking a much larger design space. To rigorously project this full-chip potential beyond our 64-core prototype, we employ a Resource-Constrained Derating Model.

7.2.1. Theoretical Resource Bound

We first calculate the theoretical maximum number of parallel cores ( N m a x ) based on the available LUT budget. The resource consumption of a single AEMAC core is measured at R c o r e 105 LUTs. Allocating a conservative 15% margin for system-level infrastructure (e.g., AXI Interconnect, DMA, and global control), the bound is derived as:
N m a x = R t o t a l × ( 1 Margin s y s ) R c o r e = 53200 × 0.85 105 430 Cores
For the projection, we conservatively round this down to 425 cores.

7.2.2. Congestion-Aware Performance Projection

Linear extrapolation of performance assumes ideal routing, which is often invalid at high utilization rates (>80%). To model the physical design constraints (routing congestion and timing degradation), we introduce a Routing Efficiency Derating Factor ( η r o u t e ).
Based on empirical FPGA implementation data, logic-dense designs typically suffer a 10–20% frequency or efficiency penalty near full utilization. We adopt a conservative η r o u t e = 0.8 . The projected full-chip throughput ( P p r o j ) is calculated as:
P p r o j = P c o r e × N m a x × η r o u t e = 0.2 × 425 × 0.8 = 68.0 GOPS
Breaking the DSP Wall: This analytical projection confirms the architectural scalability. Even under the conservative “Derated” scenario (68 GOPS), the AEMAC architecture outperforms the DSP-based baseline (29.5 GOPS [16]) by a factor of 2.3×. This quantitative gap demonstrates that even when accounting for realistic physical implementation losses, the logic-only approach effectively breaks the DSP Wall, offering superior throughput for resource-constrained edge devices.

7.3. Deployment Implications: PTQ vs. QAT and Noise Dynamics

From a practical deployment perspective, AEMAC currently operates under a Post-Training Quantization (PTQ) paradigm. By strictly applying dynamic integer scaling post-training, AEMAC avoids the computationally expensive retraining process, making it highly suitable for rapid edge deployment scenarios where source datasets are unavailable due to privacy constraints.
If the proposed architecture were integrated into a Quantization-Aware Training (QAT) or mixed-precision training pipeline, the neural network could learn to adapt its weight distributions to the deterministic + 1 bias injected by the hardware. This co-adaptation would likely eliminate the remaining < 0.5 % accuracy gap, pushing the hardware fidelity perfectly in line with the FP32 baseline.
Furthermore, regarding topological robustness, architectures with residual connections (e.g., ResNet) are notoriously sensitive to correlated quantization noise, where accumulated biases across skip connections can cause severe feature drift. The AEMAC compensation mechanism directly addresses this. By continuously re-centering the mean error towards zero at the accumulator level, it effectively decorrelates the quantization noise across sequential layers, preventing destructive bias accumulation within the deep residual paths.

8. Conclusions

This paper presented AEMAC, a resource-efficient computing architecture designed to democratize Edge AI. By synergizing a tri-mode adaptive datapath with a statistical error compensation mechanism, AEMAC addresses the dual challenges of hardware scarcity and quantization loss. The synthesis results on the Zynq-7020 FPGA validate the “Zero-DSP” claim (0 DSPs, 100 LUTs). The mathematical bias compensation mechanism successfully mitigates quantization error, improving accuracy by 16.7%.
Importantly, our analysis establishes a clear statistical applicability boundary: AEMAC is most suitable for architectures with sufficient accumulation depth ( N 30 ∼36), such as standard convolutions, ResNet-style blocks, and object detection backbones. For highly compact depth-wise architectures (e.g., MobileNetV2), group-precision adjustments or mixed-precision adaptations are required to maintain optimal fidelity.
This architecture offers a strategic advantage for system designers: it frees precious DSP resources for other tasks, allowing low-cost FPGAs to deliver high-performance AI inference. Consequently, AEMAC is highly applicable to power-constrained and space-limited edge deployment scenarios, such as smart surveillance cameras, autonomous UAV navigation, and industrial IoT sensor nodes.

Author Contributions

Conceptualization, C.L. and J.H.; methodology, C.L. and J.H.; software, C.L.; validation, C.L. and J.H.; formal analysis, C.L. and J.H.; investigation, C.L. and J.H.; resources, C.L.; data curation, C.L.; writing—original draft preparation, J.H.; writing—review and editing, C.L.; visualization, C.L. and J.H.; supervision, C.L.; project administration, C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Experimental measurements supporting the findings of this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

During the preparation of this manuscript, the authors used Gemini 3.0 in order to improve the readability and language quality of the text. The authors reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Sze, V.; Chen, Y.-H.; Yang, T.-J.; Emer, J.S. Efficient processing of deep neural networks: A tutorial and survey. Proc. IEEE 2017, 105, 2295–2329. [Google Scholar] [CrossRef]
  2. Zhang, C.; Li, P.; Sun, G.; Guan, Y.; Xiao, B.; Cong, J. Optimizing fpga-based accelerator design for deep convolutional neural networks. In Proceedings of the 2015 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Monterey, CA, USA, 22–24 February 2015; Association for Computing Machinery: New York, NY, USA, 2015; pp. 161–170. [Google Scholar]
  3. Wei, X.; Yu, C.H.; Zhang, P.; Chen, Y.; Wang, Y.; Hu, H.; Liang, Y.; Cong, J. Automated systolic array architecture synthesis for high throughput CNN inference on FPGAs. In Proceedings of the 54th Annual Design Automation Conference (DAC), Austin, TX, USA, 18–22 June 2017; Association for Computing Machinery: New York, NY, USA, 2017; pp. 1–6. [Google Scholar]
  4. Gholami, A.; Kim, S.; Dong, Z.; Yao, Z.; Mahoney, M.W.; Keutzer, K. A survey of quantization methods for efficient neural network inference. arXiv 2021, arXiv:2103.13630. [Google Scholar] [CrossRef]
  5. Armeniakos, G.; Zervakis, G.; Soudris, D.; Henkel, J. Hardware approximate techniques for deep neural network accelerators: A survey. ACM Comput. Surv. (CSUR) 2022, 55, 1–36. [Google Scholar] [CrossRef]
  6. Umuroglu, Y.; Akhauri, Y.; Fraser, N.J.; Blott, M. Logicnets: Co-designed neural networks and circuits for extreme-throughput applications. In Proceedings of the 2020 30th International Conference on Field-Programmable Logic and Applications (FPL), Gothenburg, Sweden, 31 August–4 September 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 291–297. [Google Scholar]
  7. Han, S.; Mao, H.; Dally, W.J. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In Proceedings of the 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, 2–4 May 2016. [Google Scholar]
  8. Xilinx. Zynq DPU Product Guide (PG338); Xilinx Documentation; Advanced Micro Devices, Inc.: Santa Clara, CA, USA, 2022. [Google Scholar]
  9. Xilinx. Deep Learning with INT8 Optimization on Xilinx Devices (WP486); Xilinx White Paper; Advanced Micro Devices, Inc.: Santa Clara, CA, USA, 2016. [Google Scholar]
  10. Sabetzadeh, F.; Moaiyeri, M.H.; Ahmadinejad, M. An ultra-efficient approximate multiplier with error compensation for error-resilient applications. IEEE Trans. Circuits Syst. II Express Briefs 2023, 70, 2645–2649. [Google Scholar] [CrossRef]
  11. Wang, H.; Ma, L.; Dong, L.; Huang, S.; Hu, Z.; Wang, L.; Wei, L.; Wei, F. Bitnet: Scaling 1-bit transformers for large language models. arXiv 2023, arXiv:2310.11453. [Google Scholar] [CrossRef]
  12. Wei, J.; Cao, S.; Cao, T.; Ma, L.; Wang, L.; Zhang, Y.; Yang, M. T-mac: Cpu renaissance via table lookup for low-bit llm deployment on edge. arXiv 2024, arXiv:2407.00088. [Google Scholar]
  13. Rajput, A.K.; Pattanaik, M.; Kaushal, G. An energy-efficient 10T SRAM in-memory computing macro for artificial intelligence edge processor. Mem. Mater. Devices Circuits Syst. 2023, 5, 100076. [Google Scholar] [CrossRef]
  14. Bankman, D.; Messner, J.; Gural, A.; Murmann, B. RRAM-based in-memory computing for embedded deep neural networks. In Proceedings of the 2019 53rd Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 3–6 November 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1511–1515. [Google Scholar]
  15. Antolini, A.; Lico, A.; Zavalloni, F.; Greco, L.; Zurla, R.; Bertolini, J.; Vignali, R.; Iannelli, L.; Calvetti, E.; Pasotti, M.; et al. High-precision close-to-analog programming of PCM cells as devices for AiMC edge AI. In Proceedings of the 2025 IEEE European Solid-State Electronics Research Conference (ESSERC), Munich, Germany, 8–11 September 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 461–464. [Google Scholar]
  16. Al-Haija, Q.A.; Al-Qudah, A.G.; Khasawneh, M. Hardware acceleration for object detection using yolov5 deep learning algorithm on xilinx zynq fpga platform. Eng. Technol. Appl. Sci. Res. 2024, 14, 13066–13071. [Google Scholar] [CrossRef]
  17. Risbeck, S.; Lee, J.K.; Kastner, R. Greater than the sum of its luts: Scaling up lut-based neural networks with amigolut. In Proceedings of the 2025 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays (FPGA ’25), Monterey, CA, USA, 27 February–1 March 2025; Association for Computing Machinery: New York, NY, USA, 2025. [Google Scholar]
  18. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 770–778. [Google Scholar]
  19. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 4510–4520. [Google Scholar]
  20. Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; Karpathy, A.; Khosla, A.; Bernstein, M.; et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vis. (IJCV) 2015, 115, 211–252. [Google Scholar] [CrossRef]
  21. Wang, E.; Davis, J.J.; Cheung, P.Y.K.; Constantinides, G.A. Lutnet: Rethinking inference in fpga soft logic. In Proceedings of the 2019 IEEE 27th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), San Diego, CA, USA, 28 April–1 May 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 26–34. [Google Scholar]
Figure 1. Motivation. (a) The probability density function (PDF) of neural activations exhibits high sparsity, with most values concentrated near zero. (b) Traditional DSP-based architectures process all values with fixed precision, resulting in resource waste. The proposed approach adapts hardware precision to the data magnitude. In the figure, blue colors indicate tiny data values and the proposed adaptive hardware, while orange and grey denote rare large values and the standard fixed-precision hardware, respectively.
Figure 1. Motivation. (a) The probability density function (PDF) of neural activations exhibits high sparsity, with most values concentrated near zero. (b) Traditional DSP-based architectures process all values with fixed precision, resulting in resource waste. The proposed approach adapts hardware precision to the data magnitude. In the figure, blue colors indicate tiny data values and the proposed adaptive hardware, while orange and grey denote rare large values and the standard fixed-precision hardware, respectively.
Electronics 15 01586 g001
Figure 2. Geometric interpretation of Error Cancellation. While Truncation (Precise Mode) induces a negative shift, the Compensation (Tiny/Approx Mode) induces a positive shift. The summation of these heterogeneous modes results in a net error distribution centered near zero.
Figure 2. Geometric interpretation of Error Cancellation. While Truncation (Precise Mode) induces a negative shift, the Compensation (Tiny/Approx Mode) induces a positive shift. The summation of these heterogeneous modes results in a net error distribution centered near zero.
Electronics 15 01586 g002
Figure 3. The proposed tri-mode AEMAC architecture. The system dynamically steers input data to the most efficient LUT-based arithmetic logic based on real-time magnitude analysis.
Figure 3. The proposed tri-mode AEMAC architecture. The system dynamically steers input data to the most efficient LUT-based arithmetic logic based on real-time magnitude analysis.
Electronics 15 01586 g003
Figure 4. Layer-wise Error Analysis. The AEMAC mechanism (Red) eliminates the systematic negative bias observed in Naive Truncation (Gray), reducing the MAE by 16.7%.
Figure 4. Layer-wise Error Analysis. The AEMAC mechanism (Red) eliminates the systematic negative bias observed in Naive Truncation (Gray), reducing the MAE by 16.7%.
Electronics 15 01586 g004
Table 1. Comparison of LUT-Based Computing Paradigms: SOTA Software(T-MAC) vs. Proposed Hardware (AEMAC).
Table 1. Comparison of LUT-Based Computing Paradigms: SOTA Software(T-MAC) vs. Proposed Hardware (AEMAC).
FeatureT-MAC (SOTA Software) [12]AEMAC (Ours-Hardware)
DomainEdge AI Software FrameworkEdge AI Hardware Architecture
Target PlatformGeneral-Purpose CPUs (ARM/x86)Low-Cost FPGAs (Zynq-7000)
Core MechanismLook-Up via Memory Arrays (RAM)Look-Up via Logic Gates (Slice LUTs)
Bottleneck SolvedMemory Wall: Bypassing slow dequantizationDSP Wall: Bypassing scarce hard macros
Precision ControlStatic Low-Bit (e.g., INT4/INT2)Dynamic Tri-Mode (8/4/2-bit)
Error MitigationRetraining/CalibrationStatistical Bias Compensation
Primary GoalInstruction Throughput/LatencySilicon Area Efficiency/Zero-DSP
Table 2. Architecture of the Custom Lightweight CNN used for Evaluation.
Table 2. Architecture of the Custom Lightweight CNN used for Evaluation.
Layer TypeInput ShapeKernel/StrideOutput ChannelsActivation
Conv2D 32 × 32 × 3 3 × 3 /132ReLU
Conv2D 32 × 32 × 32 3 × 3 /132ReLU
MaxPool 32 × 32 × 32 2 × 2 /232-
Conv2D 16 × 16 × 32 3 × 3 /164ReLU
MaxPool 16 × 16 × 64 2 × 2 /264-
Fully Connected 8 × 8 × 64 -10Softmax
Table 3. End-to-End Accuracy on CIFAR-10 (Average of 5 Trials).
Table 3. End-to-End Accuracy on CIFAR-10 (Average of 5 Trials).
ConfigurationTop-1 Accuracyvs. FP32vs. Naive
Original (FP32 Baseline)64.64%--
Naive Truncation64.19% ± 0.15%−0.45%-
AEMAC (Proposed)64.74% ± 0.12%+0.10%+0.55%
Table 4. Algorithmic Scalability on Standard Architectures (CIFAR-10).
Table 4. Algorithmic Scalability on Standard Architectures (CIFAR-10).
ModelConfigurationPrecision SchemeAccuracyGap
ResNet-20 *FP32 Baseline32-bit Float92.56%
Naive (DSP-like)Mixed (Truncation)92.24% 0.32 %
AEMAC (Ours)Adaptive (High-Fidelity)92.02% 0.54 %
MobileNetV2FP32 Baseline32-bit Float93.60%
Naive (DSP-like)Mixed (Truncation)92.28% 1.32 %
AEMAC (Ours)Adaptive (High-Fidelity)91.30% 2.30 %
* ResNet-20 is the standard variant for CIFAR-10 as defined by He et al.
Table 5. Ablation Study: Impact of Group Size (g) on Accumulation Depth and Accuracy.
Table 5. Ablation Study: Impact of Group Size (g) on Accumulation Depth and Accuracy.
ConfigurationGroup Size (g)Acc. Depth (N)Top-1 Acc.Resource Overhead
Baseline (MobileNet)1 (Depthwise)991.30%1.0× (Reference)
Modification A21892.10%1.1×
Modification B4 (Selected)3693.15%1.3×
Modification C87293.18%1.7×
Table 6. Performance Verification on ImageNet (ResNet-18, 224 × 224 Input).
Table 6. Performance Verification on ImageNet (ResNet-18, 224 × 224 Input).
ConfigurationPrecisionTop-1 AccuracyDegradation
Original (FP32)32-bit Float69.76%-
Naive Truncation8-bit Floor61.42%−8.34%
AEMAC (Ours)Adaptive 8/4/2-bit69.05%−0.71%
Table 7. Sensitivity Analysis of Mode Thresholds on ResNet-20 Accuracy.
Table 7. Sensitivity Analysis of Mode Thresholds on ResNet-20 Accuracy.
ConfigurationThresholds ( T tiny / T approx )Top-1 AccuracyMAE (Layer 1)
Tight Constraints 2 / 10 91.85%0.82
Nominal (Selected)3/1292.02%0.80
Relaxed Constraints 4 / 14 91.93%0.85
Extreme Deviation 5 / 16 91.68%0.91
Table 8. Post-Implementation Resource Usage: Single Core vs. 64-Core Cluster.
Table 8. Post-Implementation Resource Usage: Single Core vs. 64-Core Cluster.
MetricSingle Core64-Core ClusterScaling Factor
Slice LUTs563448≈61.5×
Slice Registers332102≈63.7×
DSP48 Slices00-
Frequency ( f m a x )142 MHz100 MHz (Met)-
Global Utilization<0.2% 6.48 % -
Table 9. Verified (64-Core) and Projected (Full-Chip) Performance Metrics.
Table 9. Verified (64-Core) and Projected (Full-Chip) Performance Metrics.
MetricMeasured (64-Core)Projected (Full-Chip)
StatusSAIF VerifiedDerated ( η = 0.8 )
Logic Utilization∼15%∼80%
Frequency100 MHz100 MHz (Target)
Throughput12.8 GOPS68.0 GOPS (Realistic)
Frame Rate (ResNet-20)156 FPS>800 FPS
Latency6.4 ms<1.2 ms
Dynamic Power0.490 W∼3.25 W
Energy Efficiency26.1 GOPS/W∼20.9 GOPS/W
Note: Full-chip projection includes a 20% derating penalty to account for potential routing congestion at high utilization.
Table 10. Comparison with SOTA Logic-Only FPGA Accelerators.
Table 10. Comparison with SOTA Logic-Only FPGA Accelerators.
WorkParadigmPrecisionAcc. LossThroughputLatencyDSP
(W/A)(vs. FP32)(GOPS)(ms)(Usage)
T-MAC [12]Software-LUTINT4/INT8LowHigh *Non-Det. 0%
LUTNet [21]Logic-Exp.2-bit/2-bit∼4.5%45.0Low0%
LogicNets [6]Truth-TableBinary/2-bit>8.0%>100Ultra-Low0%
AEMAC (Ours)Hw-DataflowINT8/INT8<0.5%68.0Det. (Low)0%
* T-MAC relies heavily on high-bandwidth memory (HBM) and CPU orchestration. Non-Deterministic latency due to software scheduling overhead.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, C.; Heiyan, J. Breaking the DSP Wall: A Software–Hardware Co-Designed, Adaptive Error-Compensated MAC Architecture for Efficient Edge AI. Electronics 2026, 15, 1586. https://doi.org/10.3390/electronics15081586

AMA Style

Liu C, Heiyan J. Breaking the DSP Wall: A Software–Hardware Co-Designed, Adaptive Error-Compensated MAC Architecture for Efficient Edge AI. Electronics. 2026; 15(8):1586. https://doi.org/10.3390/electronics15081586

Chicago/Turabian Style

Liu, Changyan, and Juntai Heiyan. 2026. "Breaking the DSP Wall: A Software–Hardware Co-Designed, Adaptive Error-Compensated MAC Architecture for Efficient Edge AI" Electronics 15, no. 8: 1586. https://doi.org/10.3390/electronics15081586

APA Style

Liu, C., & Heiyan, J. (2026). Breaking the DSP Wall: A Software–Hardware Co-Designed, Adaptive Error-Compensated MAC Architecture for Efficient Edge AI. Electronics, 15(8), 1586. https://doi.org/10.3390/electronics15081586

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop