Skip to content

yma2929/ALU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

4-Bit Arithmetic Logic Unit (ALU) - DLD Lab Project

A theoretical design and simulation of a basic 4-bit Arithmetic Logic Unit (ALU), created as a project for a Digital Logic Design course. This project focuses on the hardware implementation of addition and subtraction operations using fundamental logic chips.

Digital Logic Tinkercad Combinational Logic

🧠 Project Overview

This ALU is a combinational circuit that performs two core arithmetic operations on two 4-bit binary inputs (A and B), selected by a mode bit (M0). The result is displayed on a 7-segment display.

Mode (M0) Operation Output
0 Addition F = A + B
1 Subtraction F = A - B

βš™οΈ Implementation

The design was implemented and simulated in Tinkercad using the following integrated circuits (ICs):

  • 1x 74LS83: 4-bit binary full adder (Core of the arithmetic unit)
  • 1x 74153: Dual 4-line to 1-line data selector/multiplexer (Used for mode selection)
  • 1x 7447: BCD-to-seven segment decoder (Drives the display)
  • 1x Common-Anode Seven-Segment Display
  • DIP Switches & Toggle Switches for inputting values and selecting the mode.

πŸ“Š Key Features

  • 4-bit Data Processing: Handles binary numbers from 0000 to 1001 (0 to 9 in decimal).
  • Two Operations: Performs both addition and subtraction based on the control input.
  • Visual Output: Displays the result on a 7-segment LED display.
  • Combinational Logic: Output is purely dependent on the current inputs (no clock/sequential logic).

πŸ“ Project Contents

This repository contains the design documentation and report for the project, which includes:

  • Circuit design and logic equations.
  • Screenshots of the complete functional simulation from Tinkercad.

Tinkercard links:

This project was a theoretical exercise in digital circuit design and simulation.

About

A hardware-based 4-bit ALU designed in Tinkercad using adder and multiplexer ICs to perform addition and subtraction, with output on a 7-segment display. A project in Digital Logic Design.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors