SlideShare a Scribd company logo
LAB PROJECT 1
NAME: LAKSHMI YASASWI KAMIREDDY
UIN: 651771619
Problem Description:
The aim of the project is to design 16 bit addersusing different addersand design styles and to understand how these parameters
effect the gate count, propagation delay and the RTL view of the design. The components designed are a Full Adder (gate level),
a RCA 16-bit adder, a 2’s compliment adder/subtractor (gate level and behavioral level) and a Linear Carry Select Adder.
Full Adder – Gate Level Design
The functionality of a Full Adder is to calculate sum and carry when a sum of two input bits and a carry in is performed.
Truth Table:
Schematic:
RTL View:
The RTL View shows that the Full adder design matches the Schematic.
Code:
16 bit RCA:
It is designed by connecting 16 full adders as shown in the schematic. A and B are 16 bit input vectors, Cin is the carry in, Sum
is the 16 bit output vector and Cout is the carry out. This adder will have large delay because of its worst case path (shown in
the schematic) going through all the full adders which will be 16*delay of FA.
Schematic:
Code:
Gate Level
Description
Test Bench:
RTL View:
RTL Simulation Waveform:
The waveform shows the functionality of the RCA.
Gate Level Simulation Waveform in slow model (with a sample delay):
Number of combinational functions:
Maximum propagation delay:
2’s compliment Adder/Subtractor:
Using the RCA built an adder/subtractor is designed as shown in the Schematic. An XOR is for the input B and Add/Sub bit
because when subtraction has to be done 2’compliment needs to be calculated. The XOR with 1 gives the 1’s compliment and
through Cin which is the add/sub input, a 1 is added with gives the 2’compliment result. Worst case delay will be delay of the
RCA + 2*XOR delay.
Schematic:
Code:
Test Bench:
RTL View:
To check if the B is
negative andperform
2’s compliment
RTL Simulation Waveform Unsigned:
RTL Simulation Signed:
Gate Level Simulation Slow mode Unsigned:
Gate Level Simulation Slow mode signed:
Number of combinational functions:
Maximum Propagation Delay:
Adder/Subtractor Behavioral
In this case if the add/sub bit is 1 i.e, Cin=1 then we do X-Y else we do X+Y using behavioral statements.
Code:
Testbench
Behavioral statements
RTL View
RTL Simulation - Unsigned
RTL Simulation – Signed
Gate Level Simulation - Unsigned
Gate Level Simulation - Signed
Number of combinational functions:
Maximum Propagation delay:
Note that the delaydecreasedwhen
comparedto the gate level model butthe
numberof combinational functions
increased.
Linear Carry Select Adder:
Schematic:
Code:
Carry select 4 bit
Carry Select 16 bit
Behavioral
Structural
Test Bench:
RTL View:
CSA 4 bit
CSA 16 bit
RTL Simulation
Gate Level Simulation
Number of Combinational functions:
Maximum Propagation Delay
Design Number of Combinational
Functions
Maximum Propagation delay
RCA 16 bit gate level 38 18.968
Adder/Subtractor RCA gate
level
33 23.185
Adder/Subtractor behavioral 34 14.642
Carry Select Adder 60 16.996
The table above shows that if an efficient gate level design can be done then we can reduce the number of combinational
functions but a behavioral design is very efficient in reducing the delay. It can also be seen that CSA performs better in terms of
delay but has a high number of combinational functions. Higher the number of combinational functional higher will be the
number of gates in the circuit.
Propagationdelay
reducesas
comparedto RCA
but the numberof
combinational
functionsalmost
doubles.
Both cases
Delay
decreases
Huge increase in
numbermeans
CSA has very
higharea
Almost
equal

More Related Content

PPTX
Intel 8051 Programming in C
PPT
ODP
PPT
Arithmetic & logical operations in 8051
PDF
Chapter 7 8051 programming in c
PPTX
Programmable Logic Controls training day 1
PDF
Verilog lab manual (ECAD and VLSI Lab)
PPTX
Microprocessor Week 7: Branch Instruction
Intel 8051 Programming in C
Arithmetic & logical operations in 8051
Chapter 7 8051 programming in c
Programmable Logic Controls training day 1
Verilog lab manual (ECAD and VLSI Lab)
Microprocessor Week 7: Branch Instruction

What's hot (20)

DOCX
VLSI & E-CAD Lab Manual
PPTX
Programmable Logic Controls training day 2
PPT
Instruction Set 8085
DOCX
Wmc lab (1)
DOCX
e CAD lab manual
PDF
8085 data transfer instruction set
PDF
ECAD lab manual
PDF
SIMD - Peter Elderon
 
