论文部分内容阅读
本文介绍了一款基于FPGA的8051单片机IP核的简易计算器的设计。系统硬件采用EP3C5E144芯片设计开发,软件采用康芯公司提供的8051单片机IP核设计开发,该设计使用Quartus9.0开发环境来设计FPGA片上系统,采用C语言设计8051单片机程序,并使用Keil开发环境来编程开发。系统外围硬件设备主要包括液晶显示模块,键盘输入模块,蜂鸣器模块,LED灯模块;其中信息显示使用LCD1602液晶显示模块,信息输入使用矩阵键盘模块,LED灯用于监视程序运行状态,蜂鸣器设计用于产生按键辅助提示音。本文设计的简易计算器实现了有符号整数的加、减、乘、除表达式运算显示功能和日历时间显示功能,实验测试表明,系统能够稳定、可靠地运行。
This article describes the design of a simple calculator based on FPGA 8051 microcontroller IP core. System hardware design and development using EP3C5E144 chip, the software used by Conch’s 8051 microcontroller IP core design and development, the design uses Quartus9.0 development environment to design FPGA on-chip system, using C language design 8051 SCM program, and use the Keil development environment to Programming development System peripheral hardware includes LCD module, keyboard input module, buzzer module, LED light module; information display using LCD1602 liquid crystal display module, the information input using the matrix keyboard module, LED light is used to monitor program running status, beep The device is designed to produce a key-assist tone. The simple calculator designed in this paper realizes the functions of adding, subtracting, multiplying and dividing the expression of integers and displaying the calendar time. Experimental tests show that the system can run stably and reliably.