Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Full Adder Circuit Design and Implementation: A Comprehensive Laboratory Report, Lab Reports of Computer Programming

This laboratory report provides a detailed account of the design, implementation, and testing of a full adder circuit. It covers both software and hardware methodologies, including schematic entry in altera quartus ii, simulation in modelsim and tinkercad, and physical construction on a breadboard using 74xx-series chips. The report also includes a comprehensive analysis of the circuit's performance, comparing different implementation methods and highlighting key observations. Valuable for students studying digital logic circuits, simulation techniques, and hardware implementation.

Typology: Lab Reports

2024/2025

Uploaded on 04/03/2025

chine-hazel-hudaya
chine-hazel-hudaya ๐Ÿ‡ต๐Ÿ‡ญ

1 document

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1. Introduction
This laboratory activity involved the design and implementation of a full adder circuit. The full
adder was developed using both software and hardware methodologies. The software
implementation utilized Altera Quartus II for schematic entry and ModelSim for simulation. The
hardware implementation involved constructing the adder on a breadboard using 74xx-series
chips and programming it onto a DE2-115 FPGA board. The purpose of this lab was to gain a
deeper understanding of digital logic circuits, simulation techniques, and hardware
implementation.
2. Design, Testing and Documentation
2.1 Concept
The objective of the lab was to design and test a full adder circuit, a fundamental component in
digital arithmetic. The full adder takes three binary inputs (A, B, and Cin) and produces two
outputs: the sum (S) and the carry-out (Cout). This design ensures that the adder can be
cascaded to form multi-bit adders for larger arithmetic operations.
2.2 Implementation
2.2.1 Hardware Description
โ— The full adder was built on a breadboard using XOR, AND, and OR gates.
โ—Inputs were directly connected to the logic gates without using switches.
โ—Outputs were displayed using LED indicators.
Figure 1: Breadboard Implementation
2.2.2 Software Description
โ— Schematic Entry: The full adder circuit was designed in Quartus II.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Full Adder Circuit Design and Implementation: A Comprehensive Laboratory Report and more Lab Reports Computer Programming in PDF only on Docsity!

1. Introduction

This laboratory activity involved the design and implementation of a full adder circuit. The full adder was developed using both software and hardware methodologies. The software implementation utilized Altera Quartus II for schematic entry and ModelSim for simulation. The hardware implementation involved constructing the adder on a breadboard using 74xx-series chips and programming it onto a DE2-115 FPGA board. The purpose of this lab was to gain a deeper understanding of digital logic circuits, simulation techniques, and hardware implementation.

2. Design, Testing and Documentation

2.1 Concept The objective of the lab was to design and test a full adder circuit, a fundamental component in digital arithmetic. The full adder takes three binary inputs (A, B, and Cin) and produces two outputs: the sum (S) and the carry-out (Cout). This design ensures that the adder can be cascaded to form multi-bit adders for larger arithmetic operations. 2.2 Implementation 2.2.1 Hardware Description โ— The full adder was built on a breadboard using XOR, AND, and OR gates. โ— Inputs were directly connected to the logic gates without using switches. โ— Outputs were displayed using LED indicators. Figure 1: Breadboard Implementation 2.2.2 Software Description โ— Schematic Entry: The full adder circuit was designed in Quartus II.

โ— Simulation: The design was simulated in ModelSim and Tinkervad to verify correct outputs. โ— FPGA Implementation: The design was programmed onto the DE2-115 FPGA board. 2.3 Testing & Documentation Each input combination was tested to ensure the correct outputs were produced Figure 2: Logic Circuit: Truth Table for full adder: Input Output Cin B A Cout S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 2.3.1 Simulation (Quartus)

2.3.2 Simulation Results in Tinkercad This figure presents the simulation output of the full

adder circuit in Tinkercad, illustrating the logical behavior of the circuit using virtual components. The results confirm the correctness of the design.

  • When A, B, and Cin are all 0, the outputs Cout and Sum are 0: - When any one of A, B, or Cin is 1 while the others are 0, the output Sum is 1, and Cout is

- When any two of A, B, or Cin are 1 while the other is 0, the output Sum is 0, and Cout is 1.

  • When any two of A, B, or Cin are 1 while the other is 0, the output Sum is 0, and Cout is 1.
  • When A, B, and Cin are all 1, the output Sum is 1, and Cout is 1. 2.3.4 Hardware Implementation (Altera FPGA) FPGA Implementation on DE2-115 Board The full adder circuit was successfully programmed onto the DE2-115 FPGA board. The figures showcase the correct mapping of inputs and

outputs to switches and LEDs.

When input are all 0, so all output are 0

When all input is 1, then all output is 1.

4. Results

4.1 Specific This section evaluates the performance of the full adder implementation in Quartus II, ModelSim, Tinkercad, and hardware setups (FPGA and breadboard). The testing focused on speed, accuracy, and error analysis. 4.2 Explanation of Data/Testing Each method of implementation was tested by applying different input combinations (A, B, C_in) and observing the outputs (Sum and C_out). The results were compared against the expected truth table values to confirm correctness. 4.3 Qualitative Analysis 4.3.1 Describe Outputs