Skip to content

A digital slot machine in VHDL with 7-segment displays and a 16-bit result bus, fully controllable via signals and testbench-simulated gameplay.

License

Notifications You must be signed in to change notification settings

luciamarst/VHDL-Slot-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

VHDL-Slot-Machine

🎰 Welcome to the digital casino where the house is written in VHDL!

8bd2cd9a-70fe-4e59-945d-a5eea5c1a5b0

Description

This project brings a classic slot machine to life inside an FPGA simulator. No coins, no noise, just pure HDL-powered gambling energy.

Your luck is controlled by signals like start, fin, and reset—because nothing says Vegas like toggling bits at nanosecond speed. The 7-segment display tells you what destiny rolled for you, and a 16-bit result bus delivers your “jackpot”… or your disappointment.

The repository includes a full testbench that spins the slots automatically—perfect for debugging or pretending you’re coding in a casino.

Features

  • A slot machine that never asks for money
  • Fully modular VHDL design
  • Testbench-supported gameplay (simulated luck included)
  • Clock generator because time must flow—even in HDL
  • 7-segment display outputs for stylish results
  • 16-bit “winning” output bus

File Structure

/top_tragaperras.vhd        # Main slot-machine module
/tb_TRAGAPERRAS.vhd         # The automated gambler (testbench)

How It Works?

  • start → Pull the lever 🎬
  • fin → Stop the reels
  • rst → Pretend nothing happened
  • clk → Keeps the magic running
  • Outputs → Your destiny, displayed digitally

Tools Used

  • VHDL
  • ModelSim / Vivado

Author

Lucía Martínez Martínez

About

A digital slot machine in VHDL with 7-segment displays and a 16-bit result bus, fully controllable via signals and testbench-simulated gameplay.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published