Simulation Environment with Customized RISC-V Instructions for Logic-in-Memory Architectures

Jia-Hui Su,Chen-Hua Lu,Jenq Kuen Lee,Andrea Coluccio,Fabrizio Riente,Marco Vacca,Marco Ottavi,Kuan-Hsun Chen
DOI: https://doi.org/10.48550/arXiv.2303.12128
2023-03-27
Abstract:Nowadays, various memory-hungry applications like machine learning algorithms are knocking "the memory wall". Toward this, emerging memories featuring computational capacity are foreseen as a promising solution that performs data process inside the memory itself, so-called computation-in-memory, while eliminating the need for costly data movement. Recent research shows that utilizing the custom extension of RISC-V instruction set architecture to support computation-in-memory operations is effective. To evaluate the applicability of such methods further, this work enhances the standard GNU binary utilities to generate RISC-V executables with Logic-in-Memory (LiM) operations and develop a new gem5 simulation environment, which simulates the entire system (CPU, peripherals, etc.) in a cycle-accurate manner together with a user-defined LiM module integrated into the system. This work provides a modular testbed for the research community to evaluate potential LiM solutions and co-designs between hardware and software.
Hardware Architecture
What problem does this paper attempt to address?