원시데이터 수집 시스템
선정목록으로

Improving Characteristics of LUT-Based Moore FSMs

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Alexander Barkalov — Faculty of Computer, Electrical, and Control Engineering, Institute of Metrology, Electronics, and Computer Science, University of Zielona Góra, Zielona Góra, Poland
  2. Larysa Titarenko — Faculty of Computer, Electrical, and Control Engineering, Institute of Metrology, Electronics, and Computer Science, University of Zielona Góra, Zielona Góra, Poland
  3. Sławomir Chmielewski — Institute of Science and Technology, State University of Applied Sciences in Głogów, Głogów, Poland
DOI
10.1109/access.2020.3006732
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
12
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3006732
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W3039593509

평가 내용

관련도
관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Almost any digital system includes sequential blocks which can be represented using a model of finite state machine (FSM). It is very important to improve such characteristics of FSM circuits as the number of logic elements, operating frequency and consumed energy. The paper proposes a novel design method targeting a decrease in the number of look-up table (LUT) elements in logic circuits of FPGA-based Moore FSMs. The method is based on using two sets of variables for encoding the collections of outputs. It results in a partition of the set of outputs by two blocks. The outputs from the first block depend on state variables, the outputs from the second block on additional variables. A method is proposed for splitting the set of outputs. The conditions for using the proposed method are given. An example of synthesis is shown. The results of experiments with standard benchmarks are discussed. The experiments outcomes show that the proposed approach allows diminishing the number of LUTs and consumed energy. Also, it leads to an increase in the operating frequency. The method targets rather complex FSMs when the number of state variables exceeds the number of LUT's inputs.

본문 55,245자

본문 펼치기
Received June 4, 2020, accepted June 29, 2020, date of publication July 2, 2020, date of current version September 4, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.3006732_ # Improving Characteristics of LUT-Based Moore FSMs ALEXANDER BARKALOV <sup>1</sup>, LARYSA TITARENKO <sup>1</sup>, AND SŁAWOMIR CHMIELEWSKI 2 1Faculty of Computer, Electrical, and Control Engineering, Institute of Metrology, Electronics, and Computer Science, University of Zielona Góra, 65-516 Zielona Góra, Poland 2Institute of Science and Technology, State University of Applied Sciences in Głogów, 67-200 Głogów, Poland Corresponding author: Alexander Barkalov (a.barkalov@imei.uz.zgora.pl) ABSTRACT Almost any digital system includes sequential blocks which can be represented using a model of finite state machine (FSM). It is very important to improve such characteristics of FSM circuits as the number of logic elements, operating frequency and consumed energy. The paper proposes a novel design method targeting a decrease in the number of look-up table (LUT) elements in logic circuits of FPGA-based Moore FSMs. The method is based on using two sets of variables for encoding the collections of outputs. It results in a partition of the set of outputs by two blocks. The outputs from the first block depend on state variables, the outputs from the second block on additional variables. A method is proposed for splitting the set of outputs. The conditions for using the proposed method are given. An example of synthesis is shown. The results of experiments with standard benchmarks are discussed. The experiments outcomes show that the proposed approach allows diminishing the number of LUTs and consumed energy. Also, it leads to an increase in the operating frequency. The method targets rather complex FSMs when the number of state variables exceeds the number of LUT’s inputs. INDEX TERMS FPGA, Moore FSM, LUT, internal states, FSM outputs. I. INTRODUCTION The model of finite state machine (FSM) is used very often for specification and design of sequential blocks of digital systems [1], [2]. It is used, for example, for implementing: 1) the hardware-software interfaces of embedded systems [3]; 2) the complex functions such as hyper-tangent and exponential functions [4], [5]; 3) the activation functions in deep neural networks [6], [7]; 4) some blocks for integral stochastic computing [8]; 5) different stages of cascaded digital processing systems [9]–[11]; 6) the control units of computers and other digital systems [12]–[14]. As follows from [15]–[19], the model of Moore FSM is very often applied in logic design. Due to it, we chose this model in our current research. Since the mid-twentieth century, many methods have been developed for FSM design [20], [21]. To compare outcomes of these methods, three basic metrics are used. They are: 1) the hardware amount, 2) the performance and 3) the consumed energy [12], [21]. Nowadays, the hardware amount is determined as a chip area occupied by an FSM circuit [22]. The performance is determined by either the propagation time or operating frequency. The operating frequency The associate editor coordinating the review of this manuscript and approving it for publication was Abdallah Kassem . is inversely proportional to the number of logic levels in an FSM circuit. The consumed energy depends strongly on the hardware amount [15], [19]. It is known [19] that the reducing hardware amount leads to improved performance and energy consumption. Our article targets at reducing the number of look-up table (LUT) elements and their levels in Moore FSM circuits implemented with field programmable gate arrays (FPGA). The FPGAs are widely used for implementing FSMs [23], [24]. The majority of FPGAs are based on LUTs [25], [26]. A LUT together with a flip-flop forms a logic element (LE). A slice includes up to four LEs. A configurable logic block includes up to four slices [25], [26]. The LE’s output could be either combinational or registered (connected with the flip-flop). As a rule, the number of inputs, _SL_, of a LUT does not exceed 6 [25], [26]. Very often, it leads to the necessity of functional decomposition for Boolean functions representing FSM circuits [27]–[30]. In turn, it results in an increase in the number of logic levels in a circuit. Also, it makes interconnections more complex. All this has a negative impact on both the operating frequency and power consumption [15], [31]. To improve the basic metrics of LUT-based FSMs, it is necessary to reduce the numbers of arguments in systems of Boolean functions (SBF) representing FSM circuits [32]. This can be achieved through the application of methods of structural decomposition [21], [33]. In this case, an FSM circuit is represented as a composition of several large logic blocks. Each block is represented by an SBF with unique systems of arguments and output functions [13], [14], [33], [34]. It leads to an increase in the number of different functions compared to FSM circuits based on the functional decomposition. But these functions are much simpler and their implementation requires less hardware than in the case when the functional decomposition is used [21]. The main contribution of this article is a novel approach for reducing the number of LUTs (and their levels) in the part of the Moore FSM circuit generating outputs. It allows improving all metrics of Moore FSMs. II. BACKGROUND OF MOORE FSMs A Moore FSM is defined as a 6-tuple [35], [36] including the following components: _X_ = { _x_ 1 _, . . ., xL_ } is a finite set of inputs, _Y_ = { _y_ 1 _, . . . yN_ } is a finite set of outputs, _A_ = { _a_ 1 _, . . ., aM_ } is a finite set of internal states, the functions of transitions and outputs, and the initial state _a_ 1 ∈ _A_ . There are many methods used for representing FSMs. In this article, we use a state transition table (STT) to represent a Moore FSM [36]. An STT has the following columns: _am_ is an initial state; _as_ is a state of transition; _Xh_ is an input signal determining the transition _< am, as_ _>_ and equal to a conjunction of some elements of the set _X_ (or their compliments); _h_ is a number of transition ( _h_ ∈{1 _, . . ., H_ }). There is a collection of outputs _Y_ ( _am_ ) ⊆ _Y_ written in the column _am_ of an STT. It includes outputs _yn_ ∈ _Y_ generated in the state _am_ ∈ _A_ . There is an example of STT of Moore FSM _S_ 1 represented by Table 1. The following sets could be derived from Table 1: _X_ = { _x_ 1 _, . . ., x_ 7}, _Y_ = { _y_ 1 _, . . ., y_ 9}, _A_ = { _a_ 1 _, . . ., a_ 18}. So, there are _L_ = 7, _N_ = 9 and _M_ = 18. There are _H_ = 27 rows in this STT. When the set _A_ is constructed, it is necessary to represent each state _am_ ∈ _A_ by a binary code _K_ ( _am_ ) having _R_ bits. It is a step of state assignment. The state variables _Tr_ ∈ _T_ are used for creating codes _K_ ( _am_ ), where | _T_ | = _R_ . If _R_ = _M_, it is a one-hot state assignment. This method is very popular in FPGA-based design [37], [38]. But, for example, such systems as SIS [39] and ABC [22] by Berkeley use a binary state assignment. In this case, there is _R_ = ⌈ _log_ 2 _M_ ⌉ _._ (1) We also use this approach in our article. State codes are kept into a state register (RG). It includes R flip-flops with mutual pulses of synchronization ( _Clock_ ) and clearing ( _Start_ ). As a rule, D flip-flops create the RG for LUT-based FSMs [12], [35]. To change the content of RG, input memory functions _Dr_ ∈ _�_ are used, where | _�_ | = _R_ . A Moore FSM logic circuit is represented by the following SBFs: _�_ = _�_ ( _T_ _, X_ ); (2) _Y_ = _Y_ ( _T_ ) _._ (3) TABLE 1. STT of Moore FSM _S_ 1. FIGURE 1. Structural diagram of LUT-based Moore FSM _U_ 1. To find systems (2) – (3), an STT should be transformed into a structure table (ST) [14]. An ST is an expansion of the STT by the following columns: _K_ ( _am_ ) is a code of the current state _am_ ∈ _A_ ; _K_ ( _as_ ) is a code of the next state (state of transition) _as_ ∈ _A_ ; _�h_ is a collection of input memory functions equal to 1 to load _K_ ( _as_ ) into RG. The systems (2) - (3) determine a logic circuit of Moore FSM _U_ 1 (Fig. 1). In Fig. 1, the symbol LUTer determines a block whose circuit is implemented with LUTs [21]. In FSM _U_ 1, the LUTer _�_ implements the system (2), the LUTer _Y_ the system (3). If a function _Dr_ is generated as the output of some LUT, then this output is connected with a flip-flop. These flip-flops form a state register RG distributed among the logic elements. It explains the presence of pulses _Clock_ and _Start_ as inputs of LUTer _�_ . To improve the characteristics of Moore FSM’s circuit, it is very important to reduce the chip area occupied by the circuit [2], [35]. The methods of solving this problem depend strongly on logic elements used for implementing FSM circuits [12], [32]. Let us analyze design methods targeting FPGA-based FSMs. III. STATE-OF-THE-ART The process of FSM design always has been associated with necessity of the solution of some optimization problems [2]. As a rule, when designing FPGA-based FSMs, four basic optimization problems arise [13], [32]. They are: 1) the decrease in the chip area occupied by an FSM circuit (the hardware reduction); 2) the reduction in the signal propagation time (the increase in the clock frequency); 3) the reduction in power consumption and 4) the improvement of testability. In this article, we consider first of these problems. The analysis of library [40] shows that for some benchmark FSMs there is _L_ + _R_ ≥ 20. At the same time, for modern LUTs there is _SL_ ≤ 6 [25], [26]. Thus, the following condition very often takes place: _L_ + _R_ ≫ _SL._ (4) If condition (4) is satisfied for some FSM, then the problem of hardware reduction arises for the block LUTer _�_ . If the following condition takes place _R > SL,_ (5) then the LUTer _Y_ could be represented by a multi-level circuit. So, it is necessary to reduce the number of levels in the Moore FSM circuit if conditions (4) – (5) take places. There are four main approaches for solving this problem, namely: 1) The optimal state assignment [1], [2], [28]. 2) The functional decomposition of Boolean functions representing an FSM circuit [22], [27], [29], [30], [41]. 3) The replacement of LUTs by embedded memory blocks (EMB) [1], [13], [15]–[17], [19], [32], [42]. 4) The structural decomposition of an FSM circuit [13], [20], [21], [43]. We shall call the optimal state assignment a process of obtaining state codes allowing to reduce the number of arguments in functions (2) – (3). These functions are represented as sum-of-products (SOP). But there is a different nature of functions (2) and (3) in Moore FSMs. The functions _Dr_ ∈ _�_ depend on terms _Fh_ ( _h_ ∈ {1 _, . . ., H_ }), where _Fh_ = _AmXh_ ( _h_ ∈{1 _, . . ., H_ }) _._ (6) In (6), the symbol _Am_ stands for a conjunction of state variables corresponding to the state code _K_ ( _am_ ) from the h-th row of ST. The functions _yn_ ∈ _Y_ depend on terms _Am_ ( _m_ ∈ {1 _, . . ., M_ }) determined above. The number of bits in _K_ ( _am_ ) can be ranged from ⌈ _log_ 2 _M_ ⌉ to _M_ . If _R_ = _M_, it is a one-hot state assignment [15]. When the one-hot is used, only a single state variable forms a conjunction _Am_ ( _m_ ∈{1 _, . . ., M_ }). It allows decreasing for the number of arguments in terms (6). It leads to circuits with less amount of LUTs and layers of logic than in the case of binary encoding. The results of investigations [15] show that one-hot is <sup>´</sup> ’attractive for large FSMs, but a better implementation of small machines can be obtained using binary state assignment <sup>´</sup> ’. The results of investigations [17] show that binary encoding gives better results if _L_ _>_ 10. One of the most popular state assignment algorithms is JEDI, which is distributed with the system SIS [39]. It targets a multi-level logic implementation. It maximizes either the size of common cubes in logic functions (the input dominant algorithm) or the number of common cubes in a logic function (the output dominant algorithm). Modern industrial packages use different state assignment strategies. For example, there are the following methods used in the design tool XST of Xilinx [44]: the automatic state assignment; one-hot; compact; Gray codes; Johnson codes; speed encoding. The same methods are implemented in the design tool Vivado [45]. It is possible to encode the states _am_ ∈ _A_ in such a manner that it minimizes the number of arguments in functions _yn_ ∈ _Y_ [32]. For example, the methods [46] could be used to solve this problem. It is important if the condition (5) takes place. So, there is a lot of state assignment methods. It is really difficult to say which is the best for a particular FSM. The functional decomposition is very popular in FSM design [27], [30], [41], [42]. If number of arguments for some function exceeds _SL_, then the original function is broken down into smaller and smaller components. There are three approaches in this area: serial, parallel and balanced decomposition. These approaches are used, for example, in systems DEMAIN [47] or PKMIN [48]. Obviously, there are program tools for functional decomposition in any CAD system targeting FPGA-based design. One of the best CAD tools using this approach is the ABC package by Berkeley [22], [49]. Modern FPGA have a lot of embedded memory blocks [25], [26]. Using EMBs allows improvement for main characteristics of FSM circuits [17]. Because of it, there are many design methods targeting EMB-based FSMs [13], [14], [16]–[19], [41], [43]. The EMBs have a property of configurability. It means that such parameters as the number of cells and their outputs could be changed by a designer [24]. Typical configurations of EMBs are the following: 16 _K_ ∗ 1, 8 _K_ ∗ 2, 4 _K_ ∗ 4, 2 _K_ ∗ 8, 1 _K_ ∗ 16, 512 ∗ 32, 256 ∗ 64 (bits) [25], [26]. So, modern EMBs are very flexible and can be tuned to meet a particular FSM. In the best case, an FSM circuit is implemented as a single EMB. It is possible if the following condition takes place [43]: 2 <sup>_L_</sup> <sup>+</sup> <sup>_R_</sup> ( _R_ + _N_ ) ⩽ _V_ 0 _._ (7) In (7), the symbol _V_ 0 stands for the number of cells for EMB configuration with a single output. Our investigations [43] of library [37] shows that condition (7) is true for 68% of benchmarks. If (7) is violated, then an FSM circuit could be implemented as: 1) a network of EMBs or 2) a network of LUTs and EMBs. The survey of different approaches for EMB-based design can be found in [30]. Let us point out that these methods could be used only if there are <sup>´</sup> ’free <sup>´</sup> ’ EMBs, which are not used for design other parts of a digital system. In the case of structural decomposition, an FSM circuit is represented by several blocks [21], [32]. Each block implements functions different from (2) – (3). FIGURE 2. Structural diagram of Moore FSM _U_ 2. FIGURE 3. Structural diagram of PY Mealy FSM. For example, in the case of replacement of inputs _xe_ ∈ _X_ [14], the set _X_ is replaced by a set _P_ = { _p_ 1 _, . . ., pG_ } such that _G_ ≪ _L_ . Now functions (2) are represented as _�_ = _�_ ( _T_ _, P_ ) _._ (8) It leads to Moore FSM _U_ 2 (Fig. 2), where the block LUTerP generates functions _P_ = _P_ ( _T_ _, X_ ) _._ (9) For Mealy FSMs, the encoding of collections of outputs (CO) could be used [20], [33]. In this case each collection _Yq_ ⊆ _Y_ is encoded by the binary code _K_ ( _Yq_ ). Let it be _Q_ different collections in an FSM. In this case, _RQ_ bits are necessary for their encoding, where: _RQ_ = ⌈ _log_ 2 _Q_ ⌉ _._ (10) Let us use variables _zr_ ∈ _Z_ for the encoding, where | _Z_ | = _RQ_ . It leads to so called PY Mealy FSM (Fig. 3). In PY Mealy FSM, the LUTer _�_ Z implements systems (2) and _Z_ = _Z_ ( _T_ _, X_ ) _._ (11) The LUTerY implements the functions _Y_ = _Y_ ( _Z_ ) _._ (12) This method leads to a single-level circuit of LUTerY, if the following condition takes place: _RQ_ ≤ _SL._ (13) If (13) is violated, then it is possible to use the mixed encoding of outputs [50]. In this case, some functions _yn_ ∈ _Y_ are represented as SOPs depending on the terms (6). Let us point out that this approach never has been used for Moore FSMs. In this article, we discuss a case when the condition (5) takes place for some Moore FSM _S_ . In this case, there is a multi-level circuit of the block LUTerY generating the system of outputs _Y_ = _Y_ ( _T_ ). To diminish the number of LUTs required for generating outputs _yn_ ∈ _Y_, we propose to divide the set _Y_ by two disjoint sets ( _Y_ = _YL_ ∪ _Y_ 0). We propose to use the method of encoding of collections of TABLE 2. Collections of outputs for FSM _S_ 1. outputs including outputs _yn_ ∈ _YL_ . These outputs depend now on some additional variables from the set _Z_ . The outputs _yn_ ∈ _Y_ 0 are still implemented as functions (3) depending on state variables _Tr_ ∈ _T_ . The proposed method is an evolution of ideas from our work [50]. In [50], we proposed a method of mixed encoding of outputs for Mealy FSMs. In this article, we have adapted the approach of mixed encoding for Moore FSMs where outputs depend only on states. IV. MAIN IDEA OF PROPOSED METHOD Let us create a set _V_ of _COs_ _Yq_ ⊆ _Y_ for some Moore FSM. For example, there is _Q_ = 17 in the case of Moore FSM _S_ 1. These collections are listed in Table 2. Let us use LUTs with _SL_ = 3 to implement an FSM circuit. Because _R_ = ⌈ _log_ 218⌉= 5, the condition (5) takes place for FSM _S_ 1. So, there is a multi-level circuit of LUTerY for _U_ 1-based circuit of _S_ 1. Using (10) gives _R_ = _RQ_ _> SL_ = 3. Let us try to diminish the number of COs to reach the equality _RQ_ = _SL._ (14) To do it, we should eliminate some functions _yn_ ∈ _Y_ from initial COs _Yq_ ⊆ _Y_ . Let the set _V_ include COs _Yi_, _Yj_ such that _Yi_ = _Yj_ �{ _yn_ }. So, the elimination of _yn_ from _Yi_ leads to the equality _Yi_ = _Yj_ . It results in decrementing the number of COs _Yq_ ∈ _V_ : | _V_ | = _Q_ - 1. Let _I_ ( _yn_ ) be a number of pairs _<_ _Yi, Yj_ _>_ such that the elimination of _yn_ from _Yi_ leads to _Yi_ = _Yj_ . Therefore, the elimination of _yn_ from _Yi_ leads to decrease in the number of COs by _I_ ( _yn_ ). The elimination of _yn_ results in a transformation of the set _V_ into a set _V_ 1 having _Q_ 1 = _Q_ - _I_ ( _yn_ ) elements. Now, it is enough _R_ 1 bits to encode the COs _Yq_ ∈ _V_ 1: _R_ 1 = ⌈ _log_ 2 _Q_ 1⌉ _._ (15) Let the following condition take place: _R_ 1 ≤ _SL._ (16) In this case, the output _yn_ is implemented as (3), whereas the outputs _ym_ ∈ _Y_ \ { _yn_ } are represented as (12). If the condition (16) is violated, then it is necessary to find an output _ym_ such that its elimination from COs _Yq_ ∈ _V_ 1 leads to the set _V_ 2 having _Q_ 2 elements. Now, it is enough _R_ 2 variables to encode the remaining COs: _R_ 2 = ⌈ _log_ 2 _Q_ 2⌉ _._ (17) Let the following condition take place: _R_ 2 _< R_ 1 _._ (18) FIGURE 4. Structural diagram of Moore FSM _U_ 3. It means that the elimination of _ym_ results in further decreasing for the number of bits in codes of COs. The process of elimination should be continued till the following condition will be true: _Ri_ = _SL._ (19) The subscript <sup>´</sup> ’ _i_ <sup>´</sup> ’ shows that _Ri_ = ⌈ _log_ 2| _Vi_ |⌉. There are _N_ - _i_ outputs _yn_ ∈ _Yq_ where _Yq_ ∈ _Vi_ . Let _Y_ 0 be a set of eliminated outputs. If _yn_ ∈ _Y_ 0, then _yn_ is represented as (3). Let _YL_ be a set of outputs creating the COs _Yq_ ∈ _Vi_ . If _yn_ ∈ _YL_, then it is represented as (12). It leads to Moore FSM _U_ 3 shown in Fig. 4. In FSM _U_ 3, the LUTerL implements outputs _yn_ ∈ _YL_, the LUTerR implements outputs _yn_ ∈ _Y_ 0. The LUTer _�_ Z implements SBFs (2) and (11). So, the proposed approach results in the mixed encoding of outputs [50]. Let the outputs _yn_ ∈ _YL_ create _QL_ collections. To encode them, it is necessary _RL_ variables: _RL_ = ⌈ _log_ 2 _QL_ ⌉ _._ (20) Obviously, the following condition should take place: _RL_ = _SL._ (21) In this case, it is enough a single LUT to implement the circuit for each function _yn_ ∈ _YL_ . Because the condition (5) takes place, there is a multi-level circuit of LUTerR. To diminish the number of arguments in SOPs of functions _yn_ ∈ _Y_ 0, it is possible to use the following approach for state assignment. Let us encode the states _am_ ∈ _A_ in such a way that functions _yn_ ∈ _Y_ 0 are represented by the minimum possible number of intervals of R-dimensional Boolean space. Let us name such approach the special state assignment (SSA). To execute the SSA, the methods from [46] could be used. In this article, we propose the method of synthesis of Moore FSM _U_ 3. The method includes the following steps: 1) Deriving the set _V_ from the initial STT. 2) Dividing the set _Y_ by sets _Y_ 0 and _YL_ . 3) Executing the special state assignment. 4) Encoding the COs _Yq_ ⊆ _YL_ . 5) Creating the ST of FSM _U_ 3. 6) Creating the systems _�_ = _�_ ( _T_ _, X_ ) and _Z_ = _Z_ ( _T_ _, X_ ). 7) Creating the systems _YL_ = _YL_ ( _Z_ ) and _Y_ 0 = _Y_ 0( _T_ ). 8) Implementing the FSM logic circuit. V. DIVIDING THE SET OF OUTPUTS Table 3 depicts a pseudo-code of the proposed algorithm for dividing the set of collections of outputs. The algorithm is technology-dependent because it takes into account the TABLE 3. Pseudo-code of the algorithm of deviding the set of outputs. number of LUT’s inputs _SL_ . It uses as inputs the set _V_ and the value of _SL_ . The algorithm requires not more than _N_ cycles. The algorithm generates sets _Y_ 0 and _YL_ as its output. In the beginning, the set _YL_ = _Y_ and the set _VL_ includes all COs _Yq_ ⊆ _Y_ (line 2). The main idea of the method is reduced to finding the outputs _yn_ ∈ _YL_ such that their excluding from _YL_ leads to the maximum possible reduction in the number of COs _Yq_ ⊆ _YL_ \ { _yn_ }. The search is organized as a cycle with a cycle variable _k_ . It starts from the operator 3. Each cycle starts from the organizing the queue _γ_ (line 4). The queue includes outputs _yn_ ∈ _YL_ . For each output _yn_ of the queue _γ_, the value of _Q_ ( _yn_ ) is calculated. It is equal to the number of COs _Yq_ ∈ _VL_ . Next, the elements of _γ_ are ranked in the descending order of the value of _Q_ ( _yn_ ). Each cycle _k_ ( _k_ ∈{1 _, . . ., N_ }) can have up to _I_ steps where _I_ = | _VL_ |. During each step (starting from line 5), a single element of _γ_ is analyzed (line 6). The value of _�Qi_ is calculated for a chosen output _yn_ ∈ _YL_ . The _�Qi_ is equal to the number of COs excluded from _VL_ due to transferring _yn_ from _YL_ into _Y_ 0. Next, the value of _Rk_ is calculated (line 7) as _Rk_ = ⌈ _log_ 2( _QL_ - _�Qi_ )⌉ _._ (22) If the excluding the i-th element of _γ_ leads to reduced value of _RQ_ (line 8), then it is necessary to check the condition (14). It is executed as the operator 9. If condition (14) is true, then the solution is found. The algorithm is finished (go to 17). Otherwise, the modification is executed for sets _YL_ and _Y_ 0 (line 10). During this step, the output _yi_ is excluded from _YL_ and included into _Y_ 0 ( _YL_ := _YL_ \ { _yi_ } and _Y_ 0 := _Y_ 0 ∪{ _yi_ }). The value of _k_ is incremented (line 11). If _k_ _>_ _N_, then all outputs are analyzed and the algorithm is finished (line 12). Otherwise, the correction of _VL_ is executed (line 13). After obtaining new COs, the next queue _γ_ is creating (line 14). If condition (14) is violated (line 15), then the next element of _γ_ should be analyzed ( _i_ := _i_ + 1). If the queue is not exhausted, then its next element should be analyzed (go to 6 in line 16). Otherwise, the algorithm is terminated. TABLE 4. The process of partition of the set Y. TABLE 5. The COs after step 1. Let us apply this algorithm to Moore FSM _S_ 1. As follows from Table 2, there is _Q_ = 17. Using (10) gives _RQ_ = 5. Let us use LUTs having _SL_ = 3 inputs. So, the condition (13) is violated and it is necessary to divide the set _Y_ . The process of dividing is shown in Table 4. There are outputs _yn_, values of _Q_ ( _yn_ ) and _�Qi_ shown in the corresponding columns of Table 4. If some output _yn_ ∈ _Y_ is taken for analysis during the cycle _i_, then it is shown in the brackets in the column _Q_ ( _yn_ ). The sign <sup>´</sup> ’+ <sup>´</sup> ’ shows that the corresponding output is included into _Y_ 0. The sign <sup>´</sup> ’- <sup>´</sup> ’ means that the output _yn_ is excluded from the analysis. The row _Y_ 0 shows the outcome of dividing. Analysis of _Q_ ( _yn_ ) allows creating the queue _γ_ = _<_ _y_ 3 _,_ _y_ 1 _, y_ 2 _, y_ 4 _, y_ 6 _, y_ 5 _, y_ 7 _, y_ 8 _, y_ 9 _>_ . Including _y_ 3 into _Y_ 0 (cycle 1) gives _�Q_ 1 = 1 and _R_ 1 = 5. Because _R_ 1 = _RQ_, the analysis should be continued for the next element of the _γ_ . The analysis of _Yq_ (cycle 2) shows that _R_ 1 = 4. Because there is _R_ 1 _<_ _RQ_, the output _y_ 1 is included into the set _Y_ 0. Because the condition (13) is violated, the next step should be executed. To do it, the new table of COs should be constructed (Table 5). Using Table 5, the following queue is formed: _γ_ = _<_ _y_ 3 _,_ _y_ 6 _, y_ 4 _, y_ 2 _, y_ 5 _, y_ 7 _, y_ 9 _, y_ 8 _>_ . Analysis of _y_ 3 gives _R_ 2 = _R_ 1 = 4 (cycle 1). Analysis of _y_ 6 gives _R_ 2 = 3 _< R_ 1. So, the output _y_ 6 is included into _Y_ 0. Because _R_ 2 = _SL_, the process of dividing is terminated. We have found the sets _Y_ 0 = { _y_ 1 _, y_ 6}, _YL_ = { _y_ 2 _, y_ 3 _, y_ 4 _, y_ 5 _, y_ 7 _, y_ 8 _, y_ 9}. Also, there is _RL_ = 3 and _Z_ = { _z_ 1 _, z_ 2 _, z_ 3}. Table 6 presents the new COs _Yq_ ⊆ _YL_ . VI. EXAMPLE OF SYNTHESIS Let us discuss an example of synthesis for Moore FSM _S_ 1. The steps 1 and 2 are already executed for this example. There is _M_ = 18. Using (1) gives _R_ = 5 and _T_ = { _T_ 1 _, . . ., T_ 5}. TABLE 6. The COs after dividing the set _Y_ . FIGURE 5. The outcome of special state assignment. FIGURE 6. The outcome of encoding of COs. FIGURE 7. Design path based on K2F tool. Let us execute the special state assignment for FSM _S_ 1. Using the method from [46] gives the state codes shown in Fig. 5. Let us encode the COs _Yq_ ⊆ _YL_ using the method [46]. It targets diminishing the number of arguments in the functions (12). The outcome is shown in Fig. 7. The system (11) is generated by the LUTer _�_ Z. So, the ST of Moore FSM _U_ 3 should include the column _Zh_ . This column contains variables _zr_ ∈ _Z_ equal to 1 in the code of CO _Yq_ for a state _as_ from the row _h_ ( _h_ ∈{1 _, . . ., H_ }). Table 7 is an ST for Moore FSM _S_ 1. It includes state codes from Fig. 5, the function _Dr_ ∈ _�_ = { _D_ 1 _, . . ., D_ 5} and variables _zr_ ∈ _Z_ . Now, the column _am_ includes only outputs _yn_ ∈ _Y_ 0. The column _q_ includes the subscripts of COs _Yq_ from Table 6. TABLE 7. Structure table of _U_ 3-based FSM _S_ 1. Let us explain, for example, the row 2 of Table 7. There is _am_ = _a_ 2. As follows from Table 1, _Y_ ( _a_ 2) = { _y_ 1 _, y_ 2 _, y_ 3}. So, there is _y_ 1 in the column _am_ . There is _as_ = _a_ 3 with _Y_ 3 = { _y_ 3 _, y_ 4 _, y_ 6} (Table 1). After elimination _y_ 6 ∈ _Y_ 0, the CO _Y_ 3 = { _y_ 3 _, y_ 4} (Table 6) should be generated in the state _a_ 3. As follows from Fig. 7, there is _K_ ( _Y_ 3) = 010. So, there is the symbol _z_ 2 in the column _Zh_ . The state codes are taken from Fig. 5. The functions (2) and (11) are derived from Table 7. They depend on the terms (6). It is done in the trivial way [14]. As follows from Table 7, the outputs _yn_ ∈ _Y_ 0 are represented as _y_ 1 = _A_ 2 ∨ _A_ 7 ∨ _A_ 10 ∨ _A_ 11 ∨ _A_ 14 ∨ _A_ 15 ∨ _A_ 17 _y_ 6 = _A_ 3 ∨ _A_ 7 ∨ _A_ 8 ∨ _A_ 9 ∨ _A_ 12 ∨ _A_ 16 _._ (23) Using state codes (Fig. 5) transforms the system (23) into the following system _y_ 1 = _T_ <sup>¯</sup> 1 _T_ 3; _y_ 6 = _T_ 5 _._ (24) Using Table 6 and codes from Fig. 7, we can get the following system _yn_ ∈ _YL_ : _y_ 2 = _Y_ 2 ∨ _Y_ 4 = _z_ 1 ¯ _z_ 3; _y_ 3 = _Y_ 2 ∨ _Y_ 3 ∨ _Y_ 6 ∨ _Y_ 7 = _z_ 2; _y_ 4 = _Y_ 3 ∨ _Y_ 5 ∨ _Y_ 8 = _z_ ¯1 _z_ 2 ¯ _z_ 3 ∨¯ _z_ 2 _z_ 3; _y_ 5 = _Y_ 6 ∨ _Y_ 7 = _z_ 2 _z_ 3; _y_ 7 = _Y_ 4 = _z_ 1 ¯ _z_ 2 _z_ 3; _y_ 8 = _Y_ 5 = _z_ 1 ¯ _z_ 2 _z_ 3; _y_ 9 = _Y_ 6 = _z_ ¯1 _z_ 2 _z_ 3 _._ (25) As follows from (25), there is only a single LUT in the circuit of LUTerR. As follows from (25) there are 6 LUTs in the circuit of LUTerL. We do not discuss the last step of synthesis for this example. This step is connected with using some standard tools [25], [26] and a VHDL model of _U_ 3. VII. EXPERIMENTAL RESULTS To investigate the efficiency of proposed method, we use standard benchmarks from the LGSynth93 library [40]. The library includes 48 Mealy FSMs taken from the practice of FSM design. They are presented in the KISS2 format. We transform these Mealy FSMs into equivalent Moore FSMs using three rules taken from [14]. Rule 1: if _K_ different collections of outputs are generated during transitions in a state _am_ ∈ _A_ of Mealy FSM, then this state is replaced by _K_ states ( _a_ <sup>1</sup> _m_ <sup>_, . . ., aK_</sup> _m_ <sup>) of equivalent Moore FSM. Rule 2:</sup> each of states _a_ <sup>_k_</sup> _m_ <sup>(</sup> <sup>_k_</sup> <sup>∈{1</sup> <sup>_, . . ., K_</sup> <sup>}) has a unique collection of</sup> <sup>1</sup> _m_ <sup>_, . . ., aK_</sup> _m_ each of states _a_ <sup>_k_</sup> _m_ <sup>(</sup> <sup>_k_</sup> <sup>∈{1</sup> <sup>_, . . ., K_</sup> <sup>}) has a unique collection of</sup> outputs. Rule 3: all states _a_ <sup>_k_</sup> _m_ <sup>∈</sup> <sup>_A_</sup> <sup>have the same function of</sup> transition. The characteristics of obtained Moore FSMs are shown in Table 8. To use these benchmarks, we use the CAD tool named K2F [43]. It translates the KISS2 file into a VHDL model of an FSM. To synthesize and simulate the FSM, we use the Active-HDL environment. To get the FSM circuit, we use Xilinx Vivado 2019.1 tool [45]. The investigation path used TABLE 8. Characteristics of benchmarks. in our system is shown in Fig. 8. The Xilinx Vivado 2019.1 package was used for synthesis and implementation of FSM for a given benchmark. FIGURE 8. Structural diagram of _PYM_ Mealy FSMs. The target platform was the FPGA device Xilinx Virtex-7 (XC7VX690tffg1761-2). It includes LUTs with _SL_ = 6 [44]. The column _U_ 3 of Table 8 shows the feasibility of using the proposed method for a particular benchmarks. If condition (5) is true, then our method can be used. We marked these benchmarks with a plus in the corresponding row of Table 8. There 16 signs <sup>´</sup> ’+ <sup>´</sup> ’ in Table 8. So, only corresponding 16 benchmarks are used in our research. We compared our approach with four other methods. They are: 1) Auto of Vivado; 2) one-hot of Vivado; 3) JEDI-based _U_ 1 and 4) DEMAIN-based _U_ 1. The results of experiments are shown in Table 9 (for the number of LUTs), Table 10 (for the operating frequency, MHz), and Table 11 (for the consumed energy, Watts). These tables are organized in the same manner. Their rows are marked with the names of benchmarks, the columns by design methods. The rows <sup>´</sup> ’Total <sup>´</sup> ’ include results of summations for numbers from each column. We took as 100% results of addition for the method _U_ 3. The rows <sup>´</sup> ’Percentage <sup>´</sup> ’ show the percentage of summarized characteristics respectively to the results obtained for _U_ 3. As follows from Table 9, the proposed method allows diminishing the number of LUTs compared to other researched methods. There is the following gain: 1) 35% regarding to Auto; 2) 58% regarding to one-hot; 3) 13% regarding to JEDI-based FSMs and 4) 24% regarding to DEMAIN. In all cases studied, our approach produces FSM circuits having exactly a single level of LUTs for blocks generating output functions _yn_ ∈ _Y_ . Due to it, _U_ 3-based FSMs have better results for operating frequency than it is for other methods used in the research. As follows from Table 10, our approach gives the following gain in the operating frequency: 1) 32,5% compared to Auto; 2) 32,5% compared to one-hot; 3) 10,2% compared to JEDI and 4) 28% compared to DEMAIN. Reducing the numbers of LUTs and their levels allowed obtaining FSM circuits with lower energy consumption than for other methods. As follows from Table 11, _U_ 3-based FSMs have the following gain in consumed energy: 1) 30,4% in comparison with Auto; 2) 40,8% in comparison with one-hot; 3) 12,1% in comparison with JEDI and 4) 22,9% in comparison with DEMAIN. So, if _R_ _>_ 6, then our approach gives better results than they are for Auto, one-hot, JEDI and DEMAIN. Of course, it is true only for benchmarks [40] and the device XC7VX690tffg1761-2. Let us point out that we conducted similar research using device Xilinx Virtex-5 (XC5VLX30FF324) having LUTs with _SL_ = 6. To do it, TABLE 9. Experimental results (the number of LUTs). TABLE 10. Experimental results (the operating frequency, MHz). we used the Xilinx ISE 14.1 package [44] The results of these investigations confirmed our hypothesis about the feasibility of using the model _U_ 3 when the condition (5) is met. Each of quantities from Table 9 - Table 11 evaluates only one of the characteristics of FSM circuits. In this article, we propose a comprehensive assessment that takes into account all three characteristics (the number of LUTs, operating frequency and consumed energy). We propose to evaluate an FSM circuit by the following value: _<u>f</u>_ _β_ = _NL_ ∗ _P_ <sup>∗</sup> <sup>1010</sup> <sup>_._</sup> (26) The value of _β_ is the inverse of the amount of energy (mJ) consumed per LUT of an FSM circuit. We show these values for generalized characteristics of FSMs (Table 9 - Table 11) in Table 12. We use total characteristics to get the average value of _β_ (row _β_ of Table 12). We took as 100% the values of _β_ for _U_ 3. As follows from the row <sup>´</sup> ’Percentage <sup>´</sup> ’, our approach allows to improve this general characteristic in comparison with other researched methods. VIII. SOME IMPORTANT ADDITIONAL ISSUES A sequential block can be represented as either Mealy or Moore FSM. For both Mealy and Moore FSMs, the input TABLE 11. Experimental results (the consumed energy, Watts). TABLE 12. General characteristics of LUT-based Moore FSMs. memory functions are represented as the system (2). As a rule, a Moore FSM has more states than an equivalent Mealy FSM [14]. It makes the system (2) of a Moore FSM more complex than its counterpart of an equivalent Mealy FSM. But the outputs of Mealy FSMs depend on inputs and state variables [14], [37]: _Y_ = _Y_ ( _T_ _, X_ ) _._ (27) Obviously, the functions (27) have more arguments than functions (3) of an equivalent Moore FSM. So, each FSM model has its own advantages and disadvantages. It is impossible to say unequivocally that one model is always better than another. Let us analyze the influence of specifics of Mealy and Moore FSMs on optimization methods for LUT-based design. We hope this will help to show more clearly the novelty of our approach to optimization of LUT-based Moore FSMs. As follows from (27), the one-hot codes of outputs are generated by the block LUTerY. These codes have N bits. In Moore FSMs, outputs depend only on state variables. Here, state codes play role of maximum codes of collections of outputs. In Moore FSMs, the LUTerY transforms these maximum codes into one-hot codes of outputs. Due to this difference, different approaches are used to optimize characteristics of the part of FSM circuit generating outputs _yn_ ∈ _Y_ . As follows from (2), for Mealy FSMs, functions _fi_ ∈ _�_ ∪ _Y_ depend on terms (6). If the condition _NA_ ( _fi_ ) _> SL_ (28) takes place, then the corresponding function _fi_ ( _i_ ∈ 1 _, . . ., N_ + _R_ ) is represented by a multi-level circuit. It is known, that multi-level circuits have less operating frequency and consume more power than their single-level counterparts [2], [33]. If condition (6) takes place, then a corresponding circuit can be optimized by elimination of the direct dependence of outputs _yn_ ∈ _Y_ on inputs _xl_ ∈ _X_ . This could be done using the encoding of collections of outputs. This approach allows improving the characteristics of Mealy FSMs. It leads to PY Mealy FSMs shown in Fig. 3. But if condition (13) takes place, then the circuit of LUTerY is multi-level. To diminish the number of levels in circuits implementing FSM outputs, we propose the approach of mixed encoding of collections of outputs [50]. In the case of mixed encoding, some outputs _yn_ ∈ _Y_ 0 depend on terms (6). They are represented by one-hot codes generated by LUTer _�_ Z. The outputs _yn_ ∈ _YR_ form new collections of outputs which are encoded by maximum binary codes. These codes are transformed into one-hot codes of _yn_ ∈ _YR_ by LUTerY. This approach leads to _PYM_ Mealy FSMs shown in Fig. 8 Our research [50] shows that this approach significantly reduces the number of LUTs in circuits of Mealy FSMs. The negative effect of this approach is a decrease in the operating frequency due to elimination of direct dependence between outputs and inputs. This method cannot be used to optimize the circuit of Moore FSM because its outputs do not directly depend on inputs _xl_ ∈ _X_ . Given this feature, we have adapted the approach of mixed encoding of collections of outputs proposed in [50]. If condition (5) takes place, then we construct two sets of collections of outputs. The outputs _yn_ ∈ _YL_ form collections encoded by maximum binary codes. To encode them, additional variables _zr_ ∈ _Z_ are used, where set _Z_ includes _RL_ = _SL_ variables. These codes are transformed by LUTerL into one-hot codes (Fig. 4). Because _RL_ = _SL_, it is enough a single LUT to implement any function _yn_ ∈ _YL_ . The collections of outputs _yn_ ∈ _YR_ are encoded using state variables. So, these outputs are still implemented as functions (3). They are generated by LUTerR. We execute the partition of the set _Y_ by sets _YL_ and _YR_ in a way minimizing the number of outputs in the set _YR_ . Such an approach allows encoding of states in a way minimizing the number of literals in functions _yn_ ∈ _Y_ 0. The minimization can decrease the number of LUTs and their levels in the circuit of Moore FSM _U_ 4 compared with equivalent FSM _U_ 1. So, the proposed approach is a new one. It is not a mixed encoding of collections of outputs proposed in [50]. We propose a quite different way for reducing the numbers of LUTs in circuits of Moore FSMs. In this new approach, only maximum codes of collections of outputs are used. This is a main scientific contribution of this article. Until now, we have considered FSMs as separate blocks. However, they are parts of digital systems. So, FSMs interact with other parts of digital systems. Theoretically, the Mealy FSMs have benefits such as lower resource usage and faster response to their inputs. But in the case of FPGA-based digital systems, these benefits can be significantly reduced. For Mealy FSMs, outputs (27) are generated in parallel with input memory functions. But in practice, outputs (3) can depend on up to _L_ + _R_ ≈ 30 arguments [14]. Due to the rather small amount of LUT’s inputs ( _SL_ ≤ 6), it is necessary to use the methods of functional decomposition. After decomposition, the clock cycle time increases. For Moore FSMs, outputs (3) depend on _R_ arguments. Moreover, there are methods of state encoding [36], [47] which allow minimizing the numbers of arguments in system (3). In the best case, there are exactly _N_ LUTs in the circuit of LUTerY. This leads to a reduction of the difference in the operating frequency for equivalent Mealy and Moore FSMs. Next, it is known [2], [24] that outputs of Mealy FSM are not stable. To make them stable, it is necessary to use an additional output register having _N_ latches. To operate, the register consumes power. Also, it is necessary to use an additional circuit to deliver the master clock to the output register. This circuit consumes some resources of an FPGA chip (LUTs, interconnections, power). The output register adds an additional increase to the cycle time. For Moore FSMs, only the state register is required which includes only _R_ flip-flops. If _R_ ≪ _N_, then the state register of a Moore FSM consumes significantly less power than a pair <state register, output register> of equivalent Mealy FSM. In the case of Moore FSM _U_ 3, it is necessary to use flip-flops to keep additional variables _zr_ ∈ _Z_ . But even in this case, it is necessary only ( _R_ + _RL_ ) ≤ 2 _R_ flip-flops. In the case of Moore FSMs, there are effective methods [24], [33] for optimizing the LUT-based circuits of blocks LUTer _�_ generating input memory functions (1). These methods allow getting a circuit of LUTer _�_ having practically the same amount of LUTs as for an equivalent Mealy FSM. The methods [24], [33] use classes of pseudoequivalent states of Moore FSMs. A single class of pseudoequivalent states corresponds to a state of an equivalent Mealy FSM. We do not discuss this approach in our article. But the corresponding methods can be found in [24], [33]. It follows from the above that it is difficult to say which FSM model (Mealy or Moore) will be better to implement the LUT-based circuit of a particular sequential block. It depends on characteristics of both an FSM (the numbers of inputs, outputs and states, relations of the number of functions for which the condition (28) is met to the total number of functions) and FPGA (number of LUT’s inputs, architecture of a configurable logic block). The criteria of optimality of a digital system as a whole are also significant. For example, for embedded systems [3], it is very important to reduce the power consumption. It is quite possible that a Moore FSM-based sequential block will consume less power than a Mealy FSM-based block. Therefore, the final decision on which FSM model to use is made by a designer of a particular digital system. IX. CONCLUSION The paper presents an original approach targeting FPGA-based Moore FSMs. The proposed design method leads to FSM circuits having a single level of LUTs in the blocks generating outputs _yn_ ∈ _Y_ . The method is based on dividing the set of outputs _Y_ by the sets _Y_ 0 and _YL_ . The outputs _yn_ ∈ _Y_ 0 depend on state variables, the outputs _yn_ ∈ _YL_ on some additional variables. The splitting outputs is performed so that the condition (21) takes place. The experiments show that this approach leads to reducing such FSM characteristics as the number of LUTs, consumed energy and delay. We compared our approach with four other methods. The experiments were conducted with Xilinx Vivado 2019.1 package. Also, we propose a generalized characteristic for comparing different design methods. It is directly proportional to the FSM operating frequency and diversely proportional to the product of consumed power and the number of LUTs in an FSM circuit. There is a single limitation to the application of the proposed method. Namely, it does not make sense to use our approach if the number of state variables does not exceed the number of LUT’s inputs. The proposed method belongs to the group of methods of structural decomposition [21]. Our future research is connected with attempts to apply this method for CPLD-and ASIC-based FSMs. REFERENCES [1] P. Minns and I. Elliot, _FSM-Based_ _Digital_ _Design_ _Using_ _Verilog_ _HDL_ . Hoboken, NJ, USA: Wiley, 2008. [2] V. Sklyarov, I. Skliarova, A. Barkalov, and L. Titarenko, _Synthesis_ _Opti-_ _mation_ _FPGA-based_ _Systerm_ (Lecture Notes in Electrical Engineering), vol. 294. Berlin, Germany: Springer-Verlag, 2014. [3] O. Barkalov, L. Titarenko, and M. Mazurkiewicz, _Foundations of Embed-_ _ded Systems_ (Studies in Systems, Decision and Control), vol. 195. Cham, Switzerland: Springer, 2019. [4] B. D. Brown and H. C. Card, ‘‘Stochastic neural computation. I. Com putational elements,’’ _IEEE_ _Trans._ _Comput._, vol. 50, no. 9, pp. 891–905, Sep. 2001. [5] P. Li, D. J. Lilja, W. Qian, M. D. Riedel, and K. Bazargan, ‘‘Logical computation on stochastic bit streams with linear finite-state machines,’’ _IEEE Trans. Comput._, vol. 63, no. 6, pp. 1474–1486, Jun. 2014. [6] J. Li, A. Ren, Z. Li, C. Ding, B. Yuan, Q. Qiu, and Y. Wang, ‘‘Towards acceleration of deep convolutional neural networks using stochastic computing,’’ in _Proc. 22nd Asia South Pacific Design Autom. Conf. (ASP-DAC)_, Jan. 2017, pp. 115–120. [7] Y. Xie, S. Liao, B. Yuan, Y. Wang, and Z. Wang, ‘‘Fully-parallel area efficient deep neural network design using stochastic computing,’’ _IEEE_ _Trans._ _Circuits_ _Syst._ _II,_ _Exp._ _Briefs_, vol. 64, no. 12, pp. 1382–1386, Dec. 2017. [8] A. Ardakani, F. Leduc-Primeau, N. Onizawa, T. Hanyu, and W. J. Gross, ‘‘VLSI implementation of deep neural network using integral stochastic computing,’’ _IEEE_ _Trans._ _Very_ _Large_ _Scale_ _Integr._ _(VLSI)_ _Syst._, vol. 25, no. 10, pp. 2688–2699, Oct. 2017. [9] N. I. Rafla and I. Gauba, ‘‘A reconfigurable pattern matching hardware implementation using on-chip RAM-based FSM,’’ in _Proc. 53rd IEEE Int._ _Midwest Symp. Circuits Syst._, Aug. 2010, pp. 49–52. [10] J. Glaser, M. Damm, J. Haase, and C. Grimm, ‘‘TR-FSM: Transition-based reconfigurable finite state machine,’’ _ACM Trans. Reconfigurable Technol._ _Syst._ [, vol. 4, no. 3, pp. 1–14, Aug. 2011, doi: 10.1145/2000832.2000835.](http://dx.doi.org/10.1145/2000832.2000835) [11] N. Das and P. A. Priya, ‘‘FPGA implementation of reconfigurable finite state machine with input multiplexing architecture using hungarian method,’’ _Int._ _J._ _Reconfigurable_ _Comput._, vol. 2018, pp. 1–15, 2018, [Art. no. 6831901, doi: 10.1155/2018/6831901.](http://dx.doi.org/10.1155/2018/6831901) [12] M. Kubica and D. Kania, ‘‘Area–oriented technology mapping for LUT– based logic blocks,’’ _Int._ _J._ _Appl._ _Math._ _Comput._ _Sci._, vol. 27, no. 1, pp. 207–222, Mar. 2017. [13] I. Skliarova, V. Sklyarov, and A. Sudnitson, _Design FPGA-Based Circuits_ _Using_ _Hierarchical_ _Finite_ _State_ _Machine_ . Tallinn, Estonia: TUT Press, 2012. [14] S. Baranov, _Logic_ _Synthesis_ _of_ _Control_ _Automata_ . Norwell, MA, USA: Kluwer, 1994. [15] G. Sutter, E. Todorovich, S. López-Buedo, and E. Boemo, ‘‘Low power FSMs in FPGA: Encoding alternatives,’’ in _Integrated_ _Circuit_ _Design. Power and Timing Modeling, Optimization and Simulation_ . Cham, Switzerland: Springer-Verlag, 2002, pp. 363–370. [16] J. Cong and K. Yan, ‘‘Synthesis for FPGAs with embedded memory blocks,’’ in _Proc. ACM/SIGDA 8th Int. Symp. Field Program. Gate Arrays_, [New York, NY, USA, 2000, pp. 75–82, doi: 10.1145/329166.329183.](http://dx.doi.org/10.1145/329166.329183) [17] V. Sklyarov, ‘‘Synthesis and implementation of RAM-based finite state machines in FPGAs,’’ in _Proc._ _Field-Program._ _Log._ _Appl.,_ _Roadmap_ _Reconfigurable_ _Comput._ Villach, Austria: Springer-Verlag, 2000, pp. 718–728. [18] R. Senhadji-Navarro and I. Garcia-Vargas, ‘‘High-performance architec ture for Binary-Tree-Based finite state machines,’’ _IEEE Trans. Comput.-_ _Aided Design Integr. Circuits Syst._, vol. 37, no. 4, pp. 796–805, Apr. 2018. [19] A. Tiwari and K. A. Tomko, ‘‘Saving power by mapping finite-state machines into embedded memory blocks in FPGAs,’’ in _Proc._ _Design,_ _Autom. Test Eur. Conf. Exhib._, 2000, pp. 916–921. [20] A. Barkalov, L. Titarenko, and K. Mielcarek, ‘‘Hardware reduction for Lut–Based mealy FSMs,’’ _Int. J. Appl. Math. Comput. Sci._, vol. 28, no. 3, pp. 595–607, Sep. 2018. [21] A. Barkalov, L. Titarenko, K. Mielcarek, and S. Chmielewski, _Logic_ _Synthesis_ _for_ _FPGA-Based_ _Control_ _Units_ (Lecture Notes in Electrical Engineering), vol. 636. Berlin, Germany: Springer-Verlag, 2020. [22] R. Brayton and A. Mishchenko, ‘‘ABC: An academic industrial-strength verification tool,’’ in _Computer_ _Aided_ _Verification_ . Berlin, Germany: Springer, 2010, pp. 24–40. [23] A. Mishchenko, S. Chatterjee, and R. K. Brayton, ‘‘Improvements to technology mapping for LUT-based FPGAs,’’ _IEEE_ _Trans._ _Comput.-_ _Aided_ _Design_ _Integr._ _Circuits_ _Syst._, vol. 26, no. 2, pp. 240–253, Feb. 2007. [24] I. Grout, _Digital_ _Systems_ _Design_ _With_ _FPGAs_ _and_ _CPLDs_ . Amsterdam, The Netherlands: Elsevier, 2011. [25] Altera. (Jan. 2020). _Cyclone_ _IV_ _Device_ _Handbook_ . [Online]. Available: http://www.altera.com/literature/hb/cyclone-iv/cyclone4-handbook.pdf [26] _Virtex-5 Family Overview_, Xilinx, San Jose, CA, USA, 2020. [27] C. Scholl, _Functional Decomposition with Application to FPGA Synthesis_ . Boston, MA, USA: Kluwer, 2001. [28] T. Kam, T. Villa, R. Brayton, and A. Sangiovanni-Vincentelli, _A Synthesis_ _of_ _Finie_ _State_ _Machines:_ _Functional_ _Optimization_ . Boston, MA, USA: Springer-Verlag, 2010. [29] M. Nowicka, T. Łuba, and M. Rawski, ‘‘FPGA-based decomposition of Boolean functions: Algorithms and implementation,’’ _Adv. Comput. Syst._, vol. 10, pp. 502–509, Oct. 1999. [30] I. Garcia-Vargas and R. Senhadji-Navarro, ‘‘Finite state machines with input multiplexing: A performance study,’’ _IEEE_ _Trans._ _Comput.-_ _Aided_ _Design_ _Integr._ _Circuits_ _Syst._, vol. 34, no. 5, pp. 867–871, May 2015. [31] X. Wu, M. Pedram, and L. Wang, ‘‘Multi-code state assignment for low power design,’’ _IEE_ _Proc._ _Circuits,_ _Devices_ _Syst._, vol. 147, no. 5, pp. 271–275, Oct. 2000. [32] A. Barkalov, L. Titarenko, M. Kołopieńczyk, K. Mielcarek, and G. Bazydło, _Logic Synthesis for FPGA-Based Finite State Machines_ (Studies in Systems, Decision and Control). Cham, Switzerland: Springer, 2015, vol. 38. [Online]. Available: http://link.springer.com/book/10.1007/978-3319-24202-6 [33] A. A. Barkalov, L. A. Titarenko, and A. A. Barkalov, ‘‘Structural decompo sition as a tool for the optimization of an FPGA-based implementation of a mealy FSM,’’ _Cybern. Syst. Anal._, vol. 48, no. 2, pp. 313–322, Mar. 2012. [34] A. Barkalov and A. Barkalov, Jr., ‘‘Design of mealy finite-state machines with the transformation of object codes,’’ _Int. J. Appl. Math. Comput. Sci._, vol. 15, no. 1, pp. 151–158, 2005. [35] S. Baranov, _Logic and System Design of Digital Systems_ . Tallinn, Estonia: TUT Press, 2008. [36] G. D. Micheli, _Synthesis and Optimization of Digital Circuits_ . New York, NY, USA: McGraw-Hill, 1994. [37] H. Kubatova and M. Becvar, ‘‘FEL–code: FSM internal state encod ing method,’’ in _Proc._ _5th_ _Int._ _Workshop_ _Boolean_ _Problems_, Jan. 2002, pp. 109–114. [38] H. Kubatova, _Design_ _Embedded_ _Control_ _Systerm_ . New York, NY, USA: Springer-Verlag, 2005, pp. 177–187. [39] E. Sentowich, K. Singh, L. Lavango, C. Moon, R. Murgai, A. Saldanha, H. Savoj, P. S. P., R. Bryton, and A. Sangiovanni-Vincentelli, ‘‘SIS: A system for sequential circuit synthesis,’’ Dept. EECS, Univ. California, Berkeley, Berkeley, CA, USA, Tech. Rep. UCB/ERL M92/41, 1992. [40] LGSynth93. (Feb. 2020). _International_ _Workshop_ _on_ _Logic_ _Synthe-_ _sis_ _Benchmark_ _Suite_ _(Lgsynth93)_ . [Online]. Available: https://people. engr.ncsu.edu/brglez/CBL/benchmarks/LGSynth93/LGSynth93 [41] M. Rawski, H. Selvaraj, and T. Łuba, ‘‘An application of functional decom position in ROM-based FSM implementation in FPGA devices,’’ _J._ _Syst._ _Archit._, vol. 51, nos. 6–7, pp. 423–434, 2005. [42] M. Rawski, P. Tomaszewicz, G. Borowski, and T. Łuba, ‘‘Logic Synthesis Method of Digital Circuits Designed for Implementation with Embedded Memory Blocks on FPGAs,’’ in _Design_ _of_ _Digital_ _Systems_ _and_ _Devices_, M. Adamski, A. Barkalov, and M. Węgrzyn, Eds. Berlin, Germany: Springer-Verlag, 2011, pp. 121–144. [43] M. Kołopieńczyk, L. Titarenko, and A. Barkalov, ‘‘Design of emb-based Moore fsms,’’ _J._ _Circuits,_ _Syst.,_ _Comput._, vol. 26, no. 7, pp. 1–23, 2017, [doi: 10.1142/S0218126617501250.](http://dx.doi.org/10.1142/S0218126617501250) [44] (Jan. 2020). _Xilinx_ . [Online]. Available: http://www.xilinx.com [45] (Jan. 2020). _VIVADO_ . [Online]. Available: http://xilinx.com/products/ design-tools/vivado.html [46] S. Achasova, _Synthesis Algorithms for Automata With PLAs_ . Voice, Russia: Soviet Radio, 1987. [47] (Jan. 2020). _DEMAIN_ . [Online]. Available: http://zpt2.tele. pw.edu.pl/Files/demain/demain.htm [48] T. Michalski and Z. Kokosiński, ‘‘Functional decomposition of combi national logic circuits with pkmin,’’ _Tech._ _Trans._ _Electr._ _Eng._, vol. 2, pp. 191–202, Oct. 2016. [49] (Jan. 2020). _ABC_ _System_ . [Online]. Available: https://people.eecs. berkeley.edu/~alanmi/abc/ [50] O. Barkalov, L. Titarenko, and S. Chmielewski, ‘‘Mixed encoding of collections of output variables for lut-based mealy fsms,’’ _J. Circuits, Syst.,_ _Comput._, vol. Vol., 28, no. no. 8, pp. 1–21, 2018. ALEXANDER BARKALOV received the M.Sc. degree in computer engineering from the Donetsk Politechnical Institute (currently Donetsk National Technical University), Ukraine, in 1976, the Ph.D. degree in computer science from the Leningrad Institute of Fine Mechanics and Optics, Russia, in 1983, and the Doctor of Technical Sciences degree in computer science from the Institute of Cybernetics, Kiev, in 1995. Since 2003, he has been a Professor of computer engineering with the Institute of Informatics and Electronics, University of Zielona Góra, Poland. His current research interests include the theory of digital automata, especially the methods of synthesis and optimization of control units implemented with field-programmable logic devices. LARYSA TITARENKO received the M.Sc., Ph.D., and Doctor of Technical Sciences degrees in telecommunications from the Kharkov National University of Radioelectronics, Ukraine, in 1993, 1996, and 2005, respectively. Since 2007, she has been a Professor of telecommunications with the Institute of Informatics and Electronics, University of Zielona Góra, Poland. Her current research interests include the theory of telecommunication systems, theory of antennas, and theory of digital automata and its applications. She has taken part in a number of research projects sponsored by the Ministry of Science and Higher Education of Ukraine, from 1993 to 2005. SŁAWOMIR CHMIELEWSKI received the M.Sc. degree in computer engineering from the Technical University of Zielona Góra, Poland, in 2001, and the Ph.D. degree in computer science from the University of Zielona Góra, Poland, in 2016. Since 2017, he has been a Lecturer with the State University of Applied Sciences, Głogów. His current research interests include methods of synthesis and optimization of control units in field-programmable logic devices, hardware description languages, perfect graphs and Petrie nets, algorithmic theory and safety of UNIX, and network systems.

