ReDas: A Lightweight Architecture for Supporting Fine-Grained Reshaping and Multiple Dataflows on Systolic Array
Meng Han, Liang Wang, Limin Xiao, Tianhao Cai, Zeyu Wang, Xiangrong Xu, Chenhao Zhang
TL;DR
ReDas addresses the inefficiency of fixed systolic arrays by introducing a lightweight, flexible accelerator that supports fine-grained reshaping and multiple dataflows via reconfigurable roundabout data paths and four surrounding multi-mode buffers. A dedicated mapping engine with an analytical model and interval sampling enables efficient layer-by-layer configuration, achieving up to $4.6\times$ speedup and $8.3\times$ EDP reduction over a conventional systolic array, while offering favorable area and power performance against prior flexible designs. The approach delivers high PE utilization across diverse DNN workloads and demonstrates practical viability through eight benchmarks and extensive comparisons to TPUv2, Gemmini, Planaria, DyNNamic, and SARA. This architecture promises notable improvements in DNN acceleration by balancing flexibility, latency, and energy with moderate hardware overhead.
Abstract
The systolic accelerator is one of the premier architectural choices for DNN acceleration. However, the conventional systolic architecture suffers from low PE utilization due to the mismatch between the fixed array and diverse DNN workloads. Recent studies have proposed flexible systolic array architectures to adapt to DNN models. However, these designs support only coarse-grained reshaping or significantly increase hardware overhead. In this study, we propose ReDas, a flexible and lightweight systolic array that supports dynamic fine-grained reshaping and multiple dataflows. First, ReDas integrates lightweight and reconfigurable roundabout data paths, which achieve fine-grained reshaping using only short connections between adjacent PEs. Second, we redesign the PE microarchitecture and integrate a set of multi-mode data buffers around the array. The PE structure enables additional data bypassing and flexible data switching. Simultaneously, the multi-mode buffers facilitate fine-grained reallocation of on-chip memory resources, adapting to various dataflow requirements. ReDas can dynamically reconfigure to up to 129 different logical shapes and 3 dataflows for a 128x128 array. Finally, we propose an efficient mapper to generate appropriate configurations for each layer of DNN workloads. Compared to the conventional systolic array, ReDas can achieve about 4.6x speedup and 8.3x energy-delay product (EDP) reduction.
