Nowadays, shallow and deep Neural Networks (NNs) have vast applications including biomedical engineering, image processing, computer vision, and speech recognition. Many researchers have developed hardware accelerators including field-programmable gate arrays (FPGAs) for implementing high-performance and energy efficient NNs. Apparently, the hardware architecture design process is specific and time-consuming for each NN. Therefore, a systematic way to design, implement and optimize NNs is highly demanded. The paper presents a systematic approach to implement state-space models in register transfer level (RTL), with special interest for NN implementation. The proposed design flow is based on the iterative nature of state-space models and the analogy between state-space formulations and finite-state machines. The method can be used in linear/nonlinear and time-varying/time-invariant systems. It can also be used to implement either intrinsically iterative systems (widely used in various domains such as signal processing, numerical analysis, computer arithmetic, and control engineering), or systems that could be rewritten in equivalent iterative forms. The implementation of recurrent NNs such as long short-term memory (LSTM) NNs, which have intrinsic state-space forms, are another major applications for this framework. As a case study, it is shown that state-space systems can be used for the systematic implementation and optimization of NNs (as nonlinear and time-varying dynamic systems). An RTL code generating software is also provided online, which simplifies the automatic generation of NNs of arbitrary size.
翻译:目前,浅层和深层神经网络(NN)有广泛的应用,包括生物医学工程、图像处理、计算机视觉和语音识别。许多研究人员开发了硬件加速器,包括用于执行高性能和节能NNP的现场可编程门阵列(FPGAs),显然,硬件结构设计过程对每个NN来说是具体和耗时的。因此,非常需要系统化地设计、实施和优化NNNS。本文件提出了在登记传输级别(RTL)中实施州-空间模型的系统化方法,对NNF的实施特别感兴趣。拟议的设计流动基于州-空间模型的迭接性和州-空间配制和限定状态机器之间的类比。该方法可用于线性/非线性和时间变化/时间变化系统。该方法还可用于实施内在迭接系统(在信号处理、数字分析、计算机算算和控制工程等多个领域广泛使用),或者可以以同等的迭接形式重的系统。实施经常性 NNFS(L)的经常性非空间模型是长期的内空系统格式,而该系统化系统化的系统系统系统是另一个运行的系统系统化系统化系统化系统系统系统系统系统。运行系统系统系统系统系统系统,可以用来进行。运行的系统系统系统系统系统。运行的系统是另一个的系统。运行的系统系统系统系统系统系统系统系统系统系统系统系统,可以运行的系统系统系统系统,可以运行式的系统,用于。