ALGORITHMIC DIFFERENCES OF COMPLETE AND PARTIAL ALGEBRAIC SYNTHESIS OF A FINITE STATE MACHINE WITH DATAPATH OF TRANSITIONS

Authors

  • R. M. Babakov Vasyl’ Stus Donetsk National University, Vinnytsia, Ukraine
  • A. A. Barkalov Institute of Computer Science and Electronics University of Zielona Gora, Zielona Gora, Poland
  • L. A. Titarenko Institute of Computer Science and Electronics, University of Zielona Gora, Zielona Gora, Poland
  • M. O. Voitenko Vasyl’ Stus Donetsk National University, Vinnytsia, Ukraine

DOI:

https://doi.org/10.15588/1607-3274-2024-4-14

Keywords:

finite state machine, datapath of transitions, graph-scheme of algorithm, arithmetic and logical operations, algebraic synthesis, partial solution

Abstract

Context. The problem of algorithmization the search for formal solutions of the problem of algebraic synthesis of a finite state ma-chine with datapath of transitions is considered. The concept of complete and partial solutions of this problem is proposed. The object of research is the automated synthesis of the finite state machine in the part of the function of transitions without taking into account the function of outputs. The basis of the algebraic implementation of the transition function is the author's approach to the transformation of state codes using a set of arithmetic and logical operations. The search for formal solutions to the problem of algebraic synthesis is a complex process that requires the use of appropriate methods and algorithms aimed at special coding of states and mapping of operations of transitions to individual state machine transitions. The use of partial solutions of the problem of algebraic synthesis can contribute to reducing the executing time of such algorithms and reducing the overall design time of digital control devices based on a finite state machine with an datapath of transitions.

Objective. Development and research of algorithms for finding complete and partial solutions to the problem of algebraic synthesis of a finite state machine with datapath of transitions.

Method. The research is based on the structure of a finite state machine with datapath of transitions. The synthesis of the circuit of the state machine involves the preliminary solution of the problem of algebraic synthesis. The result is the so-called formal solution of this problem, which contains two components. The first component is defined state codes, the second component is arithmetic and logic operations mapped to separate state machine transitions. Finite state machine can be synthesized in that case if transformation of given state codes in the process of making transitions is possible using a given set of operations. Verification of this possibility is carried out using the known matrix approach. It involves the formation and element-by-element mapping of two matrices – the matrix of transitions and the combined matrix of operations. As a result, a coverage matrix is formed, which reflects the possibility of implementing (covering) of state machine transitions by specified arithmetic and logic operations. Changing the way of encoding states or the set of operations can give different solutions to the problem of algebraic synthesis with a greater or lesser number of covered state machine transitions.

Results. Using the example of an abstract graph-scheme of the control algorithm, it is demonstrated that the solution of the problem of algebraic synthesis of a finite state machine with datapath of transitions can be considered a situation when one or more state machine transitions cannot be implemented using a given set of operations. It is proposed to call such situation as a partial solution of the problem of algebraic synthesis. The implementation of all transitions by specified operations gives a complete solution of this problem, but the number of complete solutions is always much smaller than the number of partial solutions. Therefore, in the general case, the search for complete solutions takes much more time and, moreover, is not always possible.

Conclusions. The design of a logical circuit of a finite state machine with datapath of transitions is possible in the case of a complete or partial solution of the problem of algebraic synthesis. In the case of a partial solution, those transitions that cannot be implemented by any of the available operations are implemented in a canonical way using a system of Boolean equations. The search for complete solutions generally takes more time than the search for partial solutions. This makes actual the development of algorithms and methods of synthesis of this class of finite state machine, based on the search for partial solutions of the problem of algebraic synthesis.

Author Biographies

R. M. Babakov, Vasyl’ Stus Donetsk National University, Vinnytsia

Dr. Sc., Associate Professor, Professor of the Information Technologies Department

A. A. Barkalov, Institute of Computer Science and Electronics University of Zielona Gora, Zielona Gora

Dr. Sc., Professor, Professor

L. A. Titarenko, Institute of Computer Science and Electronics, University of Zielona Gora, Zielona Gora

Dr. Sc., Professor, Professor

M. O. Voitenko, Vasyl’ Stus Donetsk National University, Vinnytsia

Student of the Faculty of Information and Applied Technologies

References

Bailliul J., Samad T. Encyclopedia of Systems and Control. Springer, London, UK, 2015, 1554 p. DOI: https://doi.org/10.1007/978-1-4471-5058-9

Czerwinski R., Kania D. Finite state machines logic synthesis for complex programmable logic devices. Berlin, Springer, 2013, 172 p. DOI: https://doi.org/10.1007/978-3-642-36166-1

Baranov, S. Logic and System Design of Digital Systems. Tallin, TUTPress, 2008, 267 p.

Micheli G. D. Synthesis and Optimization of Digital Circuits. McGraw-Hill, Cambridge, MA, USA, 1994, 579 p.

Minns P., Elliot I. FSM-Based Digital Design Using Verilog HDL. JohnWiley and Sons, Hoboken, NJ, USA, 2008, 408 p. DOI: https://doi.org/ 10.1002/9780470987629

Skliarova I., Sklyarov V., Sudnitson A. Design of FPGA-based circuits using hierarchical finite state machines. Tallinn, TUT Press, 2012, 240 p.

Klimovich A. S., Solov’ev V. V. Minimization of mealy finitestate machines by internal states gluing, Journal of Computer and Systems Science International, 2012, Volume 51, pp. 244– 255. DOI: https://doi.org/10.1134/S1064230712010091

Grout, I. Digital Systems Design with FPGAs and CPLDs / I. Grout. – Elsevier Science: Amsterdam, The Netherlands, 2008. – 784 p. DOI: https://doi.org/10.1016/B978-0-7506-83975.X0001-3

Kubica M., Opara A. and Kania D. Technology Mapping for LUT-Based FPGA, Lecture Notes in Electrical Engineering, Springer, Cham, 2021, Vol. 713, 207 p. DOI: https://doi.org/10.1007/978-3-030-60488-2

Baranov S. Logic Synthesis for Control Automata. Dordrecht, Kluwer Academic Publishers, 1994, 312 p.

Barkalov A. A., Babakov R. M. Operational formation of state codes in microprogram automata, Cybernetics and Systems Analysis, 2011, Volume 47 (2), pp. 193–197. DOI: https://doi.org/10.1007/s10559-011-9301-y

Barkalov A. A., Titarenko L. A., Babakov R. M. Synthesis of Finite State Machine with Datapath of Transitions According to the Operational Table of Transitions, Radio Electronics, Computer Science, Control, 2022, No. 3 (62), pp. 109–119. DOI: https://doi.org/10.15588/1607-3274-2022-3-11

Barkalov A. A., Babakov R. M. A Matrix Method for Detecting Formal Solutions to the Problem of Algebraic Synthesis of a Finite-State Machine with a Datapath of Transitions, Cybernetics and Systems Analysis, 2023, Volume 59 (2), pp. 190–198. DOI: https://doi.org/10.1007/s10559-023-00554-6

Barkalov A. A., Titarenko L. A., Babakov R. M. Synthesis of VHDL-Model of a Finite State Machine with Datapath of Transitions, Radio Electronics, Computer Science, Control, 2023, No. 4 (67), pp. 135–147. DOI: https://doi.org/10.15588/16073274-2023-4-13

Yang S. Logic synthesis and optimization benchmarks User Guide Version 3.0. Tech. rep. Microelectronics Center of North Carolina, P.O. Box 12889, Research Triangle Park, NC 27709, 1991.

Rawski M., Selvaraj H., Luba T. An application of functional decomposition in ROM-based FSM implementation in FPGA devices, Journal of System Architecture, 2005, Volume 51, pp. 424–434. DOI: https://doi.org/10.1016/j.sysarc.2004.07.004

Downloads

Published

2024-12-26

How to Cite

Babakov, R. M., Barkalov, A. A., Titarenko, L. A., & Voitenko, M. O. (2024). ALGORITHMIC DIFFERENCES OF COMPLETE AND PARTIAL ALGEBRAIC SYNTHESIS OF A FINITE STATE MACHINE WITH DATAPATH OF TRANSITIONS. Radio Electronics, Computer Science, Control, (4), 143–152. https://doi.org/10.15588/1607-3274-2024-4-14

Issue

Section

Progressive information technologies