学号 14082200163 成绩 《现代数字系统设计》课程论文 题目 基于 FPGA 的密码锁 设计 作 者 嘿嘿 班 级 0 803 BF 院 别 信息与通信工程 专 业 电子信息工程完成时间 2024 年 5 月 8 日 基于 FPGA 的密码锁设计【摘要】基于FPGA设计的电子密码锁是一个小型的数字系统,与普通机械锁相比, 具有许多独特的优点: 保密性好, 防盗性强, 可以不用钥匙, 记住密码即可开锁等。目前使用的电子密码锁大部分是基于单片机技术, 以单片机为主要器件, 其编码器与解码器的生成为软件方式。在实际应用中, 由于程序容易跑飞, 系统的可靠性能较差。本文介绍一种基于现场可编程门阵列FPGA 器件的电子密码锁的设计方法采纳Verilog HDL语言对系统进行描述,并在EP1K10TC100—3上实现。系统所实现的功能:用户给电子密码锁设定一个密码,当使用本机键盘开锁时,该密码与用户设定的密码比较,假如密码正确,则开锁;假如密码不正确,则允许用户重新输入密码,最多可输入三次,若三次都不正确,则扬声器报警,直到按复位键才允许再次输入代码。通过仿真调试,利用可编程器件 FPGA 的电子密码锁的设计基本达到了预期目的。当然,该系统在一些细节的设计上还需要不断的完善和改进,特别是对系统的扩展有很好的有用和设计的价值.【关键词】:现场可编程门阵列,硬件描述语言,电子密码锁,扬声器【Abstract】FPGA—based design of the electronic code lock is a small digital system, 评语electronic password lock compared with ordinary mechanical locks , with many unique advantages: good privacy, security and strong , can not key to remember passwords to unlock, and so on。 At present the use of the electronic code lock on most of SCM technology to SCM as the main devices , encoders and decoders of Health and the software approach。 In practice, since the process easy run to fly, the reliability of the system can be poor。 Based on this paper, a field programmable gate arrays FPGA devices electronic password lock design, Verilog HDL language used to describe the system and achieve EP1K10TC100-3。Implementation of the system features...