In-Memory Computing Using Formal Methods and Paths-Based Logic

Alvaro VelasquezJournal of International Crisis and Risk Communication Research 2018

Abstract

As CMOS scaling approaches fundamental physical limits, the traditional von Neumann architecture faces significant bottlenecks in energy efficiency and performance. This research investigates a paradigm shift toward in-memory computing using crossbar architectures. By treating electrical current paths as computational primitives and leveraging formal methods for automated synthesis, we demonstrate the ability to perform complex arithmetic and graph operations directly within memory. Our approach yields state-of-the-art efficiency in operation counts and energy consumption, particularly for large-scale graph problems.

Introduction: The Impasse of Traditional Scaling

For decades, Dennard scaling and Moore’s Law fueled exponential growth in computing power. However, we have reached a critical juncture where lithographic limitations and quantum phenomena, such as tunneling and leakage currents, hinder further transistor miniaturization. Simultaneously, the "Memory Wall"—the energy cost of moving data between the CPU and memory—has become the primary bottleneck in modern systems.

In-memory computing offers a solution by performing logic where data resides. This work focuses on crossbar architectures: dense grids of wires connected by two-terminal devices like memristors. While traditional memory design views "sneak paths" (unintended current flows) as a nuisance, this research re-imagines them as the very foundation of logic.

Paths-Based Logic and Formal Synthesis

The core innovation is Paths-Based Logic, a formal theory where Boolean formulas are mapped to crossbar configurations. In this model, a logic function evaluates to true if and only if a path of electric current exists between a source and a destination wire.

To navigate the immense design space of possible crossbar configurations, we utilize Bounded Model Checking (BMC). By using formal verification tools like NuSMV, we can automate the synthesis of logic circuits. This approach is not only more efficient than manual design but also inherently fault-tolerant; the BMC algorithm can be provided with a map of hardware defects (e.g., stuck-at faults) and generate a custom logic layout that bypasses broken components.

Breaking Symmetry: Heterogeneous and 3D Architectures

A significant theoretical finding of this research is that "homogeneous" crossbars—those using only bidirectional switches—are limited in their computational capacity. They cannot, for instance, compute certain variable-input functions like ripple-carry addition. To achieve universal computation, we introduce heterogeneous crossbars that incorporate unidirectional components (diodes) to break symmetry.

Furthermore, the research extends to 3D crossbar architectures. By utilizing multiple layers of interconnects, we can perform Boolean matrix multiplication and graph transitive closure in parallel. This 3D approach allows for Boolean matrix products to be computed in $O(n)$ time, which is theoretically optimal for this hardware model.

Performance and Results

The proposed methods were validated against standard logic benchmarks and large-scale graph datasets from the Stanford Large Network Data Collection (e.g., roadNet-PA and com-Youtube).

  • Logic Efficiency: The synthesized 1-bit full adder requires only 7 execution steps, a significant improvement over existing memristor-based designs that typically require between $15n$ and $29n$ steps.
  • Energy Savings: For graph transitive closure, the 3D architecture processes networks with tens of thousands of nodes using just 1.225 nJ—less energy than a single DRAM access in a traditional architecture.
  • Density: Simulation results using the DESTINY tool indicate that a 32 GB memory module using this 3D ReRAM approach would occupy a mere 33.76 mm² in 22nm technology.

Conclusion and Future Outlook

While challenges remain—specifically the computational cost of BMC for large-scale synthesis and the fabrication complexity of multi-layer 3D crossbars—this research provides a robust framework for the next generation of computing. By merging formal methods with novel hardware primitives, we can move beyond the limitations of CMOS and the von Neumann bottleneck, enabling highly efficient, fault-tolerant, and dense computational systems.

Summary updated

BibTeX
@article{velasquez2018memory,
  author = {Alvaro Velasquez},
  title = {{In-Memory Computing Using Formal Methods and Paths-Based Logic}},
  journal = {Journal of International Crisis and Risk Communication Research},
  year = {2018},
}
Figure