Manuscript Offprint
arXiv:2611.03503A Cross-Domain Matrix Engine for Signal Processing and Deep Neural Net Inference
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Mehdi Safarpour lastname.firstname[at]oulu.fi
Abstract—Matrix multiplication dominates both PHY signal processing and Deep Neural Network (DNN) inference, yet these domains place opposing demands on the matrix engine. Signal processing requires low-latency execution of relatively small matrix operations, whereas DNN inference, particularly at large batch sizes, prioritizes high throughput and energy efficiency for large matrix multiplications. While offering efficient memory access profile, a Systolic Array (SA) adds fill and drain delays per matrix. Those can be amortized for large matrices but not for small matrices. Conversely, a tensor unit completes the kernel in few cycles but would require repeated reads of same operand tiles over large matrices. This makes SA too slow for signal processing and tensor too inefficient for AI. We show that this need not be a choice between systolic and tensor structuring of Multiply-Accumulate (MAC) units. We propose a single engine that operates primarily as a SA and, through low-cost reconfiguration, transforms into a tensor-style engine on a per-operation basis. MUXes create both the spatial reduction adder tree and temporal reduction accumulators from the existing MACs and registers within the systolic array. The proposed reconfigurable SA simulated using modified SCALE-Sim simulator, verified on an Zynq 702 FPGA and synthesized using ASAP 7nm FinFET library. SCALE-Sim simulations show up to 7.5× lower latency for small complex value PHY kernels. Even on DNN workloads, it achieves up to 1.65× speedups over vanilla SA execution with trivial increase of memory accesses, retaining the systolic array's memory access advantage. Synthesis results estimate reconfigurable fabric costs only 8% power and 13.6% area overheads.
Index Terms—memory access, matrix engine, AI accelerator.
I. INTRODUCTION
Systolic Arrays (SA) are one of the most popular structures for implementation of matrix engines, especially for AI accelerators [1]. In mobile devices, both physical-layer baseband processing and neural-network inference are dominated by matrix arithmetic. Most DNN computations, including convolutional, fully connected, and attention layers, are commonly lowered to GEMM [1]. Similarly, wireless operations such as MIMO detection, rely heavily on matrix operations. Hence, supporting both domains on a shared engine becomes increasingly attractive¹.
The two domains, however, place rather different demands on matrix engines. Wireless algorithms often involve serially processed relatively small matrices, under tight real-time constraints, e.g., iterative MIMO decoding composes of successive matrix operations whose results depend on previous computations. DNN workloads, on the other hand, generally involve larger matrices, where high throughput and efficient

Fig. 1. Compute cycles and memory accesses of tensor and systolic engines for small and large GEMMs. Tensor is with full memory bandwidth.
operand reuse are essential, as a large energy portion is spent on moving operands between the memory and compute engines [1]. A 2D systolic array [1] addresses the latter requirement well through its large matrix tile and substantial data reuse. However, its fill-and-drain delays and low utilization become significant for small or irregular matrices, where these overheads cannot be amortized. Tensor units make the opposite trade-off. By organizing MAC units to perform reductions in parallel [3], they substantially reduce the latency of small matrix operations, but sacrifice operand reuse when processing large matrices. Repeated fetching of same tiles increases memory energy consumption [1], as memory access can be up to more expensive than arithmetic [1].
As illustrated in Fig. 1, the tensor engine offers substantial latency advantages for small GEMMs, while its advantage diminishes for larger matrices despite retaining considerably higher memory traffic. Neither organization is therefore efficient across both workload domains.
This paper proposes a reconfigurable matrix engine, depicted in Fig. 2, in which the same MAC units can operate either as a systolic array or as a tensor-style engine, without changing the peripheral memory system or interfaces. Unlike conventional systolic reshaping, the proposed organization changes how the reduction dimension is realized, allowing per-operation selection between low-latency tensor execution and high-reuse systolic execution.
A. Application Domains
Wireless physical layer: Many physical-layer algorithms reduce to small dense matrix operations. For example, linear massive MIMO detection [4] forms the Gram matrix
¹This work has been filed for a patent early 2026 [2].

Fig. 2. The MAC units can be configured in tensor-style or and in 2D SA.
(), matched-filter vector (), followed by inversion or an approximation such as a Neumann series. All relatively small GEMM operations that are serialized. Precoding and channel estimation similarly rely on small sequential GEMMs. Complex-valued kernels can be mapped to real-valued GEMMs through the [Re, -Im; Im, Re] embedding. Compared with DNN workloads, wireless domain matrices are typically smaller, but must often require much tighter per operation latency constraints.
DNN inference: DNN inference is also dominated by matrix multiplication. Convolutional, fully connected layers and attention are commonly lowered to GEMM [1]. Matrix dimensions can vary substantially across layers and models. Batch size further changes the matrix shape, usually for benefit of higher throughput at the cost of higher latency. Thus, DNN workloads contain both large reuse-dominated GEMMs and smaller operations for which array utilization and latency become important.
B. Matrix Engines
Tensor units: Tensor engines such as NVIDIA Tensor Cores and the Ascend Cube [3] execute small dense matrix multiplications with parallelism across the reduction dimension. Instead of propagating operands through a 2-D wavefront as in SAs, multiple products along are generated concurrently and reduced through an adder network. This removes most of the systolic fill-and-drain latency, at the cost of smaller tile size (see Fig. 1). Total multiplications and adders count is equal to that of an SA. Adder performs spatial reduction, and temporal reduction based on an output-stationary (OS) dataflow.
Systolic Arrays: In this work we consider OS systolic array, while the results are applicable to weight stationary and input stationary flavors as well. In an output-stationary systolic array, each processing element accumulates one output while operands propagate along the rows and columns. Each GEMM tile incurs a fill and drain overhead in addition to computation. This is amortized for large GEMMs, i.e., with large reduction, but becomes significant when the mapped dimensions are small relative to the array.
C. Related works: Reconfigurable Systolic Arrays
Several architectures have addressed the utilization loss of fixed-size systolic arrays by reconfiguring their shape or dataflow. FlexSA [5] partitions a large systolic array into smaller parallel sub-arrays, while ReDas [6] enables finer-grained reshaping and multiple systolic dataflows through

Fig. 3. The internal routing in PE of SA (a) requires just few reconfiguration fabric (as MUXes or transmission gates) for adder tree of a Tensor core (b).
additional PE routing. However, these approaches are less effective for small, sequentially dependent GEMMs, common in wireless algorithms, where limited parallelism leaves many MAC units underutilized. Our approach reconfigures the reduction dimension itself, enabling low-latency execution of individual small GEMMs, not just improve utilization.
III. RECONFIGURABLE MATRIX ENGINE
The same MAC units of a systolic array (SA) can either form a large 2D systolic plane or be reorganized into smaller planes with parallelism along the reduction dimension , forming a tensor-style so called 3D engine [3]. Unlike conventional systolic reshaping, the proposed reconfiguration changes how the reduction dimension is realized by forming a spatial reduction tree from existing SA resources.
In our configuration, a SA is reconfigured into a tensor engine using the same 4096 MACs. The SA accepts 64 elements per operand per cycle, whereas a tensor operation requires two operand tiles, supplied over four cycles through the shared interface. The SA's skew buffer is reused for tensor operand buffering, while existing accumulators on SA form the spatial and temporal reduction tree. For complex-valued PHY operations, local complex-to-real expansion further reduces operand loading to two cycles.
Restricting tensor mode to the SA bandwidth requires minimal hardware modifications but limits MAC utilization compared to an unrestricted tensor engine. Nonetheless, even with this restriction, tensor mode substantially reduces the latency of small kernels, particularly complex-valued operations.
- Organization: Figures 2,3 and 4 depict the two organizations using an SA reconfigurable into a tensor engine for illustration simplicity. In the actual implementation, the SA is reorganized into sixteen planes along the reduction dimension . Each plane receives the corresponding column of and row of , generating products that are summed through a spatial reduction tree.
As illustrated in Figs. 3 and 4, reconfiguration is achieved through three sets of routing fabrics, shown in Fig. 4 top right. Notice the depiction assumes a SA is reconfigured to tensor. Notice the and here refer to physical array's dimensions not matrix sizes. Our implementation restricts both modes to SA's interface. Routing fabrics are mainly 2:1 multiplexers here. The first set controls operand routing, switching between systolic streaming and tensor-style broadcasting. The second changes the accumulation structure, i.e., in systolic mode, each PE accumulates partial results over

Fig. 4. Top view of integration of systolic and tensor cores as reconfigurable engine (64 MAC example) with MUXes shows as reconfiguration fabric.
time using its adder-register pair, whereas in tensor mode, the existing adders are interconnected to form a spatial reduction tree across the planes, see Fig 3. The third controls output routing, as systolic results leave the array row by row, while tensor mode produces a complete output tile that is transferred through the shared output interface over multiple cycles. All routing configurations are controlled by a single mode bit distributed across the array.
- Timing, memory access and shared interface: Both modes share the same memory interface, with bandwidth determined by the systolic array. Consequently, tensor mode must load its operand tiles over multiple cycles rather than in a single cycle, limiting its performance compared to an unrestricted tensor engine. Nevertheless, by exploiting parallelism along the reduction dimension, tensor mode substantially reduces the execution latency of small GEMMs despite the shared bandwidth constraints. For an GEMM, cycles each engine take are:
- Operand traffic: Each engine reads valid operand elements only so edge padding is not fetched and invalid outputs are not written. The SA reads every A element once per column fold and every B element once per row fold and tensor mode with 16-element granularity:
Since , tensor mode never moves fewer operands than systolic mode. Tensor approaches when both dimensions are large. Equations (1) to (5) show why one structure cannot serve both application domains.
- Mode selection: The compiler or scheduler selects the mode per operations known at compile time or at dispatch. The selection policy in this paper is to take the mode with

Fig. 5. Complex wireless PHY matrix operations. The lowest latency mode is selected for reconfigurable. SA does not perform well for PHY.
fewer cycles and if the engine is within 10%, take whichever has fewer accesses by Eq. (3) and (4) and the assume one cycle per transition after pipeline completion.
Finally, for complex matrices, the restricted bandwidth of the SA in tensor mode can be mitigated, by generating the larger real matrices locally from the real and imaginary components of the complex inputs. This small modification is particularly useful for wireless PHY processing, which predominantly involves complex-valued matrices. This reduces number of cycles to load a new matrix to halve:
IV. METHODOLOGY
To measure performance across different workloads, the SCALE-Sim simulator [7] was used. Workloads consists of common telecom jobs and various DNN models. Also, to estimate the routing overhead introduced by reconfiguration, a conventional tensor core, a systolic array, and the proposed reconfigurable array were described in HDL and synthesized and functionality verified.
All cycle and access counts are produced by SCALE-Sim. Systolic mode uses the stock output-stationary SA model with a array, 64KB operand and output scratchpads, and the default bandwidth estimation memory model [7]. Tensor mode is added as a new compute engine such that it consumes matrices for a tensor with a four cycle pipeline, while the unmodified scratchpad, DRAM prefetch and stall machinery serves all investigated organizations [3], hence, memory interconnect bandwidth is assumed to be limited to that of SA. Valid SRAM operand reads and output writes are counted and register accesses are ignored. In systolic mode, edge tiles do not retain their full cycle cost and idle lanes do not issue null requests as it is common in practice. This emulates behavior of mentioned reconfigurable SAs, e.g., [5]. Analytical cycles may match with SCALE-Sim's report when there are no memory stalls due to small size of problem.
The selected wireless and AI workloads represent different requirements on the matrix engine. Wireless kernels assume

Fig. 6. AI GEMM workloads on different engines. Share of SA and tensor operation are noted as Systolic/Tenser.
64 antennas and 8 users unless otherwise stated. Various DNN workloads, lowered according to SCALE-Sim's convention ( output pixels, filters, and receptive field), were selected to demonstrate that the solution also benefits conventional AI workloads while retaining its efficiency for large matrix operations.
V. EVALUATION AND DISCUSSION
Performance and memory accesses were evaluated using SCALE-Sim. The design was first functionally verified on an FPGA with results of synthesis in a 7-nm process reported.
-
Wireless kernels: Figure 5 presents per-kernel results under the same memory-interface constraint. For latency-critical wireless PHY operations, tensor mode reduces latency by . However, for larger matrices, systolic execution remains faster which of course is due to memory-interface restriction on tensor. The reconfigurable is the lowest of two modes. However, limited bandwidth tensor remain competitive to unlimited bandwidth tensor version for complex-valued operations, as local complex-to-real expansion reduces input and output transfers from four to two cycles each, further improving tensor-mode efficiency under limited bandwidth. The reported results cover only matrix multiplications.
-
Neural networks: Figure 6 presents topology-level results. Although the primary motivation of this work is to enable SAs to meet the latency demands of wireless kernels, the results interestingly show that per-operation reconfiguration also improves DNN performance over conventional SAs, with only a small increase in SRAM accesses for most workloads. The benefits are particularly evident in MobileNet, YOLO-tiny, and low batch Fully Connected (FC). For large batch size SA turns out to benefit over tensor and hence reconfigurable array is kept configured to SA mode. For larger, convolution-dominated workloads, such as ResNet-50, the policy retains SA execution, preserving performance and memory efficiency.
-
Synthesis Results: The design first was verified functionally on a Zynq SoC FPGA then synthesized for 8-bit integer

Fig. 7. Synthesis results of the reconfigurable engine.
[8] using OpenROAD tool (see Fig. 7). Note, the numbers only include datapath and not memory access.
- Discussion: The results in Fig. 5 and Fig. 6 reflect an example mode selection policy that can be tuned to favor performance or energy efficiency. For overheads, note all engines use INT8 arithmetic; higher-precision and multiple data type support substantially reduce the relative overheads. Assuming 5 pJ/byte access cost to a 64KB SRAM [1], SA consumes less total energy than the tensor per ResNet-50 inference. Reconfigurable maintains this advantage while enabling low latency of the tensor.
VI. CONCLUSION
The proposed reconfigurable engine combines the advantages of both organizations, retaining the SA's memory efficiency for large AI workloads while providing low-latency tensor execution for small PHY operations. With modest hardware overhead, it enables systolic-array-based accelerators in mobile devices to support both AI inference and wireless baseband processing on a shared compute engine. It also benefits low-batch-size AI inference, extending the applicability to a wider range of edge AI applications.
REFERENCES
[1] T. Krishna, H. Kwon, A. Parashar, M. Pellauer, and A. Samajdar, "Data orchestration in deep learning accelerators," 2020. [2] M. Safarpour and H. Dicander, "Reconfigurable processing elements for matrix multiplication," Patent, 2026, filed Feb. 2026. (Pending patent). [3] Y. Tang and C.-l. Wang, "Performance modeling on davinci ai core," Journal of Parallel and Distributed Computing, vol. 175, pp. 134–149, 2023. [4] J. Hoydis, F. A. Aoudia, A. Alkhateeb, S. Cammerer et al., "Toward a 6G AI-native air interface," IEEE Commun. Mag., vol. 59, no. 5, pp. 76–81, 2021. [5] S. Lym and M. Erez, "Flexsa: Flexible systolic array architecture for efficient pruned dnn model training," arXiv preprint arXiv:2004.13027, 2020. [6] M. Han, L. Wang, L. Xiao, T. Cai, Z. Wang, X. Xu, and C. Zhang, "Redas: A lightweight architecture for supporting fine-grained reshaping and multiple dataflows on systolic array," IEEE Transactions on Computers, vol. 73, no. 8, pp. 1997–2011, 2024. [7] R. Raj, S. Banerjee, N. Chandra, Z. Wan, J. Tong, A. Samajdhar, and T. Krishna, "Scale-sim v3: A modular cycle-accurate systolic accelerator simulator for end-to-end system analysis," in 2025 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). IEEE, 2025, pp. 186–200. [8] L. T. Clark, V. Vashishtha, L. Shifren, A. Gujja, S. Sinha, B. Cline, C. Ramamurthy, and G. Yeric, "Asap7: A 7-nm finfet predictive process design kit," Microelectronics Journal, vol. 53, pp. 105–115, 2016.