Research Article

FPGA-based Sokuban-like fun logic learning program with combinatorial logic blocks

Xinyuan Wang*
Nanjing University of posts and telecommunications

* Corresponding author: [email protected]

Abstract

There are problems such as a high threshold of entry, difficulty understanding the architecture, and boring learning in electronics applications. In order to improve the readability of the structure and learning efficiency, the study proposes a Sokuban-like fun logic learning program based on a Field Programmable Gate Array (FPGA) with combinational logic blocks displayed by VGA. Based on the logic of Sokuban, the program adds "subject", "predicate" and "object" logic blocks, so that the attributes of each object will change with the different combinations of logic blocks. This allows the properties of each object to change with the different combinations of logic blocks, ultimately realizing the process of achieving the same purpose in different ways. The study visualizes the process of writing code by using a specific code framework to transform syntax and entities into different logic blocks that can be changed in different locations. The design solves the problem of the learning process of logical thinking in electronics which is too abstract leading to difficulty in understanding in a relatively easier and more interesting way and can be used as a new way to represent dynamic changes in circuits. In the future, it will not only assist in learning, but can also be used as another new way to represent the output of circuits similar to schematic diagrams, Verilog and other codes, providing a new way of thinking about electronic design.

Keywords: Combinatorial logic blocks; VGA display; Visualisation
Published: August 14, 2024
DOI: 10.54254/2755-2721/72/20241022
Volume: ACE Vol.72
pp. 172-177
Download PDF

References

  1. Xu H and Lin F 2019 Design and Realization of FPGA-based Sokuban Game on Practical Electronics vol 19 p 24-26
  2. Yang C 2023 Design and Simulation Study of an All-Digital Phase-Locked Loop on Shanxi Electronic Technology vol 2 p 74-76
  3. Liu H and Guan X 2018 A Study of Verilog HDL Description Methods for Hierarchical State Machines and Coprocessing State Machines on Journal of Heilongjiang Institute of Technology vol 32 no 1 pp34-40+45
  4. Luo X Li J and Tian Zh 2012 Optimized Design of Verilog HDL-Based Finite State Machine on Electronics Quility no 3 p36-38+42
  5. Li Y Lv Zha and Chen S 2019 Design and Realization of FPGA-based VGA Image Display and Control System Journal of Huainan Normal University vol 21 no 2 p112-115
  6. V Sklyarov 2002 Reconfigurable Models of Finite State Machines and their Implementation in FPGAs on Journal of Systems Architecture vol 47 Issues 14–15 p 1043-1064
  7. Caffee Sugar 2023 FPGA-VGA Monitor Displaying Colour Bar(Code enclosed) on blog.csdn.net/m0_72885897/article/details/129900357
  8. Gazi O Arlı A Ç 2021 Video Graphic Array (VGA) and HDMI Interfacing In State Machines using VHDL Springer Cham
  9. Carlos A R A 2012 FPGA Open Architecture Design for a VGA Driver on Procedia Technology vol 3 p 324-333
  10. Gui H 2019 Design of FPGA-Based VGA Image Display on Computer Programming Skills Maintenance vol 8 p 136-138