文档介绍:毕业设计(论文)基于VHDL的数码锁的设计专业:电子信息工程姓名:学号:指导教师: 2012年6月摘要这里阐述了一种基于VHDL设计一种数字电子数码锁的原理和方法,所用的EDA仿真工具是QuartusII,该数码锁具有安全性能高、成本低廉、功耗较低、操作简单等优点。本文介绍的VHDL数码锁应具有如下功能:密码预先存入寄存器中,***时,输入密码存入另一寄存器中,当按下“确定”键时,启动比较器,比较两个寄存器中的内容,当结果相同时***;当结果不同时不***。三次输入错误,则发出报警信号,直到管理员终止此报警信号。用户需要修改密码时,先***,再按“设定密码”,清除预先存入的密码,通过键盘输入新的4位十进制码,按“确定”完成。此锁可设置四位密码,如果不设置密码时,默认为“0000”。此数码锁有三个电路组成:密码输入电路、数码锁控制电路和密码显示电路,数字密码的显示我们采用LED数码管来实现,相对而言其电路简单,成本低,且具有一定的可靠性。此外,输入采用4*4矩阵式键盘。关键词:VHDL数码锁QuartusIIAbstractItiselaboratedheretheprinciplesandmethodsofadigitalelectroniclockbasedontheVHDL,theEDAsimulationtoolusedistheQuartusII,thelockhasahighsafetyperformance,lowcost,lowpowerconsumptionforsimpleoperation,etc..ThisarticledescribestheVHDLcodelockshouldhavethefollowingfunctions:passwordpre-storedinanotherregisterintheregister,unlock,enterthepassworddeposit,whenpressthe"OK"paretworegisterswhentheresultswerethesametounlock;,,unlock,andthensetapassword,removethepre-depositedintothepassword,enteranewfourdecimalcodeviathekeyboard,pressthe"OK"-digitPINifyoudonotsetapassword,defaultis"0000".posedofthreecircuits:thepasswordinputcircuit,thelockcontrolcircuitandpassworddisplaycircuit,digitalpasswordLEDdigitaltubeisrelativelysimplecircuit,lowcost,,type4*:VHDLdigitallockQuartusII目录摘要 IABSTRACT II目录 III第一章引言 1第二章数码锁设计基础 (CPLD) 13第三章数码锁的电路设计 27第四章外围电路设计及整体电路 ***电路的设计 31结论 32参考文献 33致谢 34附录 ,人们对安全的要求也就越