PPTX
Microprocessor Week 8: Advance programming
DOCX
Whats new in the upcoming MOVE3 Version 4.3-2015
PDF
Topic 1 Digital Technique Numbering system
DOCX
EC6612 VLSI Design Lab Manual
PPTX
Ei502 microprocessors & micrtocontrollers part 2(instructionset)
PDF
Master thesis presentation
PPTX
Issues in design_of_code_generator
PPTX
Hemanth143
PDF
a technical review of efficient and high speed adders for vedic multipliers
PPTX
Lecture 04 Logical Group of Instructions
PPT
Instruction set-of-8085
PDF
Issues in the design of Code Generator
VLSI & E-CAD Lab Manual
Programmable Logic Controls training day 2
Instruction Set 8085
Wmc lab (1)
e CAD lab manual
8085 data transfer instruction set
ECAD lab manual
SIMD - Peter Elderon
 
Microprocessor Week 8: Advance programming
Whats new in the upcoming MOVE3 Version 4.3-2015
Topic 1 Digital Technique Numbering system
EC6612 VLSI Design Lab Manual
Ei502 microprocessors & micrtocontrollers part 2(instructionset)
Master thesis presentation
Issues in design_of_code_generator
Hemanth143
a technical review of efficient and high speed adders for vedic multipliers
Lecture 04 Logical Group of Instructions
Instruction set-of-8085
Issues in the design of Code Generator
Ad

Viewers also liked (9)

PPTX
ECE 565 FInal Project
PPTX
ECE 565 presentation
DOCX
ECE 467 Final Project
PPT
самоврядування
PPTX
finalized MGMT4230_Presentation
PPTX
Портфоліо
PPT
податки
PPTX
географічні задачі
PPTX
SunumTürkiye'de Kadın Hakları
ECE 565 FInal Project
ECE 565 presentation
ECE 467 Final Project
самоврядування
finalized MGMT4230_Presentation
Портфоліо
податки
географічні задачі
SunumTürkiye'de Kadın Hakları
Ad

Similar to ECE 368 Lab Project 1 (20)

PDF
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
DOCX
DESIGN AND PERFORMANCE ANALYSIS OF BINARY ADDERS_edited
PPTX
PDF
carry select adder
PDF
Unit 3 Arithmetic building blocks and memory Design (1).pdf
PDF
High Speed and Area Efficient Booth Multiplier Using SQRT CSLA with Zero Find...
PDF
Ch33509513
PDF
Ch33509513
PDF
Implementation of Low Power and Efficient Carry Select Adder using CMOS Hybri...
PDF
Implementation of High Performance Carry Save Adder Using Domino Logic
PDF
Sidharth_report_proj1
PDF
High Speed Carryselect Adder
DOC
Design of chip controller
PDF
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
PDF
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
PPT
alu.ppt
PPT
Unit 4 dica
PDF
Lab 4 Three-Bit Binary Adder
PDF
kunjan ieee paper 1 bit full adder
PDF
Design and Implementation of Different types of Carry skip adder
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
DESIGN AND PERFORMANCE ANALYSIS OF BINARY ADDERS_edited
carry select adder
Unit 3 Arithmetic building blocks and memory Design (1).pdf
High Speed and Area Efficient Booth Multiplier Using SQRT CSLA with Zero Find...
Ch33509513
Ch33509513
Implementation of Low Power and Efficient Carry Select Adder using CMOS Hybri...
Implementation of High Performance Carry Save Adder Using Domino Logic
Sidharth_report_proj1
High Speed Carryselect Adder
Design of chip controller
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
DESIGN AND IMPLEMENTATION OF AN IMPROVED CARRY INCREMENT ADDER
alu.ppt
Unit 4 dica
Lab 4 Three-Bit Binary Adder
kunjan ieee paper 1 bit full adder
Design and Implementation of Different types of Carry skip adder

More from Lakshmi Yasaswi Kamireddy (9)

DOCX
Memory Access Scheduling
DOCX
ECE 468 Lab Project 1
DOCX
ECE 468 Lab Project 2
PDF
ECE 467 Mini project 2
PDF
ECE 467 Mini project 1
PDF
Survey paper _ lakshmi yasaswi kamireddy(651771619)
DOC
Survey on Prefix adders
PPTX
ECE469 Project1
PDF
ECE469 proj2_Lakshmi Yasaswi Kamireddy
Memory Access Scheduling
ECE 468 Lab Project 1
ECE 468 Lab Project 2
ECE 467 Mini project 2
ECE 467 Mini project 1
Survey paper _ lakshmi yasaswi kamireddy(651771619)
Survey on Prefix adders
ECE469 Project1
ECE469 proj2_Lakshmi Yasaswi Kamireddy

