文档详情

基于VHDL语言的电子密码锁的设计(交).doc

发布:2017-03-27约3.62万字共56页下载文档
文本预览下载声明
摘要 EDA 技术的应用引起了电子产品系统开发的革命性变革。利用先进的EDA 工具,基于硬件描述语言,可以进行系统级数字逻辑电路的设计。本文简述了VHDL语言的功能及其特点,并以4位串行手机键盘电子密码锁设计为例,介绍了一种在QuartusⅡ6.0开发软件下,基于VHDL 硬件描述语言的复杂可编程逻辑器件(CPLD)的新型电子密码锁设计方法,阐述了其工作原理和软硬件设计方法。该密码锁通过扫描电路、键盘译码电路、弹跳消除电路、控制电路和七段译码电路等实现了密码输入、数码清除、密码激活、电锁解除、密码更改和误码报警等功能。本论文对该密码锁的程序进行了功能和时序仿真,结果表明该密码锁的功能满足设计要求,能够实现正常开锁、上锁和修改密码。该密码锁体积小、功耗低、易于维护和升级,有很好的市场前景。 关键词:EDA,VHDL,FPGA,QuartusⅡ,电子密码锁 ABSTRACT Electronic product and system development are being changed revolutionarily with EDA technology. We can design all kinds of digital logical circuits with advanced EDA tools and VHDL. The paper introduces the function and characteristic of programming of VHDL language briefly. Taking the design of the serial 4-bit electron coded lock for example, this paper introduces a new way to design electron coded lock with CPLD and QuartusⅡ6.0 as development software and VHDL as hardware description language. Its operating principles and the designing methods of hardware and software are explained in this article. This coded lock can perform the following functions, such as code input, code clear, code activating, code releasing, code correcting and wrong code alarming by scanning circuit, keyboard decode circuit, bounce eliminating circuit, control circuit. The functional and timing simulations are made. The results show that the design specification of the electronic coded lock is met and the unlock/lock and code correcting can be realized .This new electron coded lock has small size, low power. Its maintenance and upgrade are very convenient. And it has a better application prospect. Keywords: EDA , VHDL , FPGA, QuartusⅡ, Electron coded lock 目录 第1章 引言 1 1.1 课题背景 1 1.2 国内外研究现状 2 1.3 课题主要研究工作 2 第2章 EDA技术与VHDL语言简介 3 2.1 EDA技术 3 2.1.1 EDA技术的发展 3 2.1.2 EDA技术的基本设计方法 5 2.2 VHDL简介 6 2.2.1 VHDL语言 6 2.2.2 VHDL语言的特点 9 第3章 CPLD/FPGA硬件平台 10 3.1 可编程逻辑器件的发展历史及概述 10 3.2 FPGA/CPLD 概述 11 3.3 CPLD工作原理 12 3.4 FPGA工作原理 13 第4章 系统的原理设计 14 4.1 系统设计要求 14 4.2 系统设计方案 14 4.2.1 密码锁输入电路的设计 17 4.
显示全部
相似文档