Skip to content

Darawsha/Digital-System-Design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital System Design

A collection of RTL designs and digital circuits implemented in VHDL.

📚 Modules

Combinational Logic

  • Adders - Half Adder, Full Adder
  • MUX - 4-to-1 Multiplexer
  • Decoders - 2-to-4 Decoder

Sequential Logic

  • Sequential - GCD Finite State Machine
  • PatternCounter - Pattern Detection FSM

Projects

  • FourBitAdder - 4-bit Ripple Carry Adder (Vivado Project)

📁 Repository Structure

Digital-System-Design/
├── Adders/
│   ├── half_adder.vhd
│   ├── half_adder_tb.vhd
│   ├── full_adder.vhd
│   ├── full_adder_tb.vhd
│   └── waveforms/
├── MUX/
│   ├── mux4to1.vhd
│   ├── mux4to1_tb.vhd
│   └── waveforms/
├── Decoders/
│   ├── decoder2to4.vhd
│   ├── decoder2to4_tb.vhd
│   └── waveforms/
├── Sequential/
│   ├── GCD_ASM.vhd
│   ├── GCD_ASM_tb.vhd
│   └── waveforms/
├── PatternCounter/
│   ├── pattern_counter.vhd
│   ├── pattern_counter_tb.vhd
│   └── waveforms/
├── FourBitAdder/          # Vivado project
├── Documentation/          # Design diagrams
└── Notes/                 # Learning notes

� Tools Used

  • GHDL - VHDL Simulator
  • GTKWave - Waveform Viewer
  • Xilinx Vivado - FPGA Synthesis and Implementation

🚀 How to Simulate

Using GHDL

  1. Compile the design:

    ghdl -a half_adder.vhd
    ghdl -a half_adder_tb.vhd
  2. Elaborate:

    ghdl -e half_adder_tb
  3. Run simulation:

    ghdl -r half_adder_tb --vcd=half_adder.vcd
  4. View waveform:

    gtkwave half_adder.vcd

� Learning Resources

� Notes

See the Notes/ folder for learning notes and design decisions.

📄 License

See LICENSE for details.


Author: OMDEH
Status: Student Project - 4th Year Engineering

About

A collection of RTL designs and digital system modules

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages