摘要
为提升DW8051单片机的使用体验、简化操作流程,本文在Synopsys公司提供的DW8051单片机软核的基础上,使用Verilog编程语言设计了与外设进行数据交互的I/O(Input/Output)接口,并将该I/O接口作为DW8051的一个外设挂载到MCU核的总线上,同时,在FPGA芯片上测试实现。通过该I/O接口,标准8051单片机用户可以更加方便的使用DW8051单片机,减少不必要的学习成本,降低开发难度,提高开发效率。在Altera公司的开发板上测试数据的读入和写出操作。测试结果表明,该I/O接口能正确读入数据到单片机中,单片机也能通过该I/O口写出数据,测试结果满足预期。通过使用该I/O接口,简化了DW8051的使用难度,可满足用户的基本需要。
In order to improve the experience of DW8051 single-chip microcomputer and simplify the operation flow, this paper designs the I/O (Input/Output) port with data exchange with peripherals based on Verilog programming language based on DW8051 single-chip soft core provided by Synopsys company. The 1/O inter-face as a peripheral of DW8051 mounts on the MCU core bus, at the same time, in the FPGA chip it tests im-plementation. Through the I/O interface, standard 8051 single-chip users can easily use DW8051 microcon-troller, reduce unnecessary learning costs, reduce development difficulties, and improve development efficien-cy. In the Altera Corporation development board it tests data read and write operation. In the test, the 1/O in-terface can correctly read the data to the microcontroller, while the microcontroller can also write data through the I/O port, and the test results meet expectations. Through the I/O port to ensure the correct premise, sim-plifies the use of DW8051 difficulty and meets the basic needs of users.
出处
《青岛大学学报(工程技术版)》
CAS
2017年第4期100-106,共7页
Journal of Qingdao University(Engineering & Technology Edition)