섹션 본문 104문단 · 37,311자

(제목 없음)

1Almost any digital system includes sequential blocks which can be represented using a model of finite state machine (FSM). It is very important to improve such characteristics of FSM circuits as the number of logic elements, operating frequency and consumed energy. The paper proposes a novel design method targeting a decrease in the number of look-up table (LUT) elements in logic circuits of FPGA-based Moore FSMs. The method is based on using two sets of variables for encoding the collections of outputs. It results in a partition of the set of outputs by two blocks. The outputs from the first block depend on state variables, the outputs from the second block on additional variables. A method is proposed for splitting the set of outputs. The conditions for using the proposed method are given. An example of synthesis is shown. The results of experiments with standard benchmarks are discussed. The experiments outcomes show that the proposed approach allows diminishing the number of LUTs and consumed energy. Also, it leads to an increase in the operating frequency. The method targets rather complex FSMs when the number of state variables exceeds the number of LUT's inputs.

I. INTRODUCTION

2The model of finite state machine (FSM) is used very often for specification and design of sequential blocks of digital systems [1], [2]. It is used, for example, for implementing: 1) the hardware-software interfaces of embedded systems [3]; 2) the complex functions such as hyper-tangent and exponential functions [4], [5]; 3) the activation functions in deep neural networks [6], [7]; 4) some blocks for integral stochastic computing [8]; 5) different stages of cascaded digital processing systems [9]- [11]; 6) the control units of computers and other digital systems [12]- [14]. As follows from [15]- [19], the model of Moore FSM is very often applied in logic design. Due to it, we chose this model in our current research.

3Since the mid-twentieth century, many methods have been developed for FSM design [20], [21]. To compare outcomes of these methods, three basic metrics are used. They are: 1) the hardware amount, 2) the performance and 3) the consumed energy [12], [21]. Nowadays, the hardware amount is determined as a chip area occupied by an FSM circuit [22]. The performance is determined by either the propagation time or operating frequency. The operating frequency

4The associate editor coordinating the review of this manuscript and approving it for publication was Abdallah Kassem .

5is inversely proportional to the number of logic levels in an FSM circuit. The consumed energy depends strongly on the hardware amount [15], [19]. It is known [19] that the reducing hardware amount leads to improved performance and energy consumption. Our article targets at reducing the number of look-up table (LUT) elements and their levels in Moore FSM circuits implemented with field programmable gate arrays (FPGA).

6The FPGAs are widely used for implementing FSMs [23], [24]. The majority of FPGAs are based on LUTs [25], [26]. A LUT together with a flip-flop forms a logic element (LE). A slice includes up to four LEs. A configurable logic block includes up to four slices [25], [26]. The LE's output could be either combinational or registered (connected with the flip-flop). As a rule, the number of inputs, S L , of a LUT does not exceed 6 [25], [26]. Very often, it leads to the necessity of functional decomposition for Boolean functions representing FSM circuits [27]- [30]. In turn, it results in an increase in the number of logic levels in a circuit. Also, it makes interconnections more complex. All this has a negative impact on both the operating frequency and power consumption [15], [31].

