journal article·2023-09-11Open access

Improving Characteristics of FPGA-Based FSMs Representing Sequential Blocks of Cyber-Physical Systems

Alexander Barkalov, Larysa Titarenko, Kazimierz Krzywicki, Svetlana Saburova

Applied Sciences· Volume 13· Issue 18

Abstract

This work proposes a method for hardware reduction in circuits of Mealy finite state machines (FSMs). The circuits are implemented as networks of interconnected look-up table (LUT) elements. The FSMs with twofold state assignment and encoding of output collections are discussed. The method is based on using two LUT-based cores to implement systems of partial Boolean functions. One of the cores uses only maximum binary codes, while the second core is based on the use of extended state codes. The hardware reduction is based on diminishing the number of transformed maximum binary codes. This leads to FPGA-based FSM circuits with three levels of logic blocks. Each logic block has a single level of LUTs. As a result, partial functions are represented by single-LUT circuits. The article shows a step-by-step procedure for the transition from the initial form of the FSM representation to its logical circuit (a network of programmable look-up table elements, flip-flops, and interconnects). The results of experiments conducted with standard benchmarks show that the proposed approach produces LUT-based FSM circuits with significantly better area characteristics than for circuits produced by such methods as Auto and One-Hot of Vivado, JEDI, and twofold state assignment. Compared to these methods, the number of LUTs is reduced from 9.44% to 69.98%. Additionally, the proposed method leads to the following phenomenon: the maximum operating frequency is slightly improved as compared with FSM circuits based on twofold state assignment (up to 0.6%). The negative effect of these improvements is an increase in power consumption. However, it is extremely insignificant (up to 1.56%). As the values of the FSM’s main characteristics grow, there is an increase in the gain from the application of the proposed method. The conditions for applying the proposed method are determined. A generalized architecture consisting of three blocks of partial functions and a method for synthesizing an FSM with this architecture are proposed. A method for selecting one of the seven architectures generated by the generalized architecture is proposed.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Radiation Effects in Electronics · Embedded Systems Design Techniques · Cybersecurity and Information Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Institute of Metrology, Electronics and Computer Science, University of Zielona Gora, ul. Licealna 9, 65-417 Zielona Gora, Poland

Department of Computer Science and Information Technology, Vasyl Stus’ Donetsk National University (in Vinnytsia), 600-Richya Street 21, 21021 Vinnytsia, Ukraine

Department of Infocommunication Engineering, Faculty of Infocommunications, Kharkiv National University of Radio Electronics, Nauky Avenue 14, 61166 Kharkiv, Ukraine

Department of Technology, The Jacob of Paradies University, ul. Teatralna 25, 66-400 Gorzow Wielkopolski, Poland

References (51)

Show source-provided references
1. Alur, R. (2015). Principles of Cyber-Physical Systems, MIT Press.
2. Suh, S.C., Tanik, U.J., Carbone, J.N., and Eroglu, A. (2014). Applied Cyber-Physical Systems, Springer.10.1007/978-1-4614-7336-7 ↗
3. Marwedel, P. (2018). Embedded System Design: Embedded Systems Foundations of Cyber-Physical Systems, and the Internet of Things, Springer International Publishing. [3rd ed.].
4. Reliability model of the security subsystem countering to the impact of typed cyber-physical attacks10.1038/s41598-022-17254-4 ↗
5. Analysis of safeness in a Petri net-based specification of the control part of cyber-physical systems10.34768/amcs-2021-0045 ↗
6. Wisniewski, R., Bazydlo, G., Gomes, L., Costa, A., and Wojnakowski, M. (2019, January 14–17). Analysis and design automation of cyber-physical system with hippo and IOPT-tools. Proceedings of the IECON 2019—45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal.10.1109/IECON.2019.8926692 ↗
7. Bazydlo, G., Costa, A., and Gomes, L. (2022, January 17–20). Integrating different modelling formalisms supporting co-design development of controllers for cyber-physical systems—A case study. Proceedings of the 2022 IEEE 9th International Conference on e-Learning in Industrial Electronics (ICELIE), Brussels, Belgium.10.1109/ICELIE55228.2022.9969438 ↗
8. Wisniewski, R., Wojnakowski, M., and Li, Z. (2023). Design and Verification of Petri-Net-Based Cyber-Physical Systems Oriented toward Implementation in Field-Programmable Gate Arrays—A Case Study Example. Energies, 16.10.3390/en16010067 ↗
9. IEEE Access Special Section: Cyber-Physical Systems10.1109/ACCESS.2019.2949898 ↗
10. Barkalov, A., Titarenko, L., and Mazurkiewicz, M. (2019). Foundations of Embedded Systems, Springer International Publishing.10.1007/978-3-030-11961-4 ↗
11. Gajski, D.D., Abdi, S., Gerstlauer, A., and Schirner, G. (2009). Embedded System Design: Modeling, Synthesis and Verification, Springer Science & Business Media.10.1007/978-1-4419-0504-8 ↗
12. Gazi, O., and Arli, A. (2021). State Machines Using VHDL: FPGA Implementation of Serial Communication and Display Protocols, Springer.10.1007/978-3-030-61698-4 ↗
13. Bhattacharjya, A., Wisniewski, R., and Nidumolu, V. (2022). Holistic Research on Blockchain’s Consensus Protocol Mechanisms with Security and Concurrency Analysis Aspects of CPS. Electronics, 11.10.3390/electronics11172760 ↗
14. Baranov, S. (1994). Logic Synthesis of Control Automata, Kluwer Academic Publishers.10.1007/978-1-4615-2692-6 ↗
15. Czerwinski, R., and Kania, D. (2013). Finite State Machine Logic Synthesis for Complex Programmable Logic Devices, Springer. Lecture Notes in Electrical Engineering.10.1007/978-3-642-36166-1 ↗
16. Baranov, S. (2018). Finite State Machines and Algorithmic State Machines: Fast and Simple Design of Complex Finite State Machines, Amazon.
17. Micheli, G.D. (1994). Synthesis and Optimization of Digital Circuits, McGraw-Hill.
18. Area-time efficient hardware implementation of modular multiplication for elliptic curve cryptography10.1109/ACCESS.2020.2988379 ↗
19. Barkalov, A., Titarenko, L., and Krzywicki, K. (2021). Structural Decomposition in FSM Design: Roots, Evolution, Current State—A Review. Electronics, 10.10.3390/electronics10101174 ↗
20. Hardware reduction for LUT-based Mealy FSMs10.2478/amcs-2018-0046 ↗
21. (2023, March 01). AMD Xilinx FPGAs. Available online: https://www.xilinx.com/products/silicon-devices/fpga.html.
22. Barkalov, A., Titarenko, L., and Krzywicki, K. (2022). Using a Double-Core Structure to Reduce the LUT Count in FPGA-Based Mealy FSMs. Electronics, 11.10.3390/electronics11193089 ↗
23. Baranov, S. (2018). High-Level Synthesis of Digital Systems: For Data-Path and Control Dominated Systems, Amazon.
24. Kubica, M., Opara, A., and Kania, D. (2021). Logic Synthesis Strategy Oriented to Low Power Optimization. Appl. Sci., 11.10.3390/app11198797 ↗
25. Zhao, X., He, Y., Chen, X., and Liu, Z. (2021). Human-Robot collaborative Assembly Based on Eye-Hand and a Finite State Machine in a Virtual Environment. Appl. Sci., 11.10.3390/app11125754 ↗
26. Koo, B., Bae, J., Kim, S., Park, K., and Kim, H. (2020). Test case generation method for increasing software reliability in Safety-Critical Embedded Systems. Electronics, 9.10.3390/electronics9050797 ↗
27. Methodology for Distributed-ROM-based Implementation of Finite State Machines
28. Skliarova, I. (2022). A Survey of Network-Based Hardware Accelerators. Electronics, 11.10.3390/electronics11071029 ↗
29. RESP: Ok. Scalable don’t-care-based logic optimization and resynthesis10.1145/2068716.2068720 ↗
30. A Probabilistic Tabu Search State Assignment Algorithm for Area and Power Optimization of Sequential Circuits10.1007/s13369-020-04697-y ↗
31. Feng, W., Greene, J., and Mishchenko, A. (2018, January 25–27). Improving FPGA performance with a S44 LUT structure. Proceedings of the 2018 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Monterey, CA, USA.10.1145/3174243.3174272 ↗
32. Chapman, K. (2023, March 01). Multiplexer Design Techniques for Datapath Performance with Minimized Routing Resources. Application Note. Available online: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.259.5300&rep=rep1&type=pdf.
33. Senhadji-Navarro, R., and Garcia-Vargas, I. (2022). Mapping Arbitrary Logic Functions onto Carry Chains in FPGAs. Electronics, 11.10.3390/electronics11010027 ↗
34. Kubica, M., Opara, A., and Kania, D. (2021). Technology Maping for LUT-Based FPGA, Springer.10.1007/978-3-030-60488-2 ↗
35. Implementation of finite-state machines based on programmable logic ICs with the help of the merged model of Mealy and Moore machines10.1134/S106422691302006X ↗
36. Park, J., and Yoo, H. (2020). Area-efficient fault tolerance encoding for Finite State Machines. Electronics, 9.10.3390/electronics9071110 ↗
37. Baranov, S. (2020). From Algorithm to Digital System: HSL and RTL Tool Sinthagate in Digital System Design, Amazon.
38. Barkalov, A., Titarenko, L., Krzywicki, K., and Saburova, S. (2022). Improving Characteristics of LUT-Based Three-Block Mealy FSMs’ Circuits. Electronics, 11.10.3390/electronics11060950 ↗
39. Khatri, S.P., and Gulati, K. (2011). Advanced Techniques in Logic Synthesis, Optimizations and Applications, Springer.
40. Sentowich, E., Singh, K., Lavango, L., Moon, C., Murgai, R., Saldanha, A., Savoj, H., Stephan, P.R., Bryton, R.K., and Sangiovanni-Vincentelli, A.L. (1992). SIS: A System for Sequential Circuit Synthesis, University of California, Berkely. Technical Report.
41. Tatalov, E. (2011). Synthesis of Compositional Microprogram Control Units for Programmable Devices. [Master’s Thesis, Donetsk National Technical University].
42. McElvain, K. (1993). LGSynth93 Benchmark, Mentor Graphics.
43. Scholl, C. (2001). Functional Decomposition with Application to FPGA Synthesis, Kluwer Academic Publishers.10.1007/978-1-4757-3393-8 ↗
44. Barkalov, A., Titarenko, L., and Krzywicki, K. (2020). Reducing LUT Count for FPGA-Based Mealy FSMs. Appl. Sci., 10.10.3390/app10155115 ↗
45. Technology mapping oriented to adaptive logic modules
46. Improvements to technology mapping for LUT-based FPGAs
47. (2023, March 01). Vivado Design Suite User Guide: Synthesis. UG901 (v2019.1). Available online: https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug901-vivado-synthesis.pdf.
48. Saving power by mapping finite-state machines into embedded memory blocks in FPGAs10.1109/DATE.2004.1269007 ↗
49. Modern control architectures and implementation
50. Ruiz-Rosero, J., Ramirez-Gonzalez, G., and Khanna, R. (2019). Field Programmable Gate Array Applications—A Scientometric Review. Computation, 7.10.3390/computation7040063 ↗
51. Altera (2023, March 01). Cyclone IV Device Handbook. Available online: http://www.altera.com/literature/hb/cyclone-iv/cyclone4-handbook.pdf.