Question: Write the VHDL code for this Design a 5 - digit password door lock using Nexys board. Implement a door lock logic with the following
Write the VHDL code for this Design a digit password door lock using Nexys board.
Implement a door lock logic with the following functionalities:
The password is a digit binary number.
The design can operate in different modes: SET, VERIFY and FREEZE.
In SET mode, user can set a password for the lock
In VERIFY mode, will put the current inputted password into a check. If the inputted password is identical to the saved one set earlier, a LED will blink with Hz frequency, otherwise a LED will blink with Hz frequency. The user has trials to check the password, the number of trials will be reset if the password is correct. When it reaches the circuit will enter a FREEZE state. The number of trials will also be shown on segments.
In the FREEZE state, show "FREE on segments.
If the password is not correct, show "LOC" on segments.
If the password is correct, show "ULOC" on segments.
Hard reset signal can be generated by one switch. When the circuit is in the FREEZE state, only this switch will work, and it will reset the whole circuit.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
