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 5-digit password door lock using Nexys board.
Implement a door lock logic with the following functionalities:
- The password is a 5-digit binary number.
- The design can operate in 3 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 5 Hz frequency, otherwise a LED will blink with 1 Hz frequency. The user has 3 trials to check the password, the number of trials will be reset if the password is correct. When it reaches 0, the circuit will enter a FREEZE state. The number of trials will also be shown on 7 segments.
- In the FREEZE state, show "FREE7" on 7 segments.
- If the password is not correct, show "LOC" on 7 segments.
- If the password is correct, show "ULOC" on 7 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.
Write the VHDL code for this Design a 5 - digit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!