文件名称:Digital-Password-Lock
介绍说明--下载内容均来自于网络,请自行研究使用
数字密码锁具体要求如下:
1. 系统密码设置使用拨位开关sw[7:0],限定为4位密码;sw[7:6]、sw[5:4]、sw[3:2]、sw[1:0]分别对应从左到右密码的第1、2、3、4位;每一位的取值范围限定在0、1、2三个数中。
2. 用btn[2:0]作为输入键,btn[0]、btn[1]、btn[2]分别对应的有效输入为十进制数0、1、2(由于btn数有限,系统不支持解锁含有数字3的密码)。
3. 输入的密码显示在7段数码显示管对应位上,顺序为从左至右,未输入密码时数码管不显示数字,只有对应位输入密码后数码管才点亮。
4. 输入密码与预存密码相同时,开锁成功,LED灯ld[7]亮起;否则开锁失败,ld[0]亮起。
5. 具有一个复位按键btn[3]。按键后,回到初始状态。
-Digital lock specific requirements are as follows: 1. The system password is set using DIP switches sw [7: 0], is limited to four passwords sw [7: 6], sw [5: 4], sw [3: 2], sw [1: 0], respectively left to right 1,2,3,4 digit password every one of the range is limited to three numbers 0,1,2. 2. Use btn [2: 0] as input keys, btn [0], btn [1], btn [2] corresponding to each active input as a decimal number 0,1,2 (due to the limited number btn, the system does not support the unlock 3 containing numeric password). 3. Enter the password displayed on the 7-segment display tubes corresponding bit on, the order left to right, did not enter a password when no digital display numbers, enter the password only after the corresponding bit digital tube was lit. 4. Enter the same password stored password, unlock success, LED lights ld [7] is lit otherwise the lock fails, ld [0] is illuminated. 5. With a reset button btn [3]. After the keys back to the initial state.
1. 系统密码设置使用拨位开关sw[7:0],限定为4位密码;sw[7:6]、sw[5:4]、sw[3:2]、sw[1:0]分别对应从左到右密码的第1、2、3、4位;每一位的取值范围限定在0、1、2三个数中。
2. 用btn[2:0]作为输入键,btn[0]、btn[1]、btn[2]分别对应的有效输入为十进制数0、1、2(由于btn数有限,系统不支持解锁含有数字3的密码)。
3. 输入的密码显示在7段数码显示管对应位上,顺序为从左至右,未输入密码时数码管不显示数字,只有对应位输入密码后数码管才点亮。
4. 输入密码与预存密码相同时,开锁成功,LED灯ld[7]亮起;否则开锁失败,ld[0]亮起。
5. 具有一个复位按键btn[3]。按键后,回到初始状态。
-Digital lock specific requirements are as follows: 1. The system password is set using DIP switches sw [7: 0], is limited to four passwords sw [7: 6], sw [5: 4], sw [3: 2], sw [1: 0], respectively left to right 1,2,3,4 digit password every one of the range is limited to three numbers 0,1,2. 2. Use btn [2: 0] as input keys, btn [0], btn [1], btn [2] corresponding to each active input as a decimal number 0,1,2 (due to the limited number btn, the system does not support the unlock 3 containing numeric password). 3. Enter the password displayed on the 7-segment display tubes corresponding bit on, the order left to right, did not enter a password when no digital display numbers, enter the password only after the corresponding bit digital tube was lit. 4. Enter the same password stored password, unlock success, LED lights ld [7] is lit otherwise the lock fails, ld [0] is illuminated. 5. With a reset button btn [3]. After the keys back to the initial state.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Digital Password Lock\bounce.vhd
.....................\clk_div.vhd
.....................\delaytime.vhd
.....................\display.vhd
.....................\main.vhd
.....................\state.vhd
.....................\test.ucf
Digital Password Lock