Skip to content

daya-75/Verilog-Keypad-Password-Lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Verilog-Keypad-Password-Lock

A Verilog-based password-protected digital lock system using a 4x4 keypad interface, FSM-based password matching, and Vivado testbench simulation.

Verilog Keypad-Controlled Password Lock System πŸ”

This project implements a password-protected digital lock system using Verilog HDL. It simulates a 4x4 keypad input with FSM-based password matching and shows LOCKED/UNLOCKED status based on user input. Simulated and tested using Xilinx Vivado.

πŸ”§ Features

  • 4x4 Keypad input scanning
  • FSM-based password matcher
  • Configurable password (default: 1-2-3-4)
  • Outputs unlocked or locked status
  • Works with Vivado simulation (XSim)
  • Pure Verilog, no SystemVerilog extensions

πŸ“ Modules

File Description
keypad_scanner.v Scans 4x4 keypad input and detects valid keypresses
password_matcher.v Matches entered keys against the password
top.v Top-level wrapper connecting keypad and matcher
tb_top.v Testbench simulating user input via keypad

▢️ Simulation

  • Simulated using Vivado XSim
  • Testbench feeds correct/incorrect key sequences
  • View unlocked and locked output in waveform

πŸ“ˆ Sample Waveform

Screenshot 2025-08-01 132238

πŸ—‚οΈ Folder Structure

verilog-keypad-password-lock/
|
|── src/
| β”œβ”€β”€ keypad_scanner.v
| β”œβ”€β”€ password_matcher.v
| └── top.v
|
|── tb/
| └── tb_top.v
|
|── waveform.png
'── README.md

πŸ‘¨β€πŸ’» Author

Dayanand Bisanal

About

A Verilog-based password-protected digital lock system using a 4x4 keypad interface, FSM-based password matching, and Vivado testbench simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors