SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
EXPERIMENT 5
NAME: SHYAMVEER SINGH
Roll No: B-54
REG No:11205816
AIM: Implementation of parallel adder using half adder and full
adder.
APPARETUS: Xillin 9.2i
THEORY : Parallel adder use to parallel addition of the binary bits
using any addition process like half adder or full adder.
Addition will start from LSB and till MSB and if there any carry
generated than we will store it in a new variable.
TRUTH TABLE:
a 1 0 1 1
b 1 1 0 1
sum 1 0 0 0
cin 1 1 1 1
cout 1
VERILOG CODE:
module pashyam(a,b,sum,cout);
input [3:0] a,b;
output [3:0] sum;
output cout;
wire c0,c1,c2;
halfadd f1(a[0],b[0],sum[0],c0);
fa f2(a[1],b[1],c0,sum[1],c1);
fa f3(a[2],b[2],c1,sum[2],c2);
fa f4(a[3],b[3],c2,sum[3],cout);
endmodule
module fa(a,b,c,sum,carry);
input a,b,c;
output sum,carry;
assign sum=(a^b^c);
assign carry=(a&b)|(b&c)|(c&a);
endmodule
module halfadd(a,b,sum,carry);
input a,b;
output sum,carry;
assign sum=((~a)&b)|(a&(~b));
assign carry=a&b;
endmodule
RTL Simulation:
OUTPUT WAVE FORM:
Verilog VHDL code Parallel adder

More Related Content

PDF
VERILOG CODE FOR Adder
PDF
8086 modes
PDF
Verilog full adder in dataflow & gate level modelling style.
PPTX
PIC Microcontroller | ADC Interfacing
PPTX
Interrupts of microprocessor 8085
PDF
Information theory
PDF
Verilog VHDL code Decoder and Encoder
DOCX
Microprocessor Interfacing and 8155 Features
VERILOG CODE FOR Adder
8086 modes
Verilog full adder in dataflow & gate level modelling style.
PIC Microcontroller | ADC Interfacing
Interrupts of microprocessor 8085
Information theory
Verilog VHDL code Decoder and Encoder
Microprocessor Interfacing and 8155 Features

What's hot (20)

PDF
Unit II Study of Onchip Peripherals
PDF
Verilog Tasks & Functions
ODP
axi protocol
PPTX
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
PPTX
BCH Codes
ODP
APB protocol v1.0
PDF
Sampling Theorem
PPT
Switch level modeling
PPTX
Msp 430 addressing modes module 2
PPTX
Carry look ahead adder
PPT
Multipliers in VLSI
PPTX
8237 dma controller
PPTX
PPTX
PULSE WIDTH MODULATION &DEMODULATION
DOCX
ARM lab programs
PDF
Digital Data, Digital Signal | Scrambling Techniques
PPT
PPT
8086-instruction-set-ppt
PPT
Dsss final
PPTX
Reed solomon codes
Unit II Study of Onchip Peripherals
Verilog Tasks & Functions
axi protocol
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
BCH Codes
APB protocol v1.0
Sampling Theorem
Switch level modeling
Msp 430 addressing modes module 2
Carry look ahead adder
Multipliers in VLSI
8237 dma controller
PULSE WIDTH MODULATION &DEMODULATION
ARM lab programs
Digital Data, Digital Signal | Scrambling Techniques
8086-instruction-set-ppt
Dsss final
Reed solomon codes
Ad

Viewers also liked (16)

PDF
Good report on Adders/Prefix adders
PDF
High performance parallel prefix adders with fast carry chain logic
PPT
Parallel adder
DOCX
Parallel Adder
PPTX
Binary parallel adder
PDF
Design of 32 bit Parallel Prefix Adders
PDF
verilog code for logic gates
DOCX
DESIGN AND PERFORMANCE ANALYSIS OF BINARY ADDERS_edited
PPTX
Ripple adder
PPT
Parallel Prefix Adders Presentation
PPTX
Parallel Adder and Subtractor
DOC
VLSI Experiments I
PDF
implementation and design of 32-bit adder
PPTX
Digital Code Lock
PDF
vlsi projects using verilog code 2014-2015
PPTX
Kogge Stone Adder
Good report on Adders/Prefix adders
High performance parallel prefix adders with fast carry chain logic
Parallel adder
Parallel Adder
Binary parallel adder
Design of 32 bit Parallel Prefix Adders
verilog code for logic gates
DESIGN AND PERFORMANCE ANALYSIS OF BINARY ADDERS_edited
Ripple adder
Parallel Prefix Adders Presentation
Parallel Adder and Subtractor
VLSI Experiments I
implementation and design of 32-bit adder
Digital Code Lock
vlsi projects using verilog code 2014-2015
Kogge Stone Adder
Ad

Similar to Verilog VHDL code Parallel adder (20)

