Skip to content

Digital-Circuit-Design/VHDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIWA

UNIVERSITY OF WEST ATTICA
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING AND INFORMATICS

University of West Attica · Department of Computer Engineering and Informatics


Digital Circuit Design

Introduction to the simulation environment

Vasileios Evangelos Athanasiou
Student ID: 19390005

GitHub · LinkedIn


Supervision

Supervisor: Ioannis Vogiatzis, Professor

UNIWA Profile · LinkedIn

Supervisor: Panagiotis Karkazis, Associate Professor

UNIWA Profile · LinkedIn

Co-supervisor: Athanasios Milidonis, Postdoctoral Researcher

Scholar · LinkedIn


Athens, May 2023



README

Introduction to the simulation environment

The project focuses on implementing fundamental digital logic components using VHDL and verifying their functionality through simulation in the ModelSim Altera Starter Edition environment.
Each circuit includes:

  • A Dataflow Architecture implementation
  • A dedicated testbench for functional verification

Table of Contents

Section Folder / File Description
1 assign/ Laboratory assignment material
1.1 assign/Lab3_UniWA-BSc-DSD_VHDL#1.pdf Laboratory exercise description (English)
1.2 assign/Εργαστήριο3_ΠΑΔΑ_Βασική-ΣΨΣ_VHDL.pdf Laboratory exercise description (Greek)
2 docs/ Simulation environment documentation
2.1 docs/Introduction-to-the-simulation-environment.txt Introduction to the VHDL simulation environment (English)
2.2 docs/Εισαγωγή-στο-περιβάλλον-προσομοίωσης.txt Introduction to the VHDL simulation environment (Greek)
3 src/ VHDL source code and testbenches
3.1 src/ha.vhd Half Adder (VHDL implementation)
3.2 src/ha_tb.vhd Half Adder testbench
3.3 src/fa.vhd Full Adder (VHDL implementation)
3.4 src/fa_tb.vhd Full Adder testbench
3.5 src/adder4.vhd 4-bit Adder
3.6 src/adder4_tb.vhd 4-bit Adder testbench
3.7 src/dec2to4.vhd 2-to-4 Decoder
3.8 src/dec2to4_tb.vhd 2-to-4 Decoder testbench
3.9 src/dec_4to16.vhd 4-to-16 Decoder
3.10 src/dec_4to16_tb.vhd 4-to-16 Decoder testbench
3.11 src/mux1.vhd 2-to-1 Multiplexer
3.12 src/mux_tb.vhd 2-to-1 Multiplexer testbench
3.13 src/mux_4to1.vhd 4-to-1 Multiplexer
3.14 src/mux_4to1_tb.vhd 4-to-1 Multiplexer testbench
3.15 src/mux_double_2to1.vhd Double 2-to-1 Multiplexer
3.16 src/mux_double_2to1_tb.vhd Double 2-to-1 Multiplexer testbench
4 README.md Project documentation
5 INSTALL.md Usage instructions

1. Circuits Included

1.1 Multiplexers

  • 2-in-1 Multiplexer: Basic bit-level selection between two inputs.
  • Triple 2-in-1 Multiplexer: Handles two 3-bit inputs controlled by a single select signal.
  • 4-in-1 Multiplexer: Selects one of four inputs using a 2-bit control signal.

1.2 Decoders

  • 2-in-4 Decoder: Standard 2-to-4 line decoding logic.
  • 2-in-4 Decoder with Enable: Includes an enable (en) signal; when disabled, all outputs remain 0.
  • 4-in-16 Decoder: Extended decoder for larger-scale decoding operations.

1.3 Arithmetic Circuits

  • Half Adder (Semi-Assimilator): Performs basic addition of two single-bit inputs, producing Sum and Carry outputs.
  • Full Adder: Adds two bits and a Carry-in (Cin) to produce Sum and Carry-out outputs.
  • 4-Bit Adder: A vector-based arithmetic unit that computes the sum of two 4-bit inputs, including overflow detection via Carry-out.

2. Simulation & Verification

All designs are verified using ModelSim Altera Starter Edition, ensuring correctness through waveform analysis and systematic testbench execution.

About

Educational VHDL project for implementing fundamental digital logic circuits (adders, multiplexers, decoders) with dataflow architecture and testbench-based verification using ModelSim (Digital Circuit Design, UNIWA).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages