
This project implements a simple Digital Door Lock System.
The user enters a 4-bit password through the input pins.
Stored Password: 1010
Operation:
Modules Used:
password_checker
lock_controller
digital_door_lock
Test Case 1: Input Password = 1010 Expected Output: unlock = 1 error = 0
Test Case 2: Input Password = 1111 Expected Output: unlock = 0 error = 1
Testbench file: test/tb.v
Simulation: iverilog -o sim src/project.v test/tb.v vvp sim
No external hardware is required.
Inputs:
Outputs:
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Password bit 0 | Unlock | |
| 1 | Password bit 1 | Error | |
| 2 | Password bit 2 | ||
| 3 | Password bit 3 | ||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |