您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于VHDL语言的电子密码锁的设计(交)
摘要I摘要EDA技术的应用引起了电子产品系统开发的革命性变革。利用先进的EDA工具,基于硬件描述语言,可以进行系统级数字逻辑电路的设计。本文简述了VHDL语言的功能及其特点,并以4位串行手机键盘电子密码锁设计为例,介绍了一种在QuartusⅡ6.0开发软件下,基于VHDL硬件描述语言的复杂可编程逻辑器件(CPLD)的新型电子密码锁设计方法,阐述了其工作原理和软硬件设计方法。该密码锁通过扫描电路、键盘译码电路、弹跳消除电路、控制电路和七段译码电路等实现了密码输入、数码清除、密码激活、电锁解除、密码更改和误码报警等功能。本论文对该密码锁的程序进行了功能和时序仿真,结果表明该密码锁的功能满足设计要求,能够实现正常开锁、上锁和修改密码。该密码锁体积小、功耗低、易于维护和升级,有很好的市场前景。关键词:EDA,VHDL,FPGA,QuartusⅡ,电子密码锁ABSTRACTIIABSTRACTElectronicproductandsystemdevelopmentarebeingchangedrevolutionarilywithEDAtechnology.WecandesignallkindsofdigitallogicalcircuitswithadvancedEDAtoolsandVHDL.ThepaperintroducesthefunctionandcharacteristicofprogrammingofVHDLlanguagebriefly.Takingthedesignoftheserial4-bitelectroncodedlockforexample,thispaperintroducesanewwaytodesignelectroncodedlockwithCPLDandQuartusⅡ6.0asdevelopmentsoftwareandVHDLashardwaredescriptionlanguage.Itsoperatingprinciplesandthedesigningmethodsofhardwareandsoftwareareexplainedinthisarticle.Thiscodedlockcanperformthefollowingfunctions,suchascodeinput,codeclear,codeactivating,codereleasing,codecorrectingandwrongcodealarmingbyscanningcircuit,keyboarddecodecircuit,bounceeliminatingcircuit,controlcircuit.Thefunctionalandtimingsimulationsaremade.Theresultsshowthatthedesignspecificationoftheelectroniccodedlockismetandtheunlock/lockandcodecorrectingcanberealized.Thisnewelectroncodedlockhassmallsize,lowpower.Itsmaintenanceandupgradeareveryconvenient.Andithasabetterapplicationprospect.Keywords:EDA,VHDL,FPGA,QuartusⅡ,Electroncodedlock目录III目录第1章引言..................................................................................................................11.1课题背景..........................................................................................................11.2国内外研究现状..............................................................................................21.3课题主要研究工作..........................................................................................2第2章EDA技术与VHDL语言简介........................................................................32.1EDA技术.........................................................................................................32.1.1EDA技术的发展...................................................................................32.1.2EDA技术的基本设计方法...................................................................52.2VHDL简介......................................................................................................62.2.1VHDL语言............................................................................................62.2.2VHDL语言的特点................................................................................9第3章CPLD/FPGA硬件平台..................................................................................103.1可编程逻辑器件的发展历史及概述............................................................103.2FPGA/CPLD概述..........................................................................................113.3CPLD工作原理.............................................................................................123.4FPGA工作原理.............................................................................................13第4章系统的原理设计............................................................................................144.1系统设计要求................................................................................................144.2系统设计方案................................................................................................144.2.1密码锁输入电路的设计......................................................................174.2.2密码锁控制电路的设计......................................................................234.2.3密码锁显示电路的设计......................................................................244.3密码锁的整体组装设计................................................................................25目录IV第5章系统的程序实现............................................................................................265.1键盘输入去抖电路的VHDL源程序...........................................................265.2密码锁输入电路的VHDL源程序...............................................................295.3密码锁控制电路的VHDL源程序...............................................................345.4密码锁显示电路的VHDL源程序...............................................................38第6章系统仿真分析及硬件验证............................................................................406.1系统仿真分析................................................................................................406.1.1键盘输入去抖电路的仿真..................................................................406.1.2密码锁输入电路的仿真......................................................................406.1.3密码锁控制电路的仿真......................................................................416.1.4密码锁显示电路的仿真......................................................................436.2系统硬件验证................................................................................................44第7章小结................................................................................................................48参考文献.............
本文标题:基于VHDL语言的电子密码锁的设计(交)
链接地址:https://www.777doc.com/doc-5391372 .html