设计说明书定稿 - 图文 联系客服

发布时间 : 星期二 文章设计说明书定稿 - 图文更新完毕开始阅读61971f48eff9aef8941e06eb

石河子大学

本科毕业设计说明书

EDA实验系统的设计与开发

学生姓名 尚 飞 虎 任 玲 机械电气工程学院 电气工程及其自动化

O8级(1)班

指 导 教 师 所专年

在学院 业 级

中国·新疆·石河子

2012年6月

摘要

数字逻辑电路是重要的硬件基础课程,也是一门与应用密切相关的课程,其应用理论与方法随数字电路器件的发展而不断变革。EDA实验系统课题研究的目的是为在系统可编程器件提供一个实验平台。该实验系统既适合数字电路初学者做验证性实验,又适合数字逻辑设计者,允许其充分发挥自主性,自行设计逻辑电路,同时也可作为高校数字电路与逻辑设计课程的实验教学使用,让学生掌握基本的电子电路设计的方法。选择 EDA实验系统的开发与设计作为毕业设计的论文题目,除了能更好的学习先进的EDA技术,也能为后续同学学习和应用EDA技术提供一定的指导。

本设计研究的内容是开发基于FPGA/CPLD的EDA实验系统,以VHDL为硬件描述语言,以MAX+plusII为软件开发工具,以Altera的FPGA为设计载体,采用自上而下的设计方法,以实验板提供的输入、输出、显示以及电源等外围电路,设计了数字电路、EDA实训的实验程序以及验证程序为数字电路,为了给初学者提供一个方便实用的实验平台,也做了一些大中规模实验的开发,为学生后续的学习奠定一定的基础。

本设计以我院EDA实验台的开发为目的。研究的主要内容是:以此实验系统实现数字电路和由数字电路来设计中、大规模的数字系统。所设计的实验内容有:基于原理图输入的组合和时序逻辑教学数字电路的设计,基于VHDL语言输入的程序实验设计以及若干个个中、大规模的数字系统设计。

本设计绘出了所涉及到的所有电路的时序仿真波形图,对于基于VHDL语言输入的实验都附了每个模块的源程序,全部进行了实验验证,为方便后续的教学所有的实验录制了相关的视频,并配有详细的解说。

关键词:EDA VHDL MAX+PLUS II 自顶而下 FPGA/CPLD

2

Abstract

Digital logic circuits are important hardware foundation courses, one closely related to the application of course, the application of theory and method of constant change with the development of the digital circuit devices. EDA experimental systems are to provide in-system programmable devices an experimental platform, the experimental system for digital circuits for beginners to do the validation experiments, but also suitable for digital logic designers, allowing it to give full play to their own self-designed logic circuits. Can be used as the experimental teaching of university digital circuit and logic design courses, flexible application of the subsequent experiments. Also be used as a research tool for teaching workers. Selecting EDA experimental system development and application as a graduation thesis topic, and better able to learn advanced EDA technology, can also provide some guidance for the follow-up to students to learn and apply to EDA technology.

This research project is to develop the experimental system based on FPGA / CPLD EDA VHDL hardware description language, and used the MAX + plus II software development tools, Althea’s FPGA design vector, using top-down design methodology, experimental board to provide input, output, display and power and other peripheral circuits, digital circuits, EDA training of experimental procedures, and verification procedures for digital circuits, in order to provide a convenient experimental platform for beginners, have done the development of medium and large-scale experiments for the students of the logic design.

EDA experimental development system of experimental development. So the main content of the study: this experimental system, the digital circuit and digital circuit design, large-scale digital systems. The experimental design: a combination of schematic entry and timing logic digital circuit design, based on the experimental design of procedures for verification of the VHDL language input as well as several large-scale digital system design.

KEY WORDS: EDA VHDL MAX+PLUSII TOPTODOWN FPGA/CPLD

3

目录

摘要 ................................................................................................................................................. 2 Abstract ........................................................................................................................................... 3 1 绪论 ............................................................................................................................................. 5 1.1课题研究的背景 ................................................................................................................... 5 1.2课题研究的目的和意义 ....................................................................................................... 5 1.3 EDA技术 ........................................................................................................................... 6 1.3.1 EDA技术的主要内容及发展趋势 ............................................................................. 6 1.3.2软件开发工具 ................................................................................................................. 9 1.3.3实验开发系统 ............................................................................................................... 13 2 设计方案 ................................................................................................................................... 18 2.1设计思路 ............................................................................................................................. 18 2.2设计内容 ............................................................................................................................. 18 2.3 具体步骤 ............................................................................................................................ 18 2.3.1 设计流程 ...................................................................................................................... 18 2.3.2 硬件选择 ...................................................................................................................... 19 2.3.3 软件设计方案 .............................................................................................................. 19 3 设计实例 ................................................................................................................................. 20 3.1基于原理图输入的设计 ..................................................................................................... 20 3.1.1 设计一 组合逻辑3-8译码器 ................................................................................... 20 3.1.2 设计二 顺序脉冲电路 .............................................................................................. 22 3.1.3 设计三 奇偶校验电路 .............................................................................................. 23 3.1.4 设计四 灯开关控制电路 .......................................................................................... 25 3.1.5 设计五 优先权判断电路 .......................................................................................... 27 3.1.6 设计六 简易数字中的分钟和秒钟 .......................................................................... 29 3.2基于文本输入的验证设计 ................................................................................................. 30 3.2.1 设计七 汽车尾灯控制器电路 .................................................................................. 30 3.2.2 设计八 多路彩灯控制器电路 .................................................................................. 33 3.2.3 设计九 数字时钟电路 .............................................................................................. 35 3.3采用自顶向下设计的综合性设计 ..................................................................................... 38 3.3.1 设计十 数字秒表电路 .............................................................................................. 38 3.3.2 设计十一 出租车计费器电路 .................................................................................... 43 3.3.3 设计十二 六层电梯控制器电路设计 ........................................................................ 49 4 结论 ......................................................................................................................................... 56 4.1设计遇到问题详解 ............................................................................................................. 56 4.2 设计成果的应用价值 ........................................................................................................ 57 4.3设计存在的不足之处及改进建议 ..................................................................................... 57 4.4展望 ..................................................................................................................................... 58 主要参考文献 ............................................................................................................................... 58 心得体会 ....................................................................................................................................... 59 致谢 ............................................................................................................................................... 60

4