Skip to content

Prabhat-amgain/VHDL-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

⚡ VHDL-Codes

A clean collection of beginner-friendly VHDL programs along with their testbenches. This repository is perfect for students and learners who want to understand digital logic design, simulation, and waveform analysis using GHDL and GTKWave.


⭐ Highlights

  • ✔️ Simple, readable, and well-structured VHDL codes
  • ✔️ Testbenches included for every module
  • ✔️ Great for university labs & digital logic learning
  • ✔️ Works on any simulator supporting VHDL-93
  • ✔️ Perfect starting point for FPGA and hardware design enthusiasts

▶️ Running the Code (GHDL + GTKWave)

1. Analyze (compile) the design

ghdl -a and_gate.vhd

2. Analyze the testbench

ghdl -a tb_and_gate.vhd

3. Elaborate

ghdl -e tb_and_gate

4. Run simulation

ghdl -r tb_and_gate --vcd=and_gate.vcd

5. View waveform

gtkwave and_gate.vcd

📸 GTKWave Output

You can upload your waveform images here to showcase the simulation result:

AND Gate Output

Screenshot 2025-11-27 122628

Other Gate Outputs

Screenshot 2025-11-27 123249

📘 Included Concepts

  • AND, OR, NOT, NAND, NOR gates
  • 2:1 Multiplexer
  • Writing and understanding testbenches
  • Basic waveform inspection
  • Digital logic behavior in simulation

🤝 Contribution

Want to add more VHDL modules or testbenches? Feel free to fork the repo, improve the code, and open a pull request!


© Copyright

© 2025 Prabhat-amgain All rights reserved. This repository is owned and maintained by Prabhat Amgain.


📜 License

This project is open-source and released under the MIT License.


About

collection of VHDL programs with simple and clear testbenches. Designed for beginners to learn design and simulation. Easily runnable using GHDL for simulation and GTKWave for waveform analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages