Beruflich Dokumente
Kultur Dokumente
CS P33
DIGITAL SYSTEM DESIGN LABORATORY
II YEAR/III SEMESTER
LAB OBSERVATION
: ________________________________
Section
: ________________________________
Batch
:A
DEPARTMENT OF CSE
Subject Name
Code
CS P33
Lectures
Tutorial
Practical
(Periods)
(Periods)
(Periods)
LIST OF EXPERIMENTS
1. Study of logic gates
2. Verification of DeMorgans theorems using basic logic gates.
3. Design and implementation of adders and subtractors.
DEPARTMENT OF CSE
DEPARTMENT OF CSE
DATE
PAGE
NO.
MARKS
SIGNATURE
CYCLE I
1
6
7
8
9
10
11
12
13
14
15
16
DEPARTMENT OF CSE
:1
:
STUDY OF LOGIC GATES
AIM:
To study about logic gates and verify their truth tables.
APPARATUS REQUIRED:
Sl.No.
COMPONENT
SPECIFICATION
QTY
1.
IC 7408
2.
IC 7432
3.
NOT gate
IC 7404
4.
IC 7400
5.
IC 7402
6.
IC 7486
7.
IC 7410
8.
IC Trainer kit
9.
Patch Cord
As required
THEORY:
Circuit that takes the logical decision and the process are called logic gates. Each gate has
one or more input and only one output.
OR, AND and NOT are basic gates. NAND, NOR and X-OR are known as universal
gates. Basic gates form these gates.
AND GATE:
The AND gate performs a logical multiplication commonly known as AND function. The
output is high when both the inputs are high. The output is low level when any one of the inputs
is low.
OR GATE:
The OR gate performs a logical addition commonly known as OR function. The output is
high when any one of the inputs is high. The output is low level when both the inputs are low.
DEPARTMENT OF CSE
NOR GATE:
The NOR gate is a contraction of OR-NOT. The output is high when both inputs are low.
The output is low when one or both inputs are high.
X-OR GATE:
The output is high when any one of the inputs is high. The output is low when both the
inputs are low and both the inputs are high.
AND GATE:
SYMBOL:
PIN DIAGRAM:
DEPARTMENT OF CSE
PIN DIAGRAM:
NOT GATE:
SYMBOL:
PIN DIAGRAM:
DEPARTMENT OF CSE
PIN DIAGRAM :
PIN DIAGRAM:
DEPARTMENT OF CSE
PIN DIAGRAM:
NOR GATE:
SYMBOL:
PIN DIAGRAM:
DEPARTMENT OF CSE
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION& OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the functions of all logic gates are studies and verified.
DEPARTMENT OF CSE
:2
:
AIM:
To study and verification of DeMorgans theorems using basic logic gates.
APPARATUS REQUIRED:
Sl.No.
COMPONENT
SPECIFICATION
QTY
1.
IC 7408
2.
IC 7432
3.
NOT gate
IC 7404
4.
IC Trainer kit
5.
Patch Cord
As required
THEORY:
DeMorgans suggested tow theorems that form an important part of Boolean
DEPARTMENT OF CSE
Truth Table
1) AB = A + B
2) A+B = A.B
DEPARTMENT OF CSE
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the Demorgans Theorem is designed and implemented and the output
is verified.
DEPARTMENT OF CSE
:3
DATE
:
STUDY OF ADDERS AND SUBTRACTORS
AIM:
To study by design and construct half adder, full adder, half subtractors and full
subtractors circuits and verify their truth tables using logic gates.
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
4.
3.
4.
COMPONENT
Quad 2 input AND gate
Quad 2 input X-OR gate
Hex 1 input NOT gate
Quad 2 input OR gate
IC Trainer kit
Patch Cords
SPECIFICATION
IC 7408
IC 7486
IC 7404
IC 7432
-
QTY.
1
1
1
1
1
As required
THEORY:
HALF ADDER:
A half adder is a combinational circuit needs two binary inputs and two binary outputs.
The input variables designate the augend and addend bits, the output variables produce the sum
and carry. The half-adder can be implemented with an exclusive OR and an AND gate.
FULL ADDER:
A full adder is a combinational circuit that forms the arithmetic sum of input; it consists
of three inputs and two outputs. A full adder is useful to add three bits at a time. In full adder
sum output will be taken from X-OR Gate, carry output will be taken from OR Gate.
HALF SUBTRACTOR:
The half subtractor is constructed using X-OR and AND Gate. The half subtractor has
two input and two outputs. The outputs are difference and borrow. The difference can be applied
using X-OR Gate, borrow output can be implemented using an AND Gate and an inverter.
DEPARTMENT OF CSE
FULL SUBTRACTOR:
The full subtractor is a combination of X-OR, AND, OR, NOT Gates. In a full subtractor
the logic circuit should have three inputs and two outputs. The two half subtractor put together
gives a full subtractor .The first half subtractor will be C and A B. The output will be difference
output of full subtractor. The expression AB assembles the borrow output of the half subtractor
and the second term is the inverted difference output of first X-OR.
HALF ADDER
TRUTH TABLE:
SUM = AB + AB
=
CARRY = AB
DEPARTMENT OF CSE
LOGIC DIAGRAM:
FULL ADDER
FULL ADDER USING TWO HALF ADDER:
TRUTH TABLE:
DEPARTMENT OF CSE
CARRY = AB + BC + AC
LOGIC DIAGRAM:
HALF SUBTRACTOR
TRUTH TABLE:
DIFFERENCE = AB + AB
=
BORROW = AB
DEPARTMENT OF CSE
FULL SUBTRACTOR
TRUTH TABLE:
Borrow = AB + BC + AC
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
DEPARTMENT OF CSE
:4
DATE
:
DESIGN AND IMPLEMENTATION OF CODE CONVERTOR I
AIM:
To design and implement 4-bit
(i)
Binary to gray code converter
(ii)
Gray to binary code converter
APPARATUS REQUIRED:
Sl.No
COMPONENT
1.
Quad 2 input X-OR gate
2.
IC trainer kit
3.
Patch Cords
SPECIFICATION
IC 7486
-
QTY.
1
1
As required
THEORY:
Code is a symbolic representation of discrete information. Codes are of different types.
Gray Code is one of the most important codes. It is a non-weighted code which belongs to a
class of codes called minimum change codes. In this codes while traversing from one step to
another step only one bit in the code group, changes. In case of Gray Codetwo adjacent code
numbers differs from each other by only one bit. The idea of it can be cleared from the table
given below. As this code it is not applicable in any types of arithmetical operations but it has
some applications in analog to digital converters and in some input/output devices.
Binary to gray code conversion
Binary to gray code conversion is a very simple process. There are several steps to do this
types of conversions. Steps given below elaborate on the idea on this type of conversion.
(1) The M.S.B. of the gray code will be exactly equal to the first bit of the given binary number.
(2) Now the second bit of the code will be exclusive-or of the first and second bit of the given
binary number, i.e if both the bits are same the result will be 0 and if they are different the result
will be 1.
(3)The third bit of gray code will be equal to the exclusive-or of the second and third bit of the
given binary number. Thus the Binary to gray code conversion goes on.
Gray code to binary conversion
Gray code to binary conversion is again very simple and easy process. Following steps can make
your idea clear on this type of conversions.
(1) The M.S.B of the binary number will be equal to the M.S.B of the given gray code.
DEPARTMENT OF CSE
DEPARTMENT OF CSE
G3 = B3
G0= B1B0+B1B0
DEPARTMENT OF CSE
DEPARTMENT OF CSE
B3 = G3
B1 = G3 G2 G1
B2= G3G2+G3G2
B0 = G3 G2 G1 G0
DEPARTMENT OF CSE
LOGIC DIAGRAM:
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
DEPARTMENT OF CSE
:5
DATE
:
DESIGN AND IMPLEMENTATION OF CODE CONVERTOR -II
AIM:
To design and implement 4-bit
i)
BCD to excess-3 code converter
ii)
Excess-3 to BCD code converter
APPARATUS REQUIRED:
Sl.No
COMPONENT
1.
Quad 2 input X-OR gate
2.
Quad 2 input AND gate
3.
Quad 2 input OR gate
4.
Hex 1 input NOT gate
5.
IC trainer kit
6.
Patch ords
SPECIFICATION
IC 7486
IC 7408
IC 7432
IC 7404
-
QTY.
1
1
1
1
1
As required
THEORY:
Binary Coded Decimal (8-4-2-1):
BCD is an abbreviation for binary-coded-decimal. BCD is a numeric code in which each digit of
a decimal number is represented by a separate group of bits. The most common BCD code is 84-2-1 BCD, in which each decimal digit is represented by a 4-bit binary number. It is called 8-42-1 BCD because the weights associated with 4-bits are 8-4-2-1 from left to right. This means
that, bit 3 has weight 8, bit 2 has weight 4, bit 1 has weight 2 and bit 0 has weight 1.
In multi digit coding, each decimal digit is individually coded with 8-4-2-1BCD code.
For example, 58 in decimal can be encoded in 8-4-2-1 BCD as:
Decimal: 58
8-4-2-1 BCD:
0101
1000
DEPARTMENT OF CSE
TRUTH TABLE:
BCD TO EXCESS-3 CONVERTOR
DEPARTMENT OF CSE
E3 = B3 + B2 (B0 + B1)
DEPARTMENT OF CSE
TRUTH TABLE:
Excess-3 to BCD
DEPARTMENT OF CSE
K-Map for B:
A = X1 X2 + X3 X4 X1
K-Map for C:
K-Map for D:
DEPARTMENT OF CSE
LOGIC DIAGRAM:
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
DEPARTMENT OF CSE
EXP NO.
DATE :
:6
AIM:
To simplify the Boolean expressions and implement the circuit using
Logic Gates & Universal Logic Gates.
APPARATUS REQUIRED:
Sl No. COMPONENT
SPECIFICATION QTY
IC 7400
IC 7402
IC Trainer kit
Patch Cord
As required
THEORY:
NAND-NAND implementation
The rules for obtaining the NAND-NAND logic diagram from a Boolean function as follows:
(1) Simplify the given Boolean function and express it in sum of product form(SOP form)
(2) Draw a NAND gate for each product term of the function that has two or more literals. The
inputs to each NAND gate are the literals of the term. This constitutes a group of first level gates.
(3) If Boolean function includes any single literal or literals draw NAND gate for each single
literal and connect corresponding literal as an input to the NAND gate.
(4) Draw a single NAND gate in the second level, with input coming from outputs of first level
gates.
NOR-NOR implementation
The rules for obtaining the NOR-NOR logic diagram from a Boolean function as follows:
(1) Simplify the given Boolean function and express it in product of sum form(POS form)
(2) Draw a NOR gate for each product term of the function that has two or more literals. The
inputs to each NOR gate are the literals of the term. This constitutes a group of first level gates.
DEPARTMENT OF CSE
AND OR
NAND Bubbled OR
NAND NAND
LOGIC DIAGRAM OF NOR - NOR IMPLEMENATION:
F= (A + B)C
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the Boolean expressions and implement the circuit using Logic Gates & Universal
Logic Gates are studies and verified.
DEPARTMENT OF CSE
:7
SPECIFICATION QTY
IC 7486
IC trainer kit
Patch cord
As required
THEORY:
Parity is used for purpose of detecting errors and transmission of binary information. A
parity bit is an extra bit included with a binary message to make the number of 1s either odd or
even. The message including the parity bit is transmitted and then checked out the receiving end
for errors. An errors is detected if the checked parity does not correspond with the one
transmitted. The circuit generator the parity bit in the transmitted is called a parity generator.
The digital information is in binary form. If it is transmitted from one digital system to
another system an error may occur due to transients, noise and other disturbances. This means a
signal corresponding to a may change to 1 or vice versa. To catch these errors, a parity bit(0 or1)
is usually transmitted along with the original bits. The circuit used for generating parity bit is
called parity generator.
TRUTH TABLE:
Inputs
A
Outputs
C
ODD PARITY(PO)
EVEN PARITY(PE)
DEPARTMENT OF CSE
PE=
PO=
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the Combinational circuit for Parity checker and generator is designed
and implemented and the output is verified.
DEPARTMENT OF CSE
:8
DATE :
DESIGN AND IMPLEMENTATION OF SIMPLIFIED BOOLEAN EXPRESSION
USING MULTIPLEXER
AIM:
To study, design and implementation of multiplexer using logic gates.
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
2.
3.
COMPONENT
3 input AND gate
OR gate
NOT gate
IC trainer kit
Patch cords
SPECIFICATION
IC 7411
IC 7432
IC 7404
-
QTY.
2
1
1
1
As required
THEORY:
MULTIPLEXER:
Multiplexer means transmitting a large number of information units over a smaller
number of channels or lines. A digital multiplexer is a combinational circuit that selects binary
information from one of many input lines and directs it to a single output line. The selection of a
particular input line is controlled by a set of selection lines. Normally there are 2 n input line and
n selection lines whose bit combination determine which input is selected.
DEPARTMENT OF CSE
FUNCTION TABLE:
Select inputs
S1
S0
Data inputs
D0
D1
D2
Output
D3
Y = D0 S1 S0 + D1 S1 S0 + D2 S1 S0 + D3 S1 S0
CIRCUIT DIAGRAM FOR MULTIPLEXER:
DEPARTMENT OF CSE
Y2
Y3
Y4
OUTPUTS
Y5
Y6
Y7
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
DEPARTMENT OF CSE
:9
DATE :
DESIGN AND IMPLEMENTATION OF SIMPLIFED BOOLEAN EXPRESSIONS
USING DECODERS
AIM:
To study, design and implement decoder using logic gates.
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
2.
3.
COMPONENT
3 input NAND gate
OR gate
NOT gate
IC trainer kit
Patch cords
SPECIFICATION
IC 7410
IC 7432
IC 7404
-
QTY.
2
3
1
1
As required
THEORY:
DECODER:
A decoder is a multiple input multiple output logic circuit which converts coded input
into coded output where input and output codes are different. The input code generally has fewer
bits than the output code. Each input code word produces a different output code word i.e there is
one to one mapping can be expressed in truth table. In the block diagram of decoder circuit the
encoded information is present as n input producing 2n possible outputs. 2n output values are
from 0 through out 2n 1.
TRUTH TABLE:
INPUT
E
OUTPUT
B
D0
D1
D2
D3
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the design and implementation of simplified Boolean expressions using decoders
are studies and verified.
DEPARTMENT OF CSE
(ii)
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
4.
5.
6.
7.
COMPONENT
AND gate
X-OR gate
OR gate
NOT gate
4-bit magnitude
comparator
IC trainer kit
Patch cords
SPECIFICATION
IC 7408
IC 7486
IC 7432
IC 7404
IC 7485
QTY.
2
1
1
1
2
1
As required
THEORY:
The comparison of two numbers in an operation that determines if one number is greater
that, less than or equal to the other number. A magnitude comparator is combinational circuits
that compares the two number A and B, and determine their relative magnitudes. The outcome of
the comparison is specified by three binary variables that indicate whether A>B, A=B or A<B.
The circuit for comparing two n-bit numbers has 2n entries in the truth table and becomes
other hand as one may suspect a comparator circuit possess a certain amount of regularity.
Digital functions which possess on inheriting well defined regularity can usually are designed by
mean of an algorithmic procedure if one is found to exist.
An algorithm is a procedure that specifies a finite set of steps which if followed give the
solution to the problem. The algorithm is a direct application of the procedure a person uses to
compare the relative magnitude of the two numbers. Consider two number A and B. Write the
co-efficient of the number with descending significance as follows:
DEPARTMENT OF CSE
A1
Inputs
A0 B1
B0
A>B
Outputs
A=B
A<B
DEPARTMENT OF CSE
LOGIC DIAGRAM:
8-BIT MAGNITUDE COMPARATOR:
DEPARTMENT OF CSE
B
0000
0000
0001
A>B
A=B
A<B
0000
0000
0001
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the design and implementation Magnitude comparator is studied and verified
DEPARTMENT OF CSE
COMPONENT
Digital IC trainer kit
D-Flipflop
JK-Flipflop
NAND gate
Connecting wires
SPECIFICATION
QTY.
1
1
1
1
As required
IC 7474
IC 7476
IC 7400
THEORY:
A Flip Flop is a sequential device that samples its input signals and changes its output
states only at times determined by clocking signal. Flip Flops may vary in the number of inputs
they possess and the manner in which the inputs affect the binary states.
RS FLIP FLOP:
The clocked RS flip flop consists of NAND gates and the output changes its state with respect to
the input on application of clock pulse. When the clock pulse is high the S and R inputs reach
the second level NAND gates in their complementary form. The Flip Flop is reset when the R
input is high and S input is low. The Flip Flop is set when the S input is high and R input is
low. When both the inputs are high the output is in an indeterminate state.
D FLIP FLOP:
To eliminate the undesirable condition of indeterminate state in the SR Flip Flop when both
inputs are high at the same time, in the D Flip Flop the inputs are never made equal at the same
time. This is obtained by making the two inputs complement of each other.
DEPARTMENT OF CSE
CIRCUIT DIAGRAM:
DEPARTMENT OF CSE
INPUT
S
PRESENT
STATE (Q)
NEXT
STATE(Q+1)
D FLIP FLOP
PIN DIAGRAM:
DEPARTMENT OF CSE
INPUT (D)
OUTPUT (Q)
JK FLIP FLOP
PIN DIAGRAM:
DEPARTMENT OF CSE
INPUTS
J
OUTPUT(Q)
K
PROCEDURE:
1.
2.
3.
4.
5.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
DEPARTMENT OF CSE
DESIGN AND IMPLEMENATION OF Serial Input Parallel Output (SIPO) and Parallel
Input Serial Output (PISO) Shift Register.
AIM:
To study and implement shift register in various modes of operation
(i)
(ii)
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
4.
COMPONENT
D flip flop
OR gate
IC Trainer kit
Patch cords
SPECIFICATION
IC 7474
IC 7432
-
QTY.
2
1
1
As required
THEORY:
SHIFT REGISTER:
The Shift Register is another type of sequential logic circuit that is used for the storage or
transfer of data in the form of binary numbers and then "shifts" the data out once every clock
cycle, hence the name "shift register". It basically consists of several single bit "D-Type Data
Latches", one for each bit (0 or 1) connected together in a serial or daisy-chain arrangement so
that the output from one data latch becomes the input of the next latch and so on.
The data bits may be fed in or out of the register serially, i.e. one after the other from
either the left or the right direction, or in parallel, i.e. all together. The number of individual data
latches required to make up a single Shift Register is determined by the number of bits to be
stored with the most common being 8-bits (one byte) wide, i.e. eight individual data latches. The
individual data latches that make up a single shift register are all driven by a common clock
(Clk) signal making them synchronous devices.
DEPARTMENT OF CSE
PIN DIAGRAM:
DEPARTMENT OF CSE
TRUTH TABLE:
Parallel Outputs
CLK
Serial
QA
QB
QC
QD
inputs
DEPARTMENT OF CSE
TRUTH TABLE:
Parallel Inputs
CLK
Q3
Q2
Q1
Serial
Q0
Output
DEPARTMENT OF CSE
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the function of sequential circuits for SIPO & PISO are studied and verified by
truth table.
DEPARTMENT OF CSE
AIM:
To design and implement Ring and Johnson counters.
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
COMPONENT
D-Flip-flop
IC Trainer Kit
Patch Cords
SPECIFICATION
IC 7474
-
QTY.
4
1
As required
THEORY:
COUNTERS:
A shift register counter is basically a shift register with the serial output connected back to the
serial input to produce special sequences. These devices are often classified as counters because
they exhibit a specified sequence of states. Two of the most common types of shift register
counters, the Johnson counter and the ring counter.
RING COUNTERS:
A ring counter is basically a circulating shift register in which the output of the most significant
stage is fed back to the input of the least significant stage. The 4-bit ring counter is constructed
from D flip-flops. The output of each stage is shifted into the next stage on the positive edge of a
clock pulse. If the CLEAR signal is high, all the flip-flops except the first one FF0 are reset to
0. FF0 is preset to 1 instead.
Since the count sequence has 4 distinct states, the counter can be considered as a mod-4
counter. Only 4 of the maximum 16 states are used, making ring counters very inefficient in
terms of state usage. But the major advantage of a ring counter over a binary counter is that it is
self-decoding. No extra decoding circuit is needed to determine what state the counter is in.
DEPARTMENT OF CSE
LOGIC DIAGRAM:
RING COUNTER:
TRUTH TABLE:
Clock Pulse
Q0
Q1
Q2
Q3
DEPARTMENT OF CSE
TRUTH TABLE:
Clock Pulse
Q0
Q1
Q2
Q3
DEPARTMENT OF CSE
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the sequential circuit for Johnson and Ring counters are studied and verified by
truth table.
DEPARTMENT OF CSE
APPARATUS REQUIRED:
Sl.No.
1.
2.
3.
4.
COMPONENT
JK flip flop
NAND gate
IC trainer kit
Patch cords
SPECIFICATION
IC 7476
IC 7400
-
QTY.
2
1
1
As required
THEORY:
A counter is a register capable of counting number of clock pulse arriving at its clock
input. Counter represents the number of clock pulses arrived. A specified sequence of states
appears as counter output. This is the main difference between a register and a counter. There are
two types of counter, synchronous and asynchronous. In synchronous common clock is given to
all flip flop and in asynchronous first flip flop is clocked by external pulse and then each
successive flip flop is clocked by Q or Q output of previous stage. A soon the clock of second
stage is triggered by output of first stage. Because of inherent propagation delay time all flip
flops are not activated at same time which results in asynchronous operation.
DEPARTMENT OF CSE
DEPARTMENT OF CSE
CLK
QA
QB
QC
QD
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DEPARTMENT OF CSE
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the above experiment is studied and verified by truth table.
DEPARTMENT OF CSE
COMPONENT
1.
Desktop PC with
2.
SPECIFICATION
QTY
TRUTH TABLE:
A
CARRY SUM
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
The full adder has been realized and simulated using Verilog codes.
DEPARTMENT OF CSE
TOOLS REQUIRED:
SL No.
1.
2.
COMPONENT
Desktop PC with
SPECIFICATION
QTY
TRUTH TABLE:
D-FLIP FLOP:
DEPARTMENT OF CSE
T FLIP FLOP:
DEPARTMENT OF CSE
DEPARTMENT OF CSE
DEPARTMENT OF CSE
PROCEDURE:
1.
2.
3.
MAX MARKS
AIM & PROCEDURE
DIAGRAMS &
MARKS OBTAINED
5
5
TRUTH TABLES
CONNECTION & OUTPUT
VIVA
5
TOTAL
20
RESULT:
Thus the D, J-K, T-Flip Flop has been implemented and realized using Verilog codes.
DEPARTMENT OF CSE