DM-01 · Projects · Updated Dec 2026
Jun 2, 2026
PRJ-004Shipped
Multiuser Digital Safe
A five-user digital safe with a master code, designed in VHDL and running on a Digilent Nexys A7 FPGA board.
- platform
- VHDL
- lang
- VHDL
- year
- 2026
- type
- hardware
- authors
- 1
VHDL · Vivado · Nexys A7
Overview
A digital safe for five users, built entirely in hardware on an FPGA. Each user has their own 4-digit code entered on a keypad, and a master code gives admin access. The 7-segment display shows the input as it is typed.
Hardware
- Digilent Nexys A7 (Artix-7) board
- Digilent PmodKYPD 4×4 keypad
- The on-board 8-digit 7-segment display and buttons
Design
The design is split into a control unit (a finite state machine) and an execution unit, built from small modules:
- clock divider, keypad scanner with debounce, and button handling
- digit registers, and digit position and user index counters
- a RAM block for the user codes and a master code comparator
- access, alarm and timeout timers, and an error counter
- a 7-segment display controller
The repository also contains testbenches, a block diagram, a schematic, a state diagram and the project documentation.