7To improve the basic metrics of LUT-based FSMs, it is necessary to reduce the numbers of arguments in systems of Boolean functions (SBF) representing FSM circuits [32].

8This can be achieved through the application of methods of structural decomposition [21], [33]. In this case, an FSM circuit is represented as a composition of several large logic blocks. Each block is represented by an SBF with unique systems of arguments and output functions [13], [14], [33], [34]. It leads to an increase in the number of different functions compared to FSM circuits based on the functional decomposition. But these functions are much simpler and their implementation requires less hardware than in the case when the functional decomposition is used [21].

9The main contribution of this article is a novel approach for reducing the number of LUTs (and their levels) in the part of the Moore FSM circuit generating outputs. It allows improving all metrics of Moore FSMs.

II. BACKGROUND OF MOORE FSMs

10A Moore FSM is defined as a 6-tuple [35], [36] including the following components: X = {x 1 , . . . , x L } is a finite set of inputs, Y = {y 1 , . . . y N } is a finite set of outputs, A = {a 1 , . . . , a M } is a finite set of internal states, the functions of transitions and outputs, and the initial state a 1 ∈ A. There are many methods used for representing FSMs. In this article, we use a state transition table (STT) to represent a Moore FSM [36].

11An STT has the following columns: a m is an initial state; a s is a state of transition; X h is an input signal determining the transition < a m , a s > and equal to a conjunction of some elements of the set X (or their compliments); h is a number of transition (h ∈ {1, . . . , H }). There is a collection of outputs Y (a m ) ⊆ Y written in the column a m of an STT. It includes outputs y n ∈ Y generated in the state a m ∈ A.