Recently uploaded (20)

PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
PPT on Performance Review to get promotions
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Well-logging-methods_new................
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPT
Project quality management in manufacturing
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
R24 SURVEYING LAB MANUAL for civil enggi
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT on Performance Review to get promotions
III.4.1.2_The_Space_Environment.p pdffdf
Fundamentals of safety and accident prevention -final (1).pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Well-logging-methods_new................
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Categorization of Factors Affecting Classification Algorithms Selection
Project quality management in manufacturing
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF

ECE 368 Lab Project 1

  • 1. LAB PROJECT 1 NAME: LAKSHMI YASASWI KAMIREDDY UIN: 651771619 Problem Description: The aim of the project is to design 16 bit addersusing different addersand design styles and to understand how these parameters effect the gate count, propagation delay and the RTL view of the design. The components designed are a Full Adder (gate level), a RCA 16-bit adder, a 2’s compliment adder/subtractor (gate level and behavioral level) and a Linear Carry Select Adder. Full Adder – Gate Level Design The functionality of a Full Adder is to calculate sum and carry when a sum of two input bits and a carry in is performed. Truth Table: Schematic: RTL View: The RTL View shows that the Full adder design matches the Schematic.
  • 2. Code: 16 bit RCA: It is designed by connecting 16 full adders as shown in the schematic. A and B are 16 bit input vectors, Cin is the carry in, Sum is the 16 bit output vector and Cout is the carry out. This adder will have large delay because of its worst case path (shown in the schematic) going through all the full adders which will be 16*delay of FA. Schematic: Code: Gate Level Description
  • 3. Test Bench: RTL View: RTL Simulation Waveform: The waveform shows the functionality of the RCA.
  • 4. Gate Level Simulation Waveform in slow model (with a sample delay): Number of combinational functions: Maximum propagation delay:
  • 5. 2’s compliment Adder/Subtractor: Using the RCA built an adder/subtractor is designed as shown in the Schematic. An XOR is for the input B and Add/Sub bit because when subtraction has to be done 2’compliment needs to be calculated. The XOR with 1 gives the 1’s compliment and through Cin which is the add/sub input, a 1 is added with gives the 2’compliment result. Worst case delay will be delay of the RCA + 2*XOR delay. Schematic: Code:
  • 6. Test Bench: RTL View: To check if the B is negative andperform 2’s compliment
  • 7. RTL Simulation Waveform Unsigned: RTL Simulation Signed: Gate Level Simulation Slow mode Unsigned: Gate Level Simulation Slow mode signed:
  • 8. Number of combinational functions: Maximum Propagation Delay:
  • 9. Adder/Subtractor Behavioral In this case if the add/sub bit is 1 i.e, Cin=1 then we do X-Y else we do X+Y using behavioral statements. Code: Testbench Behavioral statements
  • 10. RTL View RTL Simulation - Unsigned RTL Simulation – Signed Gate Level Simulation - Unsigned Gate Level Simulation - Signed
  • 11. Number of combinational functions: Maximum Propagation delay: Note that the delaydecreasedwhen comparedto the gate level model butthe numberof combinational functions increased.
  • 12. Linear Carry Select Adder: Schematic: Code: Carry select 4 bit Carry Select 16 bit Behavioral Structural
  • 14. CSA 16 bit RTL Simulation Gate Level Simulation Number of Combinational functions:
  • 15. Maximum Propagation Delay Design Number of Combinational Functions Maximum Propagation delay RCA 16 bit gate level 38 18.968 Adder/Subtractor RCA gate level 33 23.185 Adder/Subtractor behavioral 34 14.642 Carry Select Adder 60 16.996 The table above shows that if an efficient gate level design can be done then we can reduce the number of combinational functions but a behavioral design is very efficient in reducing the delay. It can also be seen that CSA performs better in terms of delay but has a high number of combinational functions. Higher the number of combinational functional higher will be the number of gates in the circuit. Propagationdelay reducesas comparedto RCA but the numberof combinational functionsalmost doubles. Both cases Delay decreases Huge increase in numbermeans CSA has very higharea Almost equal