[Paper Review] Gemmini: An Agile Systolic Array Generator Enabling Systematic Evaluations of Deep-Learning Architectures
Gemmini is an open-source, agile systolic array generator that creates custom ASIC accelerators for matrix multiplication in deep neural network inference. Integrated with RISC-V and Rocket Chip, it enables systematic design space exploration, achieving 2–3 orders of magnitude speedup over host processors on edge devices using 16nm and 22FFL process technologies.
Advances in deep learning and neural networks have resulted in the rapid development of hardware accelerators that support them. A large majority of ASIC accelerators, however, target a single hardware design point to accelerate the main computational kernels of deep neural networks such as convolutions or matrix multiplication. On the other hand, the spectrum of use-cases for neural network accelerators, ranging from edge devices to cloud, presents a prime opportunity for agile hardware design and generator methodologies. We present Gemmini -- an open source and agile systolic array generator enabling systematic evaluations of deep-learning architectures. Gemmini generates a custom ASIC accelerator for matrix multiplication based on a systolic array architecture, complete with additional functions for neural network inference. Gemmini runs with the RISC-V ISA, and is integrated with the Rocket Chip System-on-Chip generator ecosystem, including Rocket in-order cores and BOOM out-of-order cores. Through an elaborate design space exploration case study, this work demonstrates the selection processes of various parameters for the use-case of inference on edge devices. Selected design points achieve two to three orders of magnitude speedup in deep neural network inference compared to the baseline execution on a host processor. Gemmini-generated accelerators were used in the fabrication of test systems-on-chip in TSMC 16nm and Intel 22FFL process technologies.
Motivation & Objective
- To address the lack of agile, reusable hardware generation methodologies for neural network accelerators targeting diverse use-cases.
- To enable systematic exploration of design trade-offs in systolic array configurations for edge-based deep learning inference.
- To provide a flexible, open-source framework for generating application-specific ASIC accelerators based on systolic arrays.
- To integrate seamlessly with the RISC-V ecosystem, including in-order (Rocket) and out-of-order (BOOM) cores.
- To validate the framework through physical fabrication in TSMC 16nm and Intel 22FFL processes.
Proposed method
- Gemmini generates custom ASIC accelerators using a systolic array architecture optimized for matrix multiplication kernels.
- It is implemented as a generator within the Rocket Chip SoC generator ecosystem, supporting both in-order and out-of-order RISC-V cores.
- The framework supports parameterized design space exploration, allowing tuning of array dimensions, data types, and memory hierarchies.
- It integrates hardware and software co-design, including support for neural network inference workloads.
- The generated accelerators are compiled and synthesized for physical fabrication in 16nm and 22FFL process technologies.
- Design points are evaluated through end-to-end inference benchmarks on edge device workloads.
Experimental results
Research questions
- RQ1How can a systolic array generator be made agile and reusable across diverse deep learning workloads and deployment platforms?
- RQ2What are the optimal systolic array configurations for minimizing latency and energy consumption in edge AI inference?
- RQ3How does the performance of Gemmini-generated accelerators compare to general-purpose processors in real-world edge workloads?
- RQ4To what extent can design space exploration guided by a generator framework reduce time-to-deployment for custom accelerators?
- RQ5Can open-source, generator-based accelerator design achieve hardware performance comparable to hand-optimized ASICs?
Key findings
- Gemmini-generated accelerators achieve 2–3 orders of magnitude speedup in deep neural network inference compared to baseline execution on a host processor.
- The framework successfully enabled the fabrication of test chips in TSMC 16nm and Intel 22FFL process technologies.
- Systematic design space exploration identified optimal configurations for edge inference, balancing area, throughput, and energy efficiency.
- The integration with RISC-V and Rocket Chip enabled seamless hardware-software co-design and deployment.
- The open-source nature of Gemmini facilitates reproducibility and community-driven extension of the accelerator generation pipeline.
- The approach demonstrates that agile, generator-based design can produce accelerators competitive with hand-optimized ASICs for inference workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.