Citation: | Zhao Anning, Xu Nuo, Liu Kang, Luo Li, Pan Bingzheng, Bo Ziyi, Tan Chenghao. The Synthesis of Multiple Stateful Logic Gates for In-memory Computing with Low Wear[J]. Journal of Computer Research and Development, 2025, 62(3): 620-632. DOI: 10.7544/issn1000-1239.202440627 |
By merging the functions of Boolean logic and non-volatile memory, memristive stateful logic can achieve the real sense of in-memory computing through eliminating data movement during computation, which breaks the “memory wall” and “energy wall” of traditional von Neumann computing system. In recent years, a series of the memristor-based in-memory stateful logic gates have been proposed by linking the conditional switching process and mathematical logic function, whose functions cover multiple logic functions such as IMP, NAND, NOR, and NIMP etc. However, the automated synthesis and mapping method for implementing the in-memory complex stateful logic computation by cascading the stateful logic gates is still embryonic, especially lacking the investigations on the device wear, which limits the application of in-memory stateful logic in edge computing scenarios. To reduce the device wear (toggle rate) in a complex in-memory stateful logic computation process, we propose a stateful logic synthesis and mapping process based on multiple stateful logic gates for low-wear in-memory computing. Compared with the two state-of-art stateful logic synthesis and mapping tools of SIMPLER MAGIC and LOSSS, the proposed low-wear logic synthesis and mapping process achieves an average improvement of over 35.55% and 8.48% in the toggle rates respectively under the EPFL combinational benchmark circuits. Moreover, the proposed tool achieves an average improvement of over 47.26% and 6.72% in the toggle rates respectively under the LGSynth91 benchmark circuits.
[1] |
Wulf W A, McKee S A. Hitting the memory wall: Implications of the obvious[J]. ACM SIGARCH Computer Architecture News, 1995, 23(1): 20−24 doi: 10.1145/216585.216588
|
[2] |
丁文隆,汪承宁,童薇. 基于自选尾数压缩的高能效浮点忆阻存内处理系统[J]. 计算机研究与发展,2022,59(3):533−552 doi: 10.7544/issn1000-1239.20210580
Ding Wenlong, Wang Chengning, Tong Wei. Energy-efficient floating-point memristive in-memory processing system based on self-selective mantissa compaction[J]. Journal of Computer Research and Development, 2022, 59(3): 533−552 (in Chinese) doi: 10.7544/issn1000-1239.20210580
|
[3] |
魏正,张兴军,卓志敏,等. 基于近端策略优化的阻变存储硬件加速器自动量化[J]. 计算机研究与发展,2022,59(3):518−532
Wei Zheng, Zhang Xingjun, Zhuo Zhimin, et al. PPO-based automated quantization for ReRAM-based hardware accelerator[J]. Journal of Computer Research and Development, 2022, 59(3): 518−532 (in Chinese)
|
[4] |
张章,施刚,王启帆,等. 基于SRAM和NVM的存内计算技术综述[J]. 计算机研究与发展,2024,61(12):2937−2951
Zhang Zhang, Shi Gang, Wang Qifan, et al. Survey of in-memory computing technology based on SRAM and non-volatile memory[J]. Journal of Computer Research and Development, 2024, 61(12): 2937−2951(in Chinese)
|
[5] |
Xu Nuo, Park T, Yoon K J, et al. In-memory stateful logic computing using memristors: Gate, calculation, and application[J]. Physica Status Solidi (RRL)–Rapid Research Letters, 2021, 15(9): 2100208 doi: 10.1002/pssr.202100208
|
[6] |
Borghetti J, Snider G S, Kuekes P J, et al. ‘Memristive’switches enable ‘stateful’logic operations via material implication[J]. Nature, 2010, 464(7290): 873−876 doi: 10.1038/nature08940
|
[7] |
Gaillardon P E, Amarú L, Siemon A, et al. The programmable logic-in-memory (PLiM) computer[C]//Proc of the 19th Design, Automation & Test in Europe Conf & Exhibition (DATE). Piscataway, NJ: IEEE, 2016: 427−432
|
[8] |
Hu Yihong, Xu Nuo, Feng Chaochao, et al. LOSSS-logic synthesis based on several stateful logic gates for high time-efficient computing[C]//Proc of the 29th Asia and South Pacific Design Automation Conf (ASP-DAC). Piscataway, NJ: IEEE, 2024: 805−811
|
[9] |
Huang Peng, Kang Jinfeng, Zhao Yudi, et al. Reconfigurable nonvolatile logic operations in resistance switching crossbar array for large-scale circuits[J]. Advanced Materials, 2016, 28(44): 9758−9764 doi: 10.1002/adma.201602418
|
[10] |
Talati N, Gupta S, Mane P, et al. Logic design within memristive memories using memristor-aided logic (MAGIC)[J]. IEEE Transactions on Nanotechnology, 2016, 15(4): 635−650 doi: 10.1109/TNANO.2016.2570248
|
[11] |
Xu Nuo, Park T G, Kim H J, et al. A stateful logic family based on a new logic primitive circuit composed of two antiparallel bipolar memristors[J]. Advanced Intelligent Systems, 2020, 2(1): 1900082 doi: 10.1002/aisy.201900082
|
[12] |
Seok J Y, Song S J, Yoon J H, et al. A review of three‐dimensional resistive switching cross‐bar array memories from the integration and materials property points of view[J]. Advanced Functional Materials, 2014, 24(34): 5316−5339 doi: 10.1002/adfm.201303520
|
[13] |
Ronen R, Eliahu A, Leitersdorf O, et al. The bitlet model: A parameterized analytical model to compare PIM and CPU systems[J]. ACM Journal on Emerging Technologies in Computing Systems, 2022, 18(2): 1−29
|
[14] |
Leitersdorf O, Leitersdorf D, Gal J, et al. AritPIM: High-throughput in-memory arithmetic[J]. IEEE Transactions on Emerging Topics in Computing, 2023, 11(3): 720−735 doi: 10.1109/TETC.2023.3268137
|
[15] |
Hur R B, Ronen R, Haj-Ali A, et al. SIMPLER MAGIC: Synthesis and mapping of in-memory logic executed in a single row to improve throughput[J]. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2019, 39(10): 2434−2447
|
[16] |
Adam G C, Hoskins B D, Prezioso M, et al. Optimized stateful material implication logic for three-dimensional data manipulation[J]. Nano Research, 2016, 9(12): 3914−3923 doi: 10.1007/s12274-016-1260-1
|
[17] |
Sun Zhong, Ambrosi E, Bricalli A, et al. Logic computing with stateful neural networks of resistive switches[J]. Advanced Materials, 2018, 30(38): 1802554 doi: 10.1002/adma.201802554
|
[18] |
Bürger J, Teuscher C, Perkowski M. Digital logic synthesis for memristors[C]// Proc of the 11th Reed-Muller Workshop. Los Alamitos, CA: IEEE Computer Society, 2013: 31−40
|
[19] |
Hur R B, Wald N, Talati N, et al. SIMPLE MAGIC: Synthesis and in-memory mapping of logic execution for memristor-aided logic[C]// Proc of the 36th IEEE/ACM Int Conf on Computer-Aided Design (ICCAD). Piscataway, NJ: IEEE, 2017: 225−232
|
[20] |
Tenace V, Rizzo R G, Bhattacharjee D, et al. SAID: A supergate-aided logic synthesis flow for memristive crossbars[C]//Proc of the 22nd Design, Automation & Test in Europe Conf & Exhibition (DATE). Piscataway, NJ: IEEE, 2019: 372−377
|
[21] |
Bhattacharjee D, Chattopadhyay A, Dutta S, et al. CONTRA: Area-constrained technology mapping framework for memristive memory processing unit[C/OL]//Proc of the 39th Int Conf on Computer-Aided Design. Los Alamitos, CA: IEEE Computer Society, 2020[2024-01-22]. https://dl.acm.org/doi/10.1145/3400302.3415681
|
[22] |
Peled N, Hur R B, Ronen R, et al. X-MAGIC: Enhancing PIM using input overwriting capabilities[C]//Proc of the 28th IFIP/IEEE Int Conf on Very Large Scale Integration (VLSI-SOC). Piscataway, NJ: IEEE, 2020: 64−69
|
[23] |
Zou Minhui, Zhou Junlong, Sun Jin, et al. Improving efficiency and lifetime of logic-in-memory by combining IMPLY and MAGIC families[J]. Journal of Systems Architecture, 2021, 119(C): 102232
|
[24] |
Gupta S, Imani M, Rosing T. Felix: Fast and energy-efficient logic in memory[C/OL]//Proc of the 37th IEEE/ACM Int Conf on Computer-Aided Design (ICCAD). Piscataway, NJ: IEEE, 2018[2024-01-28]. https://doi.org/10.1145/3240765.3240811
|
[25] |
Gharpinde R, Thangkhiew P L, Datta K, et al. A scalable in-memory logic synthesis approach using memristor crossbar[J]. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2017, 26(2): 355−366
|
[26] |
Zhu Zhenhua, Ma Mingyu, Liu Jialong, et al. A general logic synthesis framework for memristor-based logic design[C/OL]//Proc of the 38th IEEE/ACM Int Conf on Computer-Aided Design (ICCAD). Piscataway, NJ: IEEE, 2019[2024-02-15]. https://ieeexplore.ieee.org/document/8942111
|
[27] |
Chakraborti S, Chowdhary P V, Datta K, et al. BDD based synthesis of Boolean functions using memristors[C]//Proc of the 9th Int Design and Test Symp (IDT). Piscataway, NJ: IEEE, 2014: 136−141
|
[28] |
Chattopadhyay A, Rakosi Z. Combinational logic synthesis for material implication[C]//Proc of the 19th IEEE/IFIP Int Conf on VLSI and System-on-Chip. Piscataway, NJ: IEEE, 2011: 200−203
|
[29] |
Raghuvanshi A, Perkowski M. Logic synthesis and a generalized notation for memristor-realized material implication gates[C]//Proc of the 33rd IEEE/ACM Int Conf on Computer-Aided Design (ICCAD). Piscataway, NJ: IEEE, 2014: 470−477
|
[30] |
Marranghello F S, Callegaro V, Reis A I, et al. SOP based logic synthesis for memristive IMPLY stateful logic[C]//Proc of the 33rd IEEE Int Conf on Computer Design (ICCD). Piscataway, NJ: IEEE, 2015: 228−235
|
[31] |
Jiang Zizhen, Yu Shimeng, Wu Yi, et al. Verilog-A compact model for oxide-based resistive random access memory (RRAM)[C]//Proc of the 23rd Int Conf on Simulation of Semiconductor Processes and Devices (SISPAD). Piscataway, NJ: IEEE, 2014: 41−44
|
[32] |
Amarú L, Gaillardon P E, De Micheli G. The EPFL combinational benchmark suite[C/OL]//Proc of the 24th Int Workshop on Logic & Synthesis (IWLS). Los Alamitos, CA: IEEE Computer Society, 2015[2024-02-18]. https://infoscience.epfl.ch/entities/publication/309aea67-b5a1-4532-8a6f-0a141d8f1ab3
|
[33] |
Yang S. Logic synthesis and optimization benchmarks user guide version 3.0[R]. Durham, NC: Microelectronics Center of North Carolina (MCNC), 1991
|
[1] | Wu Tianxing, Cao Xudong, Bi Sheng, Chen Ya, Cai Pingqiang, Sha Hangyu, Qi Guilin, Wang Haofen. Constructing Health Management Information System for Major Chronic Diseases Based on Large Language Model[J]. Journal of Computer Research and Development. DOI: 10.7544/issn1000-1239.202440570 |
[2] | Zhao Yun, Liu Dexi, Wan Changxuan, Liu Xiping, Liao Guoqiong. Mental Health Text Matching Model Integrating Characters’ Mental Portrait[J]. Journal of Computer Research and Development, 2024, 61(7): 1812-1824. DOI: 10.7544/issn1000-1239.202220987 |
[3] | Fu Tao, Chen Zhaojiong, Ye Dongyi. GAN-Based Bidirectional Decoding Feature Fusion Extrapolation Algorithm of Chinese Landscape Painting[J]. Journal of Computer Research and Development, 2022, 59(12): 2816-2830. DOI: 10.7544/issn1000-1239.20210830 |
[4] | Gan Xinbiao, Tan Wen, Liu Jie. Bidirectional-Bitmap Based CSR for Reducing Large-Scale Graph Space[J]. Journal of Computer Research and Development, 2021, 58(3): 458-466. DOI: 10.7544/issn1000-1239.2021.20200090 |
[5] | Zhou Donghao, Han Wenbao, Wang Yongjun. A Fine-Grained Information Diffusion Model Based on Node Attributes and Content Features[J]. Journal of Computer Research and Development, 2015, 52(1): 156-166. DOI: 10.7544/issn1000-1239.2015.20130915 |
[6] | Li Yaxiong, Zhang Jianqiang, Pan Deng, Hu Dan. A Study of Speech Recognition Based on RNN-RBM Language Model[J]. Journal of Computer Research and Development, 2014, 51(9): 1936-1944. DOI: 10.7544/issn1000-1239.2014.20140211 |
[7] | Huang He, Sun Yu'e, Chen Zhili, Xu Hongli, Xing Kai, Chen Guoliang. Completely-Competitive-Equilibrium-Based Double Spectrum Auction Mechanism[J]. Journal of Computer Research and Development, 2014, 51(3): 479-490. |
[8] | Zhu Feng, Luo Limin, Song Yuqing, Chen Jianmei, Zuo Xin. Adaptive Spatially Neighborhood Information Gaussian Mixture Model for Image Segmentation[J]. Journal of Computer Research and Development, 2011, 48(11): 2000-2007. |
[9] | Ma Xiao, Wang Xuan, and Wang Xiaolong. The Information Model for a Class of Imperfect Information Game[J]. Journal of Computer Research and Development, 2010, 47(12). |
[10] | Ma Liang, Chen Qunxiu, and Cai Lianhong. An Improved Model for Adaptive Text Information Filtering[J]. Journal of Computer Research and Development, 2005, 42(1): 79-84. |