12There is an example of STT of Moore FSM S 1 represented by Table 1. The following sets could be derived from Table 1: When the set A is constructed, it is necessary to represent each state a m ∈ A by a binary code K (a m ) having R bits. It is a step of state assignment. The state variables T r ∈ T are used for creating codes K (a m ), where |T | = R.

13If R = M , it is a one-hot state assignment. This method is very popular in FPGA-based design [37], [38]. But, for example, such systems as SIS [39] and ABC [22] by Berkeley use a binary state assignment. In this case, there is

14We also use this approach in our article. State codes are kept into a state register (RG). It includes R flip-flops with mutual pulses of synchronization (Clock) and clearing (Start). As a rule, D flip-flops create the RG for LUT-based FSMs [12], [35]. To change the content of RG, input memory functions D r ∈ are used, where | | = R.

15A Moore FSM logic circuit is represented by the following SBFs: To find systems (2) -(3), an STT should be transformed into a structure table (ST) [14]. An ST is an expansion of the STT by the following columns: K (a m ) is a code of the current state a m ∈ A; K (a s ) is a code of the next state (state of transition) a s ∈ A; h is a collection of input memory functions equal to 1 to load K (a s ) into RG. The systems (2) -(3) determine a logic circuit of Moore FSM U 1 (Fig. 1). In Fig. 1, the symbol LUTer determines a block whose circuit is implemented with LUTs [21].

16In FSM U 1 , the LUTer implements the system (2), the LUTerY the system (3). If a function D r is generated as the output of some LUT, then this output is connected with a flip-flop. These flip-flops form a state register RG distributed among the logic elements. It explains the presence of pulses Clock and Start as inputs of LUTer .

17To improve the characteristics of Moore FSM's circuit, it is very important to reduce the chip area occupied by the circuit [2], [35]. The methods of solving this problem depend strongly on logic elements used for implementing FSM circuits [12], [32]. Let us analyze design methods targeting FPGA-based FSMs.

III. STATE-OF-THE-ART

18The process of FSM design always has been associated with necessity of the solution of some optimization problems [2]. As a rule, when designing FPGA-based FSMs, VOLUME 8, 2020 four basic optimization problems arise [13], [32]. They are: 1) the decrease in the chip area occupied by an FSM circuit (the hardware reduction); 2) the reduction in the signal propagation time (the increase in the clock frequency); 3) the reduction in power consumption and 4) the improvement of testability. In this article, we consider first of these problems. The analysis of library [40] shows that for some benchmark FSMs there is L+R ≥ 20. At the same time, for modern LUTs there is S L ≤ 6 [25], [26]. Thus, the following condition very often takes place:

19If condition (4) is satisfied for some FSM, then the problem of hardware reduction arises for the block LUTer . If the following condition takes place

20then the LUTerY could be represented by a multi-level circuit. So, it is necessary to reduce the number of levels in the Moore FSM circuit if conditions (4) -(5) take places. There are four main approaches for solving this problem, namely:

211) The optimal state assignment [1], [2], [28].

222) The functional decomposition of Boolean functions representing an FSM circuit [22], [27], [29], [30], [41].

233) The replacement of LUTs by embedded memory blocks (EMB) [1], [13], [15]- [17], [19], [32], [42]. 4) The structural decomposition of an FSM circuit [13], [20], [21], [43]. We shall call the optimal state assignment a process of obtaining state codes allowing to reduce the number of arguments in functions (2) -(3). These functions are represented as sum-of-products (SOP). But there is a different nature of functions (2) and (3)

24In (6), the symbol A m stands for a conjunction of state variables corresponding to the state code K (a m ) from the h-th row of ST. The functions y n ∈ Y depend on terms A m (m ∈ {1, . . . , M }) determined above. The number of bits in K (a m ) can be ranged from log 2 M to M . If R = M , it is a one-hot state assignment [15]. When the one-hot is used, only a single state variable forms a conjunction A m (m ∈ {1, . . . , M }). It allows decreasing for the number of arguments in terms (6). It leads to circuits with less amount of LUTs and layers of logic than in the case of binary encoding. The results of investigations [15] show that one-hot is'attractive for large FSMs, but a better implementation of small machines can be obtained using binary state assignment'. The results of investigations [17] show that binary encoding gives better results if L > 10.

25One of the most popular state assignment algorithms is JEDI, which is distributed with the system SIS [39]. It targets a multi-level logic implementation. It maximizes either the size of common cubes in logic functions (the input dominant algorithm) or the number of common cubes in a logic function (the output dominant algorithm).

26Modern industrial packages use different state assignment strategies. For example, there are the following methods used in the design tool XST of Xilinx [44]: the automatic state assignment; one-hot; compact; Gray codes; Johnson codes; speed encoding. The same methods are implemented in the design tool Vivado [45].

27It is possible to encode the states a m ∈ A in such a manner that it minimizes the number of arguments in functions y n ∈ Y [32]. For example, the methods [46] could be used to solve this problem. It is important if the condition (5) takes place.

28So, there is a lot of state assignment methods. It is really difficult to say which is the best for a particular FSM.

29The functional decomposition is very popular in FSM design [27], [30], [41], [42]. If number of arguments for some function exceeds S L , then the original function is broken down into smaller and smaller components. There are three approaches in this area: serial, parallel and balanced decomposition. These approaches are used, for example, in systems DEMAIN [47] or PKMIN [48]. Obviously, there are program tools for functional decomposition in any CAD system targeting FPGA-based design. One of the best CAD tools using this approach is the ABC package by Berkeley [22], [49].

30Modern FPGA have a lot of embedded memory blocks [25], [26]. Using EMBs allows improvement for main characteristics of FSM circuits [17]. Because of it, there are many design methods targeting EMB-based FSMs [13], [14], [16]- [19], [41], [43]. The EMBs have a property of configurability. It means that such parameters as the number of cells and their outputs could be changed by a designer [24]. Typical configurations of EMBs are the following: 16K * 1, 8K * 2, 4K * 4, 2K * 8, 1K * 16, 512 * 32, 256 * 64 (bits) [25], [26]. So, modern EMBs are very flexible and can be tuned to meet a particular FSM.

31In the best case, an FSM circuit is implemented as a single EMB. It is possible if the following condition takes place [43]:

32In (7), the symbol V 0 stands for the number of cells for EMB configuration with a single output. Our investigations [43] of library [37] shows that condition (7) is true for 68% of benchmarks.

33If (7) is violated, then an FSM circuit could be implemented as: 1) a network of EMBs or 2) a network of LUTs and EMBs. The survey of different approaches for EMB-based design can be found in [30]. Let us point out that these methods could be used only if there are'free' EMBs, which are not used for design other parts of a digital system.

34In the case of structural decomposition, an FSM circuit is represented by several blocks [21], [32]. Each block implements functions different from (2) -(3). For example, in the case of replacement of inputs x e ∈ X [14], the set X is replaced by a set P = {p 1 , . . . , p G } such that G L. Now functions (2) are represented as

35It leads to Moore FSM U 2 ( Fig. 2), where the block LUTerP generates functions

36For Mealy FSMs, the encoding of collections of outputs (CO) could be used [20], [33]. In this case each collection Y q ⊆ Y is encoded by the binary code K (Y q ). Let it be Q different collections in an FSM. In this case, R Q bits are necessary for their encoding, where:

37Let us use variables z r ∈ Z for the encoding, where |Z | = R Q . It leads to so called PY Mealy FSM (Fig. 3).

38In PY Mealy FSM, the LUTer Z implements systems (2) and

39The LUTerY implements the functions

40This method leads to a single-level circuit of LUTerY, if the following condition takes place:

41If (13) is violated, then it is possible to use the mixed encoding of outputs [50]. In this case, some functions y n ∈ Y are represented as SOPs depending on the terms (6). Let us point out that this approach never has been used for Moore FSMs.

42In this article, we discuss a case when the condition (5) takes place for some Moore FSM S. In this case, there is a multi-level circuit of the block LUTerY generating the system of outputs Y = Y (T ). To diminish the number of LUTs required for generating outputs y n ∈ Y , we propose to divide the set Y by two disjoint sets (Y = Y L ∪ Y 0 ). We propose to use the method of encoding of collections of outputs including outputs y n ∈ Y L . These outputs depend now on some additional variables from the set Z . The outputs y n ∈ Y 0 are still implemented as functions (3) depending on state variables T r ∈ T . The proposed method is an evolution of ideas from our work [50]. In [50], we proposed a method of mixed encoding of outputs for Mealy FSMs. In this article, we have adapted the approach of mixed encoding for Moore FSMs where outputs depend only on states.

IV. MAIN IDEA OF PROPOSED METHOD

43Let us create a set V of CO s Y q ⊆ Y for some Moore FSM. For example, there is Q = 17 in the case of Moore FSM S 1 . These collections are listed in Table 2.

44Let us use LUTs with S L = 3 to implement an FSM circuit. Because R = log 2 18 = 5, the condition (5) takes place for FSM S 1 . So, there is a multi-level circuit of LUTerY for U 1 -based circuit of S 1 .

45Using (10) gives R = R Q > S L = 3. Let us try to diminish the number of COs to reach the equality

46To do it, we should eliminate some functions

47Therefore, the elimination of y n from Y i leads to decrease in the number of COs by I (y n ).

48The elimination of y n results in a transformation of the set V into a set V 1 having Q 1 = Q − I (y n ) elements. Now, it is enough R 1 bits to encode the COs Y q ∈ V 1 :

49Let the following condition take place:

50In this case, the output y n is implemented as (3), whereas the outputs y m ∈ Y \ {y n } are represented as (12). If the condition (16) is violated, then it is necessary to find an output y m such that its elimination from COs Y q ∈ V 1 leads to the set V 2 having Q 2 elements. Now, it is enough R 2 variables to encode the remaining COs:

51Let the following condition take place:

VOLUME 8, 2020

