28-04-2012, 01:55 AM
I need verilog code for electronic lock for
Design an electronic combination lock. A four digit code can be entered by using the
pushbuttons. When the device is unlocked, the LEDs will flash. Pressing the buttons 25 times
without correctly entering the combination will deactivate the device for 10 seconds. The sevensegment display will be used to display the state of the lock. The states are: LOC (locked),
UnLC (unlocked), and PAUS (deactivated). When the device is unlocked, it can be locked by
moving DIP switch 0. The entire code must be entered within 15 seconds (from the first button
press to the last button press).