A collection of RTL designs and digital circuits implemented in VHDL.
- Adders - Half Adder, Full Adder
- MUX - 4-to-1 Multiplexer
- Decoders - 2-to-4 Decoder
- Sequential - GCD Finite State Machine
- PatternCounter - Pattern Detection FSM
- FourBitAdder - 4-bit Ripple Carry Adder (Vivado Project)
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
- GHDL - VHDL Simulator
- GTKWave - Waveform Viewer
- Xilinx Vivado - FPGA Synthesis and Implementation
-
Compile the design:
ghdl -a half_adder.vhd ghdl -a half_adder_tb.vhd
-
Elaborate:
ghdl -e half_adder_tb
-
Run simulation:
ghdl -r half_adder_tb --vcd=half_adder.vcd
-
View waveform:
gtkwave half_adder.vcd
See the Notes/ folder for learning notes and design decisions.
See LICENSE for details.
Author: OMDEH
Status: Student Project - 4th Year Engineering