arXiv:2610.20109cs.ETOct 2026

Manuscript Offprint

arXiv:2610.20109

Cross-Layer Co-Design of Low-Latency Stateful Logic Adders with Printed Memristors

Fabian Seiler, Kerem Kagan Güclü, Hongrong Hu, Gabriel Cadilha Marques, Jasmin Aghassi-Hagmann, Nima TaheriNejad

Fabian Seiler †,∗^{\dagger,*}, Kerem Kagan Güclü +,∗^{+,*}, Hongrong Hu +^{+}, Gabriel Cadilha Marques +^{+}, Jasmin Aghassi-Hagmann +^{+}, and Nima TaheriNejad †^{\dagger}

†^{\dagger}Heidelberg University, +^{+}Karlsruhe Institute of Technology (KIT)

{firstname.lastname}@ziti.uni-heidelberg.de, {firstname.lastname}@kit.edu

∗^{*}These authors contributed equally

Abstract—Data movement between memory and processing units remains a major bottleneck in data-centric systems. Memristive Stateful Logic (SL) addresses this problem by performing Boolean operations directly on stored resistive states. However, arithmetic efficiency depends jointly on the device-supported logic primitive set, the dependency structure of the resulting operation sequence, and its mapping to datapath architectures. While prior designs typically optimize device, logic, and architecture layers separately, we jointly consider them to co-design a stateful adder. We experimentally demonstrate a mixed MAGIC and FELIX logic primitive set on printed Electrochemical Metallization (ECM) memristors and derive a full adder sequence optimized for inter-bit carry propagation. Mapping this sequence to bit-serial, bit-parallel, and bit-pipelined datapaths reduces the latter two to 2n+62n+6 cycles for an n-bit addition. For 32-bit addition, this requires 60–88% fewer cycles than prior SL adders. Across four representative workloads, we achieve 3.7×−16.4×3.7\times-16.4\times speedup over prior. These results show how cross-layer co-design can translate into improved workload-level performance.

I. INTRODUCTION

Modern data-centric workloads are increasingly constrained by the energy and latency costs of moving data between memory and processing units [1], [2]. In-Memory Computation (IMC) addresses this bottleneck by performing computation where data resides [3], [4]. Resistive Random Access Memory (RRAM) devices are particularly attractive for IMC, as their non-volatile resistive states provide both storage and computational functionality and enable parallel crossbar operations. While most memristive IMC systems target analog matrix-vector multiplication for neural-network acceleration [5], digital memristive IMC instead employs Stateful Logic (SL) primitives to manipulate stored states directly. This enables deterministic Boolean and arithmetic operations while retaining data inside memory [6]–[8]. Complex arithmetic in SL is decomposed into sequences of dependent Boolean operations. Logic families such as IMPLY [6], MAGIC [9], and FELIX [10] expose different logic primitives, and therefore different arithmetic decompositions. Combining primitives across families is only useful if they are compatible with the same physical device, making the supported primitive set a key constraint on the resulting dependency graph [11], [12]. Addition is particularly sensitive to this interaction because its latency is often dominated by inter-bit carry propagation [13], [14]. At the architectural level, SL datapaths range from bit-serial execution [15] to partitioned and pipelined organizations with different opportunities for parallelism [14], [16]. Consequently, adder efficiency depends not only on the number of operations, but also on how well its carry dependencies match the target datapath. Prior work typically either optimizes arithmetic sequences within a fixed logic family [17]–[22] or maps a fixed primitive set onto a target architecture [14], [16], [23]. This restricts both the available primitive set and the opportunity for datapath-aware sequence co-design. Here, we instead co-design the device-compatible primitive set, full adder sequence, and datapath mapping, and evaluate how these choices translate to workload-level performance.

The main contributions of this work are: i) experimental validation of a device-compatible mixed MAGIC and FELIX primitive set on printed Electrochemical Metallization (ECM) memristors, ii) a datapath-aware full adder algorithm with reduced inter-bit critical path, iii) mappings to bit-serial, bit-parallel, and bit-pipelined datapaths, reducing latency down to 2n+62n + 6 cycles for an n-bit addition, iv) a workload-level comparison showing 3.7×−16.4×3.7 \times -16.4 \times speedup to comparable State-of-the-Art (SoA) adder.

References (26)