Journal of Jilin University (Information Science Edition) ›› 2024, Vol. 42 ›› Issue (6): 1183-1190.

Previous Articles    

MCU Design Based on FPGA and ARM Cortex-M0

 ZHANG Xianglong, WANG Lijie   

  1. College of Electronic Science and Engineering, Jilin University, Changchun 130012, China
  • Received:2023-09-20 Online:2024-12-23 Published:2024-12-23

Abstract: The MCU(Microcontroller Unit) programming language is mainly C language implemented in soft logic, which implements specific functions by sequentially executing instructions, and can not avoid the shortcomings of low speed. The MCU based on FPGA(Field-Programmable Gate Array) and ARM(Advanced RISC Machines) Cortex-M0 is designed to obtain a high-speed system while still retaining the advantages of MCU. FPGA-based MCUs execute in parallel because the logic is directly implemented by the hardware, which greatly improves the speed and can be widely used in complex logic control and data operations and processing. Based on the analysis of the ARM Cortex-M0 core and the AMBA(Advanced Microcontroller Bus Architecture) bus system, each unit is designed for the MCU system. The Verilog code of each module is designed according to the characteristics of each module. The simulation results verifys that the module functions well. The design of special peripherals based on the FPGA platform and the verification of hardware algorithms are explored, which reflects the high flexibility and efficiency of the FPGA platform for design of MCUs. Taking the timer interrupt system as an example, combined with software and hardware, a comprehensive simulation of the entire MCU system is carried out, the working state of the ARM Cortex-M0 core in actual operation is analyzed, and the data communication and scheduling between each module of the bus system are analyzed, verify the feasibility and efficiency of the FPGA platform to develop MCU. The MCU is designed based on a reconfigurable platform, which can customize peripheral functions according to needs, and has the advantage of higher flexibility than traditional MCUs. 

Key words: microcontroller(MCU), field- programmable gate array(FPGA), advanced microcontroller bus architecture(AMBA), logic synthesis

CLC Number: 

  • TN914