Professional Documents
Culture Documents
Digital Circuits and Systems Lab: Bachelor of Technology in Electronics and Communication Engineering
Digital Circuits and Systems Lab: Bachelor of Technology in Electronics and Communication Engineering
Bachelor of Technology
in
Electronics and Communication Engineering
by
Course Coordinator
Dr. Kusum Lata
August 2020
Copyright Ⓧ
c The LNMIIT 2017
All Rights Reserved
Contents
Chapter Page
1 Experiment - 1 .................................................................................................................................. 1
1.1 Name of the Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Coding Techniques used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.4 Simulation and Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.1 Half Adder using Dataflow Modeling . . . . . . . . . . . . . . . . . . . . . . 2
1.4.2 Half Adder using Behavioral modeling . . . . . . . . . . . . . . . . . . . . . 2
1.4.3 Full Adder using Dataflow modeling . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.4 Full Adder using Behavioral modeling . . . . . . . . . . . . . . . . . . . . . . 2
1.4.5 Full Adder using Structural modeling . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
iii
Chapter 1
Experiment - 1
To design, simulate and implement Half adder, Full adder using dataflow, behavioral and structural
modeling in VHDL.
1.2 Theory
Half Adder - Half adder is a combinational circuit which uses two inputs( ’a’ and ’b’ ) and gives sum
and carry as output where, sum is ’a’ xor ’b’ and carry is ’a’ and ’b’. AND and XOR gate are employed
in its design implementation.
Full adder - Full adder is a combinational circuit which uses three inputs( ’a’ and ’b’ and ’cin’ ) and
gives sum and carry as output where, sum is ’a’ xor ’b’ xor ’cin’ and carry is ’a.b’ or ’b.cin’ or ’cin.a’.
Full adder can also be implemented using half adder.
1
3. Structural Modeling
Structural modeling is used to describe circuit in terms of component which are already defined
earlier. We are using structural modeling to implement full adder using half adder as a component
and the half adder is defined earlier.
2
Figure 1.2 Project Summary of the Half adder using Dataflow modeling
3
Figure 1.4 Schematic of the Half adder using Behavioral modeling
Figure 1.5 Project Summary of the Half adder using Behavioral modeling
4
Figure 1.6 Simulation of the Half adder using Behavioral modeling
5
Figure 1.8 Project Summary of the Full adder using Dataflow modeling
6
Figure 1.11 Project Summary of the Full adder using Behavioral modeling
7
Figure 1.13 Schematic of the Full adder using Structural modeling
Figure 1.14 Project Summary of the Full adder using Structural modeling
8
Name of the Entity No. of LUT used Total On chip Power
Half Adder using Dataflow 1 0.721W
Half Adder using Behavioral 1 0.721W
Full Adder using Dataflow 1 0.958W
Full Adder using Behavioral 1 0.956W
Full Adder using Structural 1 0.958W
Table 1.1 Comparison of Area and power requirements for different kinds of adders.