52It means that the elimination of y m results in further decreasing for the number of bits in codes of COs. The process of elimination should be continued till the following condition will be true:

53The subscript'i' shows that

54Let Y 0 be a set of eliminated outputs. If y n ∈ Y 0 , then y n is represented as (3). Let Y L be a set of outputs creating the COs Y q ∈ V i . If y n ∈ Y L , then it is represented as (12). It leads to Moore FSM U 3 shown in Fig. 4.

55In FSM U 3 , the LUTerL implements outputs y n ∈ Y L , the LUTerR implements outputs y n ∈ Y 0 . The LUTer Z implements SBFs (2) and (11). So, the proposed approach results in the mixed encoding of outputs [50].

56Let the outputs y n ∈ Y L create Q L collections. To encode them, it is necessary R L variables:

57Obviously, the following condition should take place:

58In this case, it is enough a single LUT to implement the circuit for each function y n ∈ Y L . Because the condition (5) takes place, there is a multi-level circuit of LUTerR. To diminish the number of arguments in SOPs of functions y n ∈ Y 0 , it is possible to use the following approach for state assignment. Let us encode the states a m ∈ A in such a way that functions y n ∈ Y 0 are represented by the minimum possible number of intervals of R-dimensional Boolean space. Let us name such approach the special state assignment (SSA). To execute the SSA, the methods from [46] could be used.

59In this article, we propose the method of synthesis of Moore FSM U 3 . The method includes the following steps: 1) Deriving the set V from the initial STT. number of LUT's inputs S L . It uses as inputs the set V and the value of S L . The algorithm requires not more than N cycles. The algorithm generates sets Y 0 and Y L as its output. In the beginning, the set Y L = Y and the set V L includes all COs Y q ⊆ Y (line 2).

60The main idea of the method is reduced to finding the outputs y n ∈ Y L such that their excluding from Y L leads to the maximum possible reduction in the number of COs Y q ⊆ Y L \ {y n }. The search is organized as a cycle with a cycle variable k. It starts from the operator 3. Each cycle starts from the organizing the queue γ (line 4). The queue includes outputs y n ∈ Y L .

61For each output y n of the queue γ , the value of Q(y n ) is calculated. It is equal to the number of COs Y q ∈ V L . Next, the elements of γ are ranked in the descending order of the value of Q(y n ). Each cycle k(k ∈ {1, . . . , N }) can have up to I steps where I = |V L |.

62During each step (starting from line 5), a single element of γ is analyzed (line 6). The value of Q i is calculated for a chosen output y n ∈ Y L . The Q i is equal to the number of COs excluded from V L due to transferring y n from Y L into Y 0 . Next, the value of R k is calculated (line 7) as

63If the excluding the i-th element of γ leads to reduced value of R Q (line 8), then it is necessary to check the condition (14). It is executed as the operator 9. If condition (14) is true, then the solution is found. The algorithm is finished (go to 17). Otherwise, the modification is executed for sets Y L and Y 0 (line 10). During this step, the output y i is excluded from Y L and included into Y 0 (Y L := Y L \ {y i } and Y 0 := Y 0 ∪ {y i }). The value of k is incremented (line 11). If k > N , then all outputs are analyzed and the algorithm is finished (line 12). Otherwise, the correction of V L is executed (line 13). After obtaining new COs, the next queue γ is creating (line 14).

64If condition (14) is violated (line 15), then the next element of γ should be analyzed (i := i + 1). If the queue is not exhausted, then its next element should be analyzed (go to 6 in line 16). Otherwise, the algorithm is terminated. Let us apply this algorithm to Moore FSM S 1 . As follows from Table 2, there is Q = 17. Using (10) gives R Q = 5. Let us use LUTs having S L = 3 inputs. So, the condition (13) is violated and it is necessary to divide the set Y . The process of dividing is shown in Table 4.

65There are outputs y n , values of Q(y n ) and Q i shown in the corresponding columns of Table 4. If some output y n ∈ Y is taken for analysis during the cycle i, then it is shown in the brackets in the column Q(y n ). The sign'+' shows that the corresponding output is included into Y 0 . The sign'-' means that the output y n is excluded from the analysis. The row Y 0 shows the outcome of dividing.

66Analysis of Q(y n ) allows creating the queue γ =< y 3 , y 1 , y 2 , y 4 , y 6 , y 5 , y 7 , y 8 , y 9 >. Including y 3 into Y 0 (cycle 1) gives Q 1 = 1 and R 1 = 5. Because R 1 = R Q , the analysis should be continued for the next element of the γ . The analysis of Y q (cycle 2) shows that R 1 = 4. Because there is R 1 < R Q , the output y 1 is included into the set Y 0 . Because the condition (13) is violated, the next step should be executed. To do it, the new table of COs should be constructed (Table 5).

67Using Table 5, the following queue is formed: γ =< y 3 , y 6 , y 4 , y 2 , y 5 , y 7 , y 9 , y 8 >. Analysis of y 3 gives R 2 = R 1 = 4 (cycle 1). Analysis of y 6 gives R 2 = 3 < R 1 . So, the output y 6 is included into Y 0 . Because R 2 = S L , the process of dividing is terminated.

68We have found the sets Y 0 = {y 1 , y 6 }, Y L = {y 2 , y 3 , y 4 , y 5 , y 7 , y 8 , y 9 }. Also, there is R L = 3 and Z = {z 1 , z 2 , z 3 }. Table 6 presents the new COs Y q ⊆ Y L .

VI. EXAMPLE OF SYNTHESIS

69Let us discuss an example of synthesis for Moore FSM S 1 . The steps 1 and 2 are already executed for this example. There is M = 18. Using (1) gives R = 5 and T = {T 1 , . . . , T 5 }. Let us execute the special state assignment for FSM S 1 . Using the method from [46] gives the state codes shown in Fig. 5.

70Let us encode the COs Y q ⊆ Y L using the method [46]. It targets diminishing the number of arguments in the functions (12). The outcome is shown in Fig. 7.

71The system (11) is generated by the LUTer Z. So, the ST of Moore FSM U 3 should include the column Z h . This column contains variables z r ∈ Z equal to 1 in the code of CO Y q for a state a s from the row h (h ∈ {1, . . . , H }). Table 7 is an ST for Moore FSM S 1 . It includes state codes from Fig. 5, the function D r ∈ = {D 1 , . . . , D 5 } and variables z r ∈ Z . Now, the column a m includes only outputs y n ∈ Y 0 . The column q includes the subscripts of COs Y q from Table 6. Let us explain, for example, the row 2 of Table 7. There is a m = a 2 . As follows from Table 1, Y (a 2 ) = {y 1 , y 2 , y 3 }. So, there is y 1 in the column a m . There is a s = a 3 with Y 3 = {y 3 , y 4 , y 6 } (Table 1). After elimination y 6 ∈ Y 0 , the CO Y 3 = {y 3 , y 4 } ( Table 6) should be generated in the state a 3 . As follows from Fig. 7, there is K (Y 3 ) = 010. So, there is the symbol z 2 in the column Z h . The state codes are taken from Fig. 5.

72The functions (2) and (11) are derived from Table 7. They depend on the terms (6). It is done in the trivial way [14].

73As follows from Table 7, the outputs y n ∈ Y 0 are represented as

74Using state codes (Fig. 5) transforms the system (23) into the following system

75Using Table 6 and codes from Fig. 7, we can get the following system y n ∈ Y L :

76As follows from (25), there is only a single LUT in the circuit of LUTerR. As follows from (25) there are 6 LUTs in the circuit of LUTerL.

77We do not discuss the last step of synthesis for this example. This step is connected with using some standard tools [25], [26] and a VHDL model of U 3 .

VII. EXPERIMENTAL RESULTS

78To investigate the efficiency of proposed method, we use standard benchmarks from the LGSynth93 library [40]. The library includes 48 Mealy FSMs taken from the practice of FSM design. They are presented in the KISS2 format. We transform these Mealy FSMs into equivalent Moore FSMs using three rules taken from [14]. Rule 1: if K different collections of outputs are generated during transitions in a state a m ∈ A of Mealy FSM, then this state is replaced by K states (a 1 m , . . . , a K m ) of equivalent Moore FSM. Rule 2: each of states a k m (k ∈ {1, . . . , K }) has a unique collection of outputs. Rule 3: all states a k m ∈ A have the same function of transition. The characteristics of obtained Moore FSMs are shown in Table 8.

79To use these benchmarks, we use the CAD tool named K2F [43]. It translates the KISS2 file into a VHDL model of an FSM. To synthesize and simulate the FSM, we use the Active-HDL environment. To get the FSM circuit, we use Xilinx Vivado 2019.1 tool [45]. The investigation path used in our system is shown in Fig. 8. The Xilinx Vivado 2019.1 package was used for synthesis and implementation of FSM for a given benchmark. The target platform was the FPGA device Xilinx Virtex-7 (XC7VX690tffg1761-2). It includes LUTs with S L = 6 [44].

80The column U 3 of Table 8 shows the feasibility of using the proposed method for a particular benchmarks. If condition (5) is true, then our method can be used. We marked these benchmarks with a plus in the corresponding row of Table 8.

81There 16 signs'+' in Table 8. So, only corresponding 16 benchmarks are used in our research.

82We compared our approach with four other methods. They are: 1) Auto of Vivado; 2) one-hot of Vivado; 3) JEDI-based U 1 and 4) DEMAIN-based U 1 . The results of experiments are shown in Table 9 (for the number of LUTs), Table 10 (for the operating frequency, MHz), and Table 11 (for the consumed energy, Watts).

83These tables are organized in the same manner. Their rows are marked with the names of benchmarks, the columns by design methods. The rows'Total' include results of summations for numbers from each column. We took as 100% results of addition for the method U 3 . The rows'Percentage' show the percentage of summarized characteristics respectively to the results obtained for U 3 .

84As follows from Table 9, the proposed method allows diminishing the number of LUTs compared to other researched methods. There is the following gain: 1) 35% regarding to Auto; 2) 58% regarding to one-hot; 3) 13% regarding to JEDI-based FSMs and 4) 24% regarding to DEMAIN.

85In all cases studied, our approach produces FSM circuits having exactly a single level of LUTs for blocks generating output functions y n ∈ Y . Due to it, U 3 -based FSMs have better results for operating frequency than it is for other methods used in the research. As follows from Table 10, our approach gives the following gain in the operating frequency: 1) 32,5% compared to Auto; 2) 32,5% compared to one-hot; 3) 10,2% compared to JEDI and 4) 28% compared to DEMAIN.

86Reducing the numbers of LUTs and their levels allowed obtaining FSM circuits with lower energy consumption than for other methods. As follows from Table 11, U 3 -based FSMs have the following gain in consumed energy: 1) 30,4% in comparison with Auto; 2) 40,8% in comparison with one-hot; 3) 12,1% in comparison with JEDI and 4) 22,9% in comparison with DEMAIN.

87So, if R > 6, then our approach gives better results than they are for Auto, one-hot, JEDI and DEMAIN. Of course, it is true only for benchmarks [40] and the device XC7VX690tffg1761-2. Let us point out that we conducted similar research using device Xilinx Virtex-5 (XC5VLX30FF324) having LUTs with S L = 6. To do it, VOLUME 8, 2020 we used the Xilinx ISE 14.1 package [44] The results of these investigations confirmed our hypothesis about the feasibility of using the model U 3 when the condition (5) is met.

88Each of quantities from Table 9 - Table 11 evaluates only one of the characteristics of FSM circuits. In this article, we propose a comprehensive assessment that takes into account all three characteristics (the number of LUTs, operating frequency and consumed energy). We propose to evaluate an FSM circuit by the following value:

89The value of β is the inverse of the amount of energy (mJ) consumed per LUT of an FSM circuit.

90We show these values for generalized characteristics of FSMs (Table 9 -Table 11) in Table 12. We use total characteristics to get the average value of β (row β of Table 12). We took as 100% the values of β for U 3 . As follows from the row'Percentage', our approach allows to improve this general characteristic in comparison with other researched methods.

VIII. SOME IMPORTANT ADDITIONAL ISSUES

91A sequential block can be represented as either Mealy or Moore FSM. For both Mealy and Moore FSMs, the input memory functions are represented as the system (2). As a rule, a Moore FSM has more states than an equivalent Mealy FSM [14]. It makes the system (2) of a Moore FSM more complex than its counterpart of an equivalent Mealy FSM. But the outputs of Mealy FSMs depend on inputs and state variables [14], [37]:

92Obviously, the functions (27) have more arguments than functions (3) of an equivalent Moore FSM. So, each FSM model has its own advantages and disadvantages. It is impossible to say unequivocally that one model is always better than another. Let us analyze the influence of specifics of Mealy and Moore FSMs on optimization methods for LUT-based design. We hope this will help to show more clearly the novelty of our approach to optimization of LUT-based Moore FSMs.

