Edge computing devices inherently face tight resource constraints, which is especially apparent when deploying Deep Neural Networks (DNN) with high memory and compute demands. FPGAs are commonly available in edge devices. Since these reconfigurable circuits can achieve higher throughput and lower power consumption than general purpose processors, they are especially well-suited for DNN acceleration. However, existing solutions for designing FPGA-based DNN accelerators for edge devices come with high development overheads, given the cost of repeated FPGA synthesis passes, reimplementation in a Hardware Description Language (HDL) of the simulated design, and accelerator system integration. In this paper we propose SECDA, a new hardware/software co-design methodology to reduce design time of optimized DNN inference accelerators on edge devices with FPGAs. SECDA combines cost-effective SystemC simulation with hardware execution, streamlining design space exploration and the development process via reduced design evaluation time. As a case study, we use SECDA to efficiently develop two different DNN accelerator designs on a PYNQ-Z1 board, a platform that includes an edge FPGA. We quickly and iteratively explore the system's hardware/software stack, while identifying and mitigating performance bottlenecks. We evaluate the two accelerator designs with four common DNN models, achieving an average performance speedup across models of up to 3.5$\times$ with a 2.9$\times$ reduction in energy consumption over CPU-only inference. Our code is available at https://github.com/gicLAB/SECDA
翻译:电离计算装置本身就面临严格的资源限制,这一点在部署记忆和计算要求高的深神经网络(DNNN)时特别明显。 FPGAs通常在边缘装置中提供。由于这些可重新配置的电路可以达到更高的输送量和较低的电力消耗量,因此这些电路对于DNN的加速作用特别合适。然而,设计以FPGA为基础的以FPGA为基础的 DNNNC加速器的现有解决方案具有很高的开发管理费用,因为反复使用FPGA合成通行证、在模拟设计硬件描述语言(HDL)中重新应用HD(HDL)以及加速器系统集成。在本文件中,我们建议SECDDA, 一个新的硬件/软件联合设计方法,以减少与FPGA的优化 DNNE加速器在边缘装置上的设计时间。 SECDA将高成本效益的系统模拟与硬件执行费用结合起来,简化了空间探索和开发过程,减少了设计时间。作为案例研究,我们利用SECDDA节节节节节节中的两个通用的DA-Crealimal-deal-deal-deal-destrestrestrestreal 设计平台在PGADRA 。