PDF
Ecad &vlsi lab 18
PDF
Carry save adder Type 2
PPTX
Week-9-DD-1112788544502024-020104pm.pptx
PDF
siudhai ki marks sheih shuuu kvms jiiiiv
PDF
IRJET- Implementation of FIR Filter using Self Tested 2n-2k-1 Modulo Adder
PPTX
Parallel Adder_Mul_Mag.pptx
PPTX
Adder Presentation
PPTX
Binary parallel adder
PDF
VLSI Lab manual PDF
PDF
implementing-half-and-full-adders-in-verilog.pdf
PDF
Week-6-Lecture-6-Arithmetic-processing-unit-implementation.pdf
DOC
All VLSI programs
PDF
Lab 4 Three-Bit Binary Adder
PPT
Arithmetic for computers which talks about
PPT
how computers do math from patterson and hennessey book
PPTX
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
PPTX
mod-4.pptx
PDF
Evaluation of High Speed and Low Memory Parallel Prefix Adders
PPT
ARITHMETIC LOGIC UNIT.ppt
PPTX
Dld presentation
Ecad &vlsi lab 18
Carry save adder Type 2
Week-9-DD-1112788544502024-020104pm.pptx
siudhai ki marks sheih shuuu kvms jiiiiv
IRJET- Implementation of FIR Filter using Self Tested 2n-2k-1 Modulo Adder
Parallel Adder_Mul_Mag.pptx
Adder Presentation
Binary parallel adder
VLSI Lab manual PDF
implementing-half-and-full-adders-in-verilog.pdf
Week-6-Lecture-6-Arithmetic-processing-unit-implementation.pdf
All VLSI programs
Lab 4 Three-Bit Binary Adder
Arithmetic for computers which talks about
how computers do math from patterson and hennessey book
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
mod-4.pptx
Evaluation of High Speed and Low Memory Parallel Prefix Adders
ARITHMETIC LOGIC UNIT.ppt
Dld presentation

More from Bharti Airtel Ltd. (20)

PDF
Resume Shyamveer
DOC
BHEL Final Report
PPT
PDF
Amplitude modulated-systmes
PDF
Amplitude modulated-systems
PDF
Mcq5 ac-fet-amplifiers
PDF
Mcq6 ac-mosfet-amplifier
PDF
C bjt-biasing-and-stabilization
PDF
Mcq6 ac-mosfet-amplifier
PDF
Mcq4 ac-operational-amplifiers
PDF
Logic gates-notesdc-iii
PDF
C bjt-biasing-and-stabilization
PDF
B bjt-characteristics
PDF
A bjt-operating-modes-configurations
PDF
Resume shyam final
PDF
Noise detection from the signal matlab code, Signal Diagnosis
PDF
Sequence detector Verilog Code
PDF
Divine inspiration
PDF
To designing counters using verilog code
PDF
Verilog VHDL code Multiplexer and De Multiplexer
Resume Shyamveer
BHEL Final Report
Amplitude modulated-systmes
Amplitude modulated-systems
Mcq5 ac-fet-amplifiers
Mcq6 ac-mosfet-amplifier
C bjt-biasing-and-stabilization
Mcq6 ac-mosfet-amplifier
Mcq4 ac-operational-amplifiers
Logic gates-notesdc-iii
C bjt-biasing-and-stabilization
B bjt-characteristics
A bjt-operating-modes-configurations
Resume shyam final
Noise detection from the signal matlab code, Signal Diagnosis
Sequence detector Verilog Code
Divine inspiration
To designing counters using verilog code
Verilog VHDL code Multiplexer and De Multiplexer

Recently uploaded (20)

PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
Project quality management in manufacturing
PPT
Drone Technology Electronics components_1
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPT
Chapter 6 Design in software Engineeing.ppt
PDF
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
PPTX
Sustainable Sites - Green Building Construction
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Queuing formulas to evaluate throughputs and servers
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Simulation of electric circuit laws using tinkercad.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
DOCX
573137875-Attendance-Management-System-original
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CYBER-CRIMES AND SECURITY A guide to understanding
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
bas. eng. economics group 4 presentation 1.pptx
Internet of Things (IOT) - A guide to understanding
Project quality management in manufacturing
Drone Technology Electronics components_1
CH1 Production IntroductoryConcepts.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Chapter 6 Design in software Engineeing.ppt
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
Sustainable Sites - Green Building Construction
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Embodied AI: Ushering in the Next Era of Intelligent Systems
Queuing formulas to evaluate throughputs and servers
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Simulation of electric circuit laws using tinkercad.pptx
Lesson 3_Tessellation.pptx finite Mathematics
573137875-Attendance-Management-System-original
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Verilog VHDL code Parallel adder

  • 1. EXPERIMENT 5 NAME: SHYAMVEER SINGH Roll No: B-54 REG No:11205816 AIM: Implementation of parallel adder using half adder and full adder. APPARETUS: Xillin 9.2i THEORY : Parallel adder use to parallel addition of the binary bits using any addition process like half adder or full adder. Addition will start from LSB and till MSB and if there any carry generated than we will store it in a new variable. TRUTH TABLE: a 1 0 1 1 b 1 1 0 1 sum 1 0 0 0 cin 1 1 1 1 cout 1 VERILOG CODE: module pashyam(a,b,sum,cout); input [3:0] a,b; output [3:0] sum; output cout; wire c0,c1,c2; halfadd f1(a[0],b[0],sum[0],c0); fa f2(a[1],b[1],c0,sum[1],c1); fa f3(a[2],b[2],c1,sum[2],c2); fa f4(a[3],b[3],c2,sum[3],cout);
  • 2. endmodule module fa(a,b,c,sum,carry); input a,b,c; output sum,carry; assign sum=(a^b^c); assign carry=(a&b)|(b&c)|(c&a); endmodule module halfadd(a,b,sum,carry); input a,b; output sum,carry; assign sum=((~a)&b)|(a&(~b)); assign carry=a&b; endmodule RTL Simulation: