1、 基于 VHDL 语言的数字电子钟实现 第1页 共 26 页 目目 录录 1 引 言 4 1.1 EDA 概述 4 1.2 VHDL 语言概述 . 5 1.3 MAX+PLUS II 概述 6 2 数字电子钟设计 9 2.1 设计方案 . 9 2.2 设计思路 . 9 2.3 模块设计 . 10 3 数字电子钟的仿真 . 15 3.1 六进制计数器的仿真 . 15 3.2 十进制计数器的仿真 . 16 3.324 进制计数器的仿真 . 16 3.4 显示模块的仿真 . 17 3.5 顶层模块的仿真 . 18 4 小 结 19 参考文献 20 附录:设计源程序清单 21 基于 VHDL 语言的数
2、字电子钟实现 第2页 共 26 页 基于基于 VHDL 的数字电子钟设计的数字电子钟设计 学生姓名:学生姓名: 指导老师:指导老师: 摘摘 要要 随着EDA技术的发展和应用领域的扩大与深入, EDA技术在电子信息、通信、 自动控制及计算机应用领域的重要性日益突出。EDA技术就是依赖功能强大的计算机, 在EDA工具软件平台上,对以硬件描述语言VHDL为系统逻辑描述手段完成的设计文件, 自动地完成逻辑优化和仿真测试,直至实现既定的电子线路系统功能。本文介绍了基于 VHDL硬件描述语言设计的多功能数字时钟的思路和技巧。在MAX+Plus II开发环境中 编译和仿真了所设计的程序,并逐一调试验证程序的
3、运行状况。仿真和验证的结果表明, 该设计方法切实可行,该数字时钟具有一定的实际应用性。 关键词关键词 数字电子钟;仿真调试;VHDL;MAX+Plus II 基于 VHDL 语言的数字电子钟实现 第3页 共 26 页 Design of digital electronic clock based on VHDL Student Name: Chen Ben Teacher: Chen Yuantao Abstract With the development of EDA technology and expansion and deepen of application, EDA tech
4、nology has become more and more important in electronic information, communications, automatic control and computer app lications. EDA technology depends on powerful computers, complete logic optimization and simulation tests of design documents by means of making hardware description language VHDL
5、as the system logic description automatically in EDA tools software platform, until it has achieved the function of established electronic circuits system. In this paper, we have introduced ideas and crafts manship of multi-function digital clock design based on VHDL hardware description language. C
6、ompile and simulate designed procedures in MAX+Plus II development environment and debug and verify each ofthe operation of program. Simulation and verify results show that this design is workable and this digital clock is practical. Key words digital electronic clock; emulator debugger; VHDL; MAX+Plus II 基于 VHDL 语言的数字电子钟实现 第4页 共 26 页 1 引引 言言 当今社会是数字化的社会,也是数字集成电路广泛应用的社会,数字电路本身在不 断地进行更新换代。它由早期的电子管、晶体管、小中规模集成电路发展到超大规模集 成电路(VLSIC1)以及许多具有特定功能的专用集成电路。但是,随着微电子技术的