HADES: A Programmable Processing-Near-Memory Engine for Binary Similarity Search
Pranav M
Abstract
Moving operands to a processor can cost more than the arithmetic performed on them, and for small binary similarity and search workloads data movement can dominate. We present HADES, a programmable processing-near-memory engine built around one shared 32x32-bit 2R1W register-file macro that holds both data and program. Twelve 16-bit opcodes, three working registers and a 32-slot program express ten search workloads in 8 to 19 slots, and SCANP and SCANSEL shorten dual-row and selected scans. A post-layout 2x2 Tiny Tapeout implementation closes timing at 40 MHz with 26,968 square microns of standard cells beside a 15,744 square microns macro. All HADES results come from RTL or gate-level simulation of this implementation, and HADES energy is estimated. Against ESP8266 and ESP32 microcontrollers running plain C, and with an ideal host, HADES answers a resident query 10x to 32x and 2.2x to 11x faster, respectively. End to end, it wins at the evaluated batch sizes of B = 16 and B = 256 against both boards and loses the single-query (B = 1) runs to the ESP32. An Arduino Nano runs a restricted subset. Kernel power stays within about 2% of a spin loop on all three boards. These results hold for plain-C baselines under the evaluated conditions. At this scale the control and instruction storage fit around a shared memory macro, while the byte-wide interface and the loading path remain significant costs.
Create a lesson
Related papers
A Hybrid GPU and Processing-Near-Memory Architecture with Shared DRAM for Efficient Prefill-Decode Disaggregation
Shared title terminology · Sanghyeok Han, Inseong Choi, Byungkuk Yoon et al.
RE-CAM: Readout-Enhanced Content-Addressable Memory for Quantitative Similarity Search
Shared title terminology · Yi-Chun Liao, Dongyoung Lee, Jiazheng Chen et al.
Scalable fault vulnerability analysis for ReRAM-based process-in-memory CNN accelerators
Shared title terminology · Aniseh Dorostkar, Hamed Farbeh, Hamid R. Zarandi et al.
CAIMS: Scalable Cross-Array In-Memory Search
Shared title terminology · Yi-Chun Liao, Liu Liu, Ruiyang Qin et al.
HETEROVLM: Edge Multi-Request Vision-Language Model Serving on a Heterogeneous Versal SoC with AI Engines and Programmable Logic
Shared title terminology · Zhiheng Chen, Yu-An Chou, Yifan Zhang et al.
DiffusionSSD: Achieving Extreme Visual Compression with Dual-stage Diffusion and Cross-level Near-Data Processing
Shared title terminology · Kuai Yu, Wen Li, Shengwen Liang et al.