93As follows from (27), the one-hot codes of outputs are generated by the block LUTerY. These codes have N bits. In Moore FSMs, outputs depend only on state variables. Here, state codes play role of maximum codes of collections of outputs. In Moore FSMs, the LUTerY transforms these maximum codes into one-hot codes of outputs. Due to this difference, different approaches are used to optimize characteristics of the part of FSM circuit generating outputs y n ∈ Y .

94As follows from (2), for Mealy FSMs, functions f i ∈ ∪Y depend on terms (6). If the condition NA(f i ) > S L (28) takes place, then the corresponding function f i (i ∈ 1, . . . , N + R) is represented by a multi-level circuit. It is known, that multi-level circuits have less operating frequency and consume more power than their single-level counterparts [2], [33]. If condition (6) takes place, then a corresponding circuit can be optimized by elimination of the direct dependence of outputs y n ∈ Y on inputs x l ∈ X . This could be done using the encoding of collections of outputs. This approach allows improving the characteristics of Mealy FSMs. It leads to PY Mealy FSMs shown in Fig. 3. But if condition (13) takes place, then the circuit of LUTerY is multi-level. To diminish the number of levels in circuits implementing FSM outputs, we propose the approach of mixed encoding of collections of outputs [50].

95In the case of mixed encoding, some outputs y n ∈ Y 0 depend on terms (6). They are represented by one-hot codes generated by LUTer Z. The outputs y n ∈ Y R form new collections of outputs which are encoded by maximum binary codes. These codes are transformed into one-hot codes of y n ∈ Y R by LUTerY. This approach leads to PY M Mealy FSMs shown in Fig. 8 Our research [50] shows that this approach significantly reduces the number of LUTs in circuits of Mealy FSMs. The negative effect of this approach is a decrease in the operating frequency due to elimination of direct dependence between outputs and inputs.

96This method cannot be used to optimize the circuit of Moore FSM because its outputs do not directly depend on inputs x l ∈ X . Given this feature, we have adapted the approach of mixed encoding of collections of outputs proposed in [50]. If condition (5) takes place, then we construct two sets of collections of outputs. The outputs y n ∈ Y L form collections encoded by maximum binary codes. To encode them, additional variables z r ∈ Z are used, where set Z includes R L = S L variables. These codes are transformed by LUTerL into one-hot codes (Fig. 4). Because R L = S L , it is enough a single LUT to implement any function y n ∈ Y L . The collections of outputs y n ∈ Y R are encoded using state variables. So, these outputs are still implemented as functions (3). They are generated by LUTerR. We execute the partition of the set Y by sets Y L and Y R in a way minimizing the number of outputs in the set Y R . Such an approach allows encoding of states in a way minimizing the number of literals in functions y n ∈ Y 0 . The minimization can decrease the number of LUTs and their levels in the circuit of Moore FSM U 4 compared with equivalent FSM U 1 .

97So, the proposed approach is a new one. It is not a mixed encoding of collections of outputs proposed in [50]. We propose a quite different way for reducing the numbers of LUTs in circuits of Moore FSMs. In this new approach, only maximum codes of collections of outputs are used. This is a main scientific contribution of this article. Until now, we have considered FSMs as separate blocks. However, they are parts of digital systems. So, FSMs interact with other parts of digital systems. Theoretically, the Mealy FSMs have benefits such as lower resource usage and faster response to their inputs. But in the case of FPGA-based digital systems, these benefits can be significantly reduced.

98For Mealy FSMs, outputs (27) are generated in parallel with input memory functions. But in practice, outputs (3) can depend on up to L + R ≈ 30 arguments [14]. Due to the rather small amount of LUT's inputs (S L ≤ 6), it is necessary to use the methods of functional decomposition. After decomposition, the clock cycle time increases. For Moore FSMs, outputs (3) depend on R arguments. Moreover, there are methods of state encoding [36], [47] which allow minimizing the numbers of arguments in system (3). In the best case, there are exactly N LUTs in the circuit of LUTerY. This leads to a reduction of the difference in the operating frequency for equivalent Mealy and Moore FSMs.

99Next, it is known [2], [24] that outputs of Mealy FSM are not stable. To make them stable, it is necessary to use an additional output register having N latches. To operate, the register consumes power. Also, it is necessary to use an additional circuit to deliver the master clock to the output register. This circuit consumes some resources of an FPGA chip (LUTs, interconnections, power). The output register adds an additional increase to the cycle time. For Moore FSMs, only the state register is required which includes only R flip-flops. If R N , then the state register of a Moore FSM consumes significantly less power than a pair <state register, output register> of equivalent Mealy FSM. In the case of Moore FSM U 3 , it is necessary to use flip-flops to keep additional variables z r ∈ Z . But even in this case, it is necessary only (R + R L ) ≤ 2R flip-flops.

100In the case of Moore FSMs, there are effective methods [24], [33] for optimizing the LUT-based circuits of blocks LUTer generating input memory functions (1). These methods allow getting a circuit of LUTer having practically the same amount of LUTs as for an equivalent Mealy FSM. The methods [24], [33] use classes of pseudoequivalent states of Moore FSMs. A single class of pseudoequivalent states corresponds to a state of an equivalent Mealy FSM. We do not discuss this approach in our article. But the corresponding methods can be found in [24], [33].

101It follows from the above that it is difficult to say which FSM model (Mealy or Moore) will be better to implement the LUT-based circuit of a particular sequential block. It depends on characteristics of both an FSM (the numbers of inputs, outputs and states, relations of the number of functions for which the condition (28) is met to the total number of functions) and FPGA (number of LUT's inputs, architecture of a configurable logic block). The criteria of optimality of a digital system as a whole are also significant. For example, for embedded systems [3], it is very important to reduce the power consumption. It is quite possible that a Moore FSM-based sequential block will consume less power than a Mealy FSM-based block. Therefore, the final decision on which FSM model to use is made by a designer of a particular digital system.

IX. CONCLUSION

102The paper presents an original approach targeting FPGA-based Moore FSMs. The proposed design method leads to FSM circuits having a single level of LUTs in the blocks generating outputs y n ∈ Y . The method is based on dividing the set of outputs Y by the sets Y 0 and Y L . The outputs y n ∈ Y 0 depend on state variables, the outputs y n ∈ Y L on some additional variables. The splitting outputs is performed so that the condition (21) takes place.

103The experiments show that this approach leads to reducing such FSM characteristics as the number of LUTs, consumed energy and delay. We compared our approach with four other methods. The experiments were conducted with Xilinx Vivado 2019.1 package. Also, we propose a generalized characteristic for comparing different design methods. It is directly proportional to the FSM operating frequency and diversely proportional to the product of consumed power and the number of LUTs in an FSM circuit.

104There is a single limitation to the application of the proposed method. Namely, it does not make sense to use our approach if the number of state variables does not exceed the number of LUT's inputs.

참고문헌 39건

  1. 5 Logic Synthesis Method of Digital Circuits Designed for Implementation with Embedded Memory Blocks of FPGAs Lecture notes in electrical engineering · Springer Science+Business Media · 2011 10.1007/978-3-642-17545-9_5
  2. SIS : A System for Sequential Circuit Synthesis CTIT technical reports series · University of Twente · 1992
  3. Low-Power FSMs in FPGA: Encoding Alternatives Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-45716-x_36
  4. ABC: An Academic Industrial-Strength Verification Tool Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-14295-6_5
  5. FSM-based Digital Design using Verilog HDL 2008
  6. Synthesis and Implementation of RAM-Based Finite State Machines in FPGAs Lecture notes in computer science · Springer Science+Business Media · 2000 10.1007/3-540-44614-1_76
  7. TR-FSM ACM Transactions on Reconfigurable Technology and Systems · Association for Computing Machinery · 2011 10.1145/2000832.2000835
  8. Synthesis for FPGAs with embedded memory blocks 2000 10.1145/329166.329183
  9. An application of functional decomposition in ROM-based FSM implementation in FPGA devices Journal of Systems Architecture · Elsevier BV · 2004 10.1016/j.sysarc.2004.07.004
  10. Finite State Machines With Input Multiplexing: A Performance Study IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcad.2015.2406859
  11. Synthesis of finite state machines: Functional optimization Microelectronics Journal · 1998 10.1016/s0026-2692(97)00075-x
  12. Improvements to Technology Mapping for LUT-Based FPGAs IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/tcad.2006.887925
  13. A reconfigurable pattern matching hardware implementation using on-chip RAM-based FSM 2010 10.1109/mwscas.2010.5548558
  14. Functional decomposition with application to FPGA synthesis 2001
  15. Structural decomposition as a tool for the optimization of an FPGA-based implementation of a mealy FSM Cybernetics and Systems Analysis · Springer Science+Business Media · 2012 10.1007/s10559-012-9410-2
  16. Logical Computation on Stochastic Bit Streams with Linear Finite-State Machines IEEE Transactions on Computers · Institute of Electrical and Electronics Engineers · 2012 10.1109/tc.2012.231
  17. Saving power by mapping finite-state machines into embedded memory blocks in FPGAs Design, Automation, and Test in Europe · 2004 10.5555/968879.969129
  18. Multi-code state assignment for low power design IEE Proceedings - Circuits Devices and Systems · Institution of Engineering and Technology · 2000 10.1049/ip-cds:20000671
  19. Synthesis and optimization of digital circuits Choice Reviews Online · Association of College and Research Libraries · 1994 10.5860/choice.32-0950
  20. DESIGN OF MEALY FINITE-STATE MACHINES WITH THE TRANSFORMATION OF OBJECT CODES International Journal of Applied Mathematics and Computer Science · De Gruyter Open · 2005
  21. Stochastic neural computation. I. Computational elements IEEE Transactions on Computers · Institute of Electrical and Electronics Engineers · 2001 10.1109/12.954505
  22. VLSI Implementation of Deep Neural Network Using Integral Stochastic Computing IEEE Transactions on Very Large Scale Integration (VLSI) Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tvlsi.2017.2654298
  23. Design of EMB-Based Moore FSMs Studies in systems, decision and control · Springer International Publishing · 2015 10.1007/978-3-319-24202-6_8
  24. FSM‐Based Digital Design Using Verilog HDL 2008 10.1002/9780470987629
  25. Logic Synthesis for FPGA-Based Finite State Machines Studies in systems, decision and control · Springer International Publishing · 2015 10.1007/978-3-319-24202-6
  26. Towards acceleration of deep convolutional neural networks using stochastic computing 2017 10.1109/aspdac.2017.7858306
  27. Area–Oriented Technology Mapping for LUT–Based Logic Blocks International Journal of Applied Mathematics and Computer Science · De Gruyter Open · 2017 10.1515/amcs-2017-0015
  28. Functional decomposition of combinational logic circuits with PKmin Czasopismo Techniczne. Elektrotechnika · 2016 10.4467/2353737xct.16.257.6056
  29. High-Performance Architecture for Binary-Tree-Based Finite State Machines IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcad.2017.2731678
  30. Fully-Parallel Area-Efficient Deep Neural Network Design Using Stochastic Computing IEEE Transactions on Circuits & Systems II Express Briefs · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcsii.2017.2746749
  31. FPGA Implementation of Reconfigurable Finite State Machine with Input Multiplexing Architecture Using Hungarian Method International Journal of Reconfigurable Computing · Hindawi Publishing Corporation · 2018 10.1155/2018/6831901
  32. Mixed Encoding of Collections of Output Variables for LUT-Based Mealy FSMs Journal of Circuits Systems and Computers · World Scientific · 2018 10.1142/s0218126619501317
  33. Hardware Reduction for Lut–Based Mealy FSMs International Journal of Applied Mathematics and Computer Science · De Gruyter Open · 2018 10.2478/amcs-2018-0046
  34. Foundations of Embedded Systems Studies in systems, decision and control · Springer International Publishing · 2019 10.1007/978-3-030-11961-4
  35. Logic Synthesis for FPGA-Based Control Units Lecture notes in electrical engineering · Springer Science+Business Media · 2020 10.1007/978-3-030-38295-7
  36. Logic Synthesis for Control Automata Springer eBooks · Springer Nature · 1994 10.1007/978-1-4615-2692-6
  37. Functional Decomposition with Applications to FPGA Synthesis Springer eBooks · Springer Nature · 2001 10.1007/978-1-4757-3393-8
  38. Design of EMB-Based Moore FSMs Journal of Circuits Systems and Computers · World Scientific · 2017 10.1142/s0218126617501250
  39. Digital Systems Design with FPGAs and CPLDs Elsevier eBooks · Elsevier BV · 2008 10.1016/b978-0-7506-8397-5.x0001-3