CS2202 DPSD 2 Marks
CS2202 DPSD 2 Marks
CS2202 DPSD 2 Marks
2.
(a) (10110.0101)2
= (1x24) + (0x23) + (1x22) + (1x21) + (0x20) + (0x2-1) + (1x2-2) + (0x2-3) + (1x2-4)
= 16 + 4 + 2 + 0.25 +0.0625
= (22.3125)10
(b) (16.5)16
= (1x161) + (6x160) + (5x16-1)
= 16 + 6 + (5 (0.0615))
= (22.3125)10
(c) (26.24)8
= (2x81) + (6x80) + (2x8-1) + (4x8-2)
= 16 + 6 + 2/8 + 4/64
= (22.3125)10
(d) (FAFA.B)16
= (Fx163) + (Ax162) + (Fx161) + (Ax160) + (Bx16-1)
= (15x163) + (10x162) + (15x161) + (10x160) + (11x16-1)
= (64,250.6875)10
(e) (1010.1010)2
= (1x23) + (0x22) + (1x21) + (0x20) + (1x2-1) + (0x2-2) + (1x2-3) + (0x2-4)
= 8 + 2 + 0.5 +0.125
= (10.625)10
3.
(1110.10) 2
= (1x23) + (1x22) + (1x21) + (0x20) + (1x2-1) + (0x2-2)
= (8+4+2) + (0.5)
= (14.5) 10
The decimal answer in (b) is 8 times that of (a) because the binary number in (b) is
the same as that in (a) except that the point is shifted to the right 3 digits and this means
that it is multiplied by 23.
4.
5.
(May,
2004)
(346)7.
= (3x72) + (4x71) + (6x70)
= (181)10.
6.
0.125 x 8 = 1.0
(May, 2010)
Integer part:
8
153
8 19
--
--
= (231)8
Fractional part:
0.513 x 8 = 4.104
0.104 x 8 = 0.832
0.832 x 8 = 6.656
0.656 x 8 = 5.248
0.248 x 8 = 1.984
0.984 x 8 = 7.872
= (0.406517)8
(approximate)
(153.513)10 = (231. 406517)8
8.
0.0625 x 16 = 1.0
Ans = (0.21)16
9.
(May, 2008)
53
7 7
1
--
--
= (104)7
Fractional part
0.4414062x 7 = 3.0898434
0.0898434x 7 = 0.6289038
0.6289038 x 7 = 4.4023266
0.4023266x 7 = 2.8162862
= (0.3042)7
(65.342)8 = (104.3042) 7
10.
Integer part:
16
22
1
--
= (16)16
Fractional Part:
0.64 x 16 = 10.24
0.24 x 16 = 3.84
0.84 x 16 = 13.44
0.44 x 16 = 7.04
11.
(May, 2005)
= (45.75)10
45
6
--
= (63)7
Fractional part:
0.75x 7 = 5.25
0.25x 7 = 1.75
0.75x 7 = 5.25
0.25x 7 = 1.75
= (0.5151)7
(231.3)4 = (63.5151)7
12.
110
011
100
Ans = (110011100)2
13.
(Nov, 2006)
(b) (100)10
16
100
6
--
= (64)7
(100)10 = (64)16.
14.
(May, 2004)
Soln:
(10,000)10 = (2710)16
Complements :
15.
16.
(May, 2006)
(+) 0 0 1 1
--------1101
--------Answer = (1 1 0 1)2
18.
(-) 0 1 0 1
-------0110
-------Answer = (1 1 0)2
19.
a) 11101010
1s complement: (00010101)2
2s complement : 0 0 0 1 0 1 0 1
(+)
1
-------------------(0 0 0 1 0 1 1 0)2
--------------------b) 01111110
1s complement: (10000001)2
2s complement : 1 0 0 0 0 0 0 1
(+)
1
--------------------(1 0 0 0 0 0 1 0)2
--------------------c)
00000001
1s complement: (01111110)2
2s complement : 0 1 1 1 1 1 1 0
(+)
1
---------------------(1 1 1 1 1 1 1 1)2
-----------------------
d) 10000000
1s complement:
2s complement :
(01111111)2
01111111
(+)
1
----------------------(1 0 0 0 0 0 0 0)2
-----------------------
e) 00000000
1s complement: (11111111)2
2s complement : 0 1 1 1 1 1 1 1
(+)
1
-----------------------
(1 0 0 0 0 0 0 0 0)2
----------------------Find 2s complement of (1 0 1 0 0 0 1 1) 2
21.
Soln:
010111001
(+) 0 0 0 0 0 0 1
---------------------(0 1 0 1 1 1 0 1 0)2
---------------------22.
- 1s Complement
- 2s complement.
Soln:
000110
- 1s Complement of (1 1 1 0 0 1)2
+00001
-------------000111
- 2s complement.
-------------101011
+000111
- 2s comp. of (1 1 1 0 0 1)2
--------------1 1 0 0 1 0 in 2s complement form
--------------To get the answer in true form , take the 2s complement and assign negative
number to the answer.
Answer in true form - ( 0 0 1 1 1 0 )2
23.
01111
1s complement of (10000)2
1 01001
(+) 1
(0 1 0 1 0)2
Y- X = (01010)2
24.
(2's complement of Y)
(2's complement of X)
There is no end carry, So, take 2s complement again for the above answer.
Answer is Y-X = - (2's complement of 1101111)
= - (0010001)2
25.
(1's complement of Y)
----------------10010000
Discard end carry = + 1
Answer: X - Y = (0010001)2
b) Y - X = 1000011 - 1010100
Y=1000011
0101011
(1's complement of X)
----------------1101110
There is no end carry.
Answer is Y - X = - (1's complement of 1101110)
= - (0010001)2
26.
(Nov, 2006)
ii.
iii.
iv.
Binary Codes :
27.
ii.
Self-complementing code.
iii.
iv.
Gray code.
v.
vi.
Alphanumeric code.
vii.
viii.
ix.
x.
Hamming code.
28.
i.
Weighted codes
ii.
iii.
Reflective codes
iv.
Sequential codes
v.
vi.
29.
Alphanumeric codes
Error Detecting and correcting codes.
What is meant by bit?
A binary digit is called bit
30.
Define byte?
Group of 8 bits.
31.
So write it down. To obtain the next binary digit, perform an exclusive OR operation
between the bit just written down and the next gray code bit. Write down the result.
32.
(Nov, 2007)
When the digital information in the binary form is transmitted from one circuit or
system to another circuit or system an error may occur. To maintain the data integrity
between transmitter and receiver, extra bit or more than one bit is added in the data. The
data along with the extra bit/bits forms the code. Code which allow only error detection
are called error detecting codes.
33.
34.
code group changes when going from one number to the next.
The gray code is used in applications where the normal sequence of binary
number may produce an error or ambiguity during the transition from one number to
next.
makes no difference.
The commutative property is:
(A+B) = (B+A)
39.
result with a single variable is equivalent to ORing the single variable with each of the
several variables and then ANDing the sums.
The distributive property is:
A+BC= (A+B) (A+C)
40.
They are,
1) The complement of a product is equal to the sum of the complements.
(A.B)' = A'+B'
2) The complement of a sum term is equal to the product of the complements.
(A+B)' = A'.B'
41.
42.
A+AB=A,
A (A+B) =A.
Define duality property.
Duality property states that, starting with a Boolean relation, you can derive
(Nov,
2005)
LHS= A+A.B
= A+ AB + AB
[ A+AB = A]
= A+ B (A+ A)
= A+ B (1)
[A+ A= 1]
= A+ B
Canonical Form :
44.
45.
(May, 2008)
46.
Find the minterms of the logical expression Y= A'B'C' +A'B'C +A'BC +ABC'
Y = A'B'C' + A'B'C + A'BC + ABC'
= m0 + m1 +m3 +m6
= m (0, 1, 3, 6)
47.
[A + A =1]
= m7 + m6 +m5 +m4
= m (4, 5, 6, 7)
48.
(May, 2008)
[B. B= 1] [C.C= 0]
AND each product term having missing literals, by ORing the literals and its complement
= AB (C+ C) (D+ D) + BC (A+ A) (D+ D) + ABCD
= (ABC+ ABC) (D+ D) + (ABC+ ABC) (D+ D) + ABCD
= ABCD+ ABCD+ ABCD+ ABCD+ ABCD+ ABCD+ ABCD+ ABCD
+ ABCD
= ABCD+ ABCD+ ABCD+ ABCD+ ABCD+ ABCD.
= m15+ m14+ m13+ m12+ m7+ m6
F(A,B,C,D)= m( 6,7, 12,13,14,15)
49.
50.
Find the complement of the functions F1 = x'yz' + x'y'z and F2 = x (y'z' + yz).
By applying De-Morgan's theorem.
(Nov, 2007)
= x(y+1) + xz+ yz
[y+1= 1]
= x (1+z) + yz
[y+1= 1]
= x+ yz
52.
x+ xy. x+
wx. z+ wy. z+ xy. z+ xy.z
= wx+ wy+ wxy+ wxy+ wx+ wxy+ 0 + xy+ wxz+
wyz+ xyz+
xyz
= wx+ wy+ wxy+ wxy+ wxy+ xy+ wxz+ wyz+
xyz+ xyz
= wx( 1+ y+ y+ z)+ wy( 1+ x+ z)+ xy(1+ z)+ xyz
= wx(1)+ wy(1)+ xy(1)+ xyz
= wx+ wy+ xy+ xyz
54.
[A + A' = 1]
= A'(C' + BC)
= A'(C' + B)
55.
[A + A'B = A + B]
Reduce A.A'C
A.A'C
= 0.C
[A.A' = 0]
=0
56.
[A.A' = 0]
[A.A = 1]
[A + AB' = A + B]
[A + A'B = A + B]
[A + 1 =1]
Simplify the following expression Y = (A + B) (A + C) (B' + C)
Y = (A + B) (A + C) (B' + C)
= (AA' + AC +A'B +BC) (B' + C')
= (AC + A'B + BC) (B' + C)
= AB'C + ACC' + A'BB' + A'BC' + BB'C + BCC'
= AB'C + A'BC'
58.
[A.A' = 0]
[A + A'B = A + B]
= (X + Y) (X + Y) (X'Y)
[A + A = 1]
= (X + Y) (X'Y)
[A.A = 1]
= X.X' + Y'.X'.Y
=0
59.
[A.A' = 0]
Prove that ABC + ABC' + AB'C + A'BC = AB + AC + BC
Reduce A (A + B)
A (A + B)
= A.A + A.B
= A + A.B
= A (1 + B)
[1 + B = 1]
= A.
61.
(May, 2007)
(a) x (x+y)
= xx+ xy
= xy.
[x. x= 0]
(b) xy + xz + yz.
= xy + xz + yz( x+ x)
= xy + xz + xyz + xyz
= xy + xyz + xz +xyz
= xy (1+ z) + xz (1+y)
[1+y= 1]
= xy+ xz.
62.
(May, 2010)
a) (x+ y) (x+ y)
= x.x+ xy+ yx+ yy
= x+ xy+ xy+ 0
[ x. x= x]; [ y. y= 0]
= x (1+ y+ y)
= x (1)
[ 1+y= 1 ]
= x.
b) xy + xz + yz.
= xy + xz + yz (1)
= xy + xz + yz (x+ x)
[x+ x= 1]
= xy + xz + xyz + xyz
Re-arranging,
= xy + xyz + xz +xyz
= xy (1+ z) + xz (1+y)
= xy (1) + xz (1)
= xy+ xz.
63.
64.
(Nov, 2008)
[x+ xy = x+ y]
(May, 2009)
[1+ x = 1]
[1+ x = 1]
= AB+ ACD
= A (B+CD)
67.
diagram is made up of squares, with each squares representing one minterm of the
function.
68.
Three variable map have 8 minterms for three variables, hence the map consists of
8 squares, one for each minterm.
69.
to be essential.
71.
corresponding output never appears. In such cases the output level is not defined, it can
be either high or low. These output levels are indicated by X ord in the truth tables and
are called dont care conditions or incompletely specified functions.
72.
(May, 2009)
(Nov, 2007)
Generally it is limited to six variable map (i.e.) more than six variable involving
expressions are not reduced.
ii.
The map method is restricted in its capability since they are useful for simplifying
only Boolean expression represented in standard form.
iii.
iv.
Care must be taken to fill in every cell with the relevant entry, such as a 0, 1 (or)
dont care terms.
74.
ii.
iii.
iv.
v.
ii.
K-maps are not suitable when the number of variables involved exceed four.
iii.
Care must be taken to fill in every cell with the relevant entry,such as a 0, 1 (or)
dont care terms.
75.
ii.
iii.
Essential prime implicants, which are not evident in K-map, can be clearly seen in
the final results.
i.
ii.
iii.
It is much slower.
iv.
v.
Logic Gates :
77.
gate is a circuit that is able to operate on a number of binary inputs in order to perform a
particular logical function.
78.
(Nov, 2003)
In binary logic, two voltage levels represent the two binary digits, 1 and 0. If the
higher of the two voltages represents a 1 and the lower voltage represents a 0, the system
is called positive logic system. On the other hand, if the lower voltage represents a 1 and
the higher voltage represents a 0, then it is a negative logic system.
79.
80.
AND gate
OR gate
NOT gate
Which gates are called as the universal gates? What are its advantages?
The NAND and NOR gates are called as the universal gates. These gates are used
82.
83.
How will you use a 4 input NOR gate as a 2 input NOR gate?
(May, 2003)
By connecting unused inputs to logic 0, we can use 4-input NOR gate as a 2 input
NOR gate.
84.
How will you use a 4 input NAND gate as a 2 input NAND gate?
(Nov,
2002)
By connecting unused inputs to logic 1, we can use 4-input NAND gate as a 2
input NAND gate.
85.
(May, 2005)
A set of logic gates by which we can implement any logic function is called
functionally complete set of logic gates.
86.
Show that a positive logic NAND gate is the same as a negative logic NOR
gate.
(May, 2003; Nov, 2004)
Logic expression for NAND gate is, Y= (A .B)
Y= (A .B)
= A +B
What happens when all the gates is a two level AND-OR gate network are
replaced by NOR gate
The output will change. We will get complemented output when all applied inputs
are complemented.
88.
(Nov, 2005)
UNIT 2
COMBINATIONAL LOGIC
1.
(May 2009)
What is a half-adder?
A half-adder is a combinational circuit that can be used to add two bits. It has two
inputs that represent the two bits to be added and two outputs, with one producing the
SUM output and the other producing the CARRY.
3.
Outputs
Sum
Carry
(S)
(C)
0
0
1
1
0
1
0
1
0
1
1
0
0
0
0
1
4.
From the truth table of a half adder derive the logic equation
5.
6.
(May, 2007)
A full adder is a combinational circuit that forms the arithmetic sum of three input
bits. It consists of 3 inputs and 2 outputs.
Two of the input variables, represent the significant bits to be added. The third
input represents the carry from previous lower significant position.
The block diagram of full adder is given by,
7.
Outputs
Cin
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Sum
(S)
0
1
1
0
1
0
0
1
Carry (Cout)
0
0
0
1
0
1
1
1
8.
From the truth table of a full adder derive the logic equation
9.
10.
What is half-Subtractor?
A half-subtractor is a combinational circuit that can be used to subtract one binary
digit from another to produce a DIFFERENCE output and a BORROW output. The
BORROW output here specifies whether a 1 has been borrowed to perform the
subtraction.
11.
(Nov, 2005)
Inputs
12.
Outputs
Difference
Borrow
A
B
(D)
(Bout)
0
0
0
0
0
1
1
1
1
0
1
0
1
1
0
0
From the truth table of a half-Subtractor derive the logic equation
13.
14.
What is a full-subtractor?
A full subtractor performs subtraction operation on two bits, a minuend and a
subtrahend, and also takes into consideration whether a 1 has already been borrowed by
the previous adjacent lower minuend bit or not.
As a result, there are three bits to be handled at the input of a full subtractor,
namely the two bits to be subtracted and a borrow bit designated as B in. There are two
outputs, namely the DIFFERENCE output D and the BORROW output B o. The
BORROW output bit tells whether the minuend bit needs to borrow a 1 from the next
possible higher minuend bit.
15.
Bin
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
(Nov, 2004)
Outputs
Difference( Borrow(Bo
D)
ut)
0
0
1
1
1
1
0
1
1
0
0
0
0
0
1
1
16.
17.
18.
binary information. A parity bit is an extra bit included in a binary message to make the
number of 1s either odd or even.
The message, including the parity bit is transmitted and then checked at the
receiving end for errors. An error is detected if the checked parity does not correspond
with the one transmitted.
The circuit that generates the parity bit in the transmitter is called a parity
generator and the circuit that checks the parity in the receiver is called a parity checker.
21.
(Nov, 2007)
22.
23.
(Nov, 2008)
They are used to actuate circuitry to drive the physical variable towards the
reference value.
25.
(May, 2009)
different binary code. It is a device that converts binary signals from a source code to its
output code. One example is a BCD to Xs3 converter.
27.
Construct a 4-bit binary to gray code converter circuit and discuss its
operation.
(May, 2006)
The gray code is often used in digital systems because it has the advantage that
only bit in the numerical representation changes between successive.
28.
30.
(May, 2006)
1. HDL is a language that describes the hardware of digital systems in textural form.
2. It can be used to represent logic diagrams, Boolean expressions and other more
complex digital circuits.
3. It is used to represent and document digital systems in a form that can be read by
both humans and computers.
4. The language content can be stored and retrieved easily and processed by
computer software in an efficient manner.
UNIT 3
DESIGN WITH MSI DEVICES
(May, 09)
3. What is encoder?
(May, 10)
(Nov, 2006)
Encoder
The input lines generate the binary code,
outputs.
The input code generally has a fewer bits than
producing n outputs.
The input code generally has more bits
(May, 2006)
A priority encoder is an encoder that includes the priority function. The operation
of the priority encoder is such that if two or more inputs are equal to 1 at the same time,
the input having the highest priority will take precedence.
D0
0
1
Inputs
D1
D2
0
0
0
0
D3
0
0
Y1
x
0
Outputs
Y0
V
x
0
0
1
x
x
x
1
x
x
0
1
x
0
0
1
0
1
1
1
0
1
1
1
1
10.
11.
12.
How can a multiplexer be used to convert 8-bit parallel data into serial form?
Draw the circuit and briefly explain.
(May, 2006)
Here, binary counter is used to derive the select inputs of the multiplexer so that
as the binary counter increments its count, the next bit is available at the output of the
multiplexer. The binary counter counts from 000 to 111, therefore D0 through D7 bits are
available at the output of the multiplexer as serial output.
13.
14.
16.
What is a demultiplexer?
(May 2008)
17.
different receivers. Not only in computers, but any time information from one source can
be fed to several places.
18.
(Nov, 2005)
Decoder is a circuit which converts one form of code into another. Demultiplexer
is a circuit which converts one input to many outputs. If the enable line E is taken as a
data input line A and B are taken as selection lines, then it is a demultiplexer.
19.
21.
22.
S.No
1
2
Decoder
Decoder is a many input to many
Demultiplexer
Demultiplexer is a one input to many
output device.
There are no selection lines.
output devices.
The selection of specific output line is
controlled by the value of selection lines.
23.
24.
25.
Each bit combination of the input variable is called on address. Each bit combination that
comes out of the output lines is called a word.
26.
What is RAM?
A memory unit is a collection of storage cells together with associated circuits
needed to transfer information in and out of the device. The time it takes to transfer
information to or from any desired random location is always the same. Hence, the name
random-access memory (RAM).
27.
28.
Explain SRAM?
1. Static RAM (SRAM) consists of internal latches that store the binary
information. The stored information remains valid as long as the power is applied to the
unit.
2. SRAM is easier to use and has shorter read and write cycle.
3. The memory capacity of a static RAM varies from 64 bit to 1 mega bit.
29.
Explain DRAM?
1. The dynamic RAM (DRAM) stores the binary information in the form of
electric charges on capacitors. The capacitors are provided inside the chip by MOS
transistors.
Dynamic RAM
2. The stored charges on the capacitors tend to discharge with time and the
capacitors must be tending to discharge with time and the capacitors must be periodically
recharged by refreshing the dynamic memory.
3. DRAM offers reduced power consumption and larger storage capacity in a
single memory chip.
30.
S.No
1
2
Static RAM
It contains less memory cells per
Dyanamic RAM
It contains more memory cells per unit
unit area.
Its access time is less, hence faster
area.
memories.
It consists of number of flip-flops.
5
31.
Cost is more
S. No.
Volatile memory
They are memory units which
Non-volatile memory
It retains stored information when power is
turned off.
32.
ICs in such a way that their data bus is in series and address bus in parallel. Both
memory ICs are selected simultaneously by common chip select signal to access entire
expanded word at time.
35.
in parallel ie., the address, data and control lines are connected in parallel to all memory
ICs. Each IC is selected by the separate chip select signal generated by the address
decoder.
36.
What is ROM?
A Read-only memory (ROM) is essentially a memory device in which permanent
binary information is stored. The binary information must be specified by the designer
and is then embedded in the unit to form the required interconnection pattern. Once the
pattern is established, it stays within the unit even when power is turned OFF and ON
again.
37.
fabrication process of the unit. The procedure for fabricating a ROM requires that the
customer fill out the truth table, the ROM is to satisfy.
39.
Explain PROM.
The PROM (Programmable Read-only memory), allows user to store data/
program. It uses the fuses with material like nichrome and polycrystalline. The user can
blow the fuses by passing around 20 50 mA of current for a period of 5 20 sec. The
blowing of fuses according to the truth table is called programming of ROM.
The PROM programmer selectively burns the fuses according to the bit pattern to
be stored.
The PROMs are one-time programmable, once programmed, the information
stored is permanent.
40.
Explain EPROM.
The EPROM (Erasable PROM), uses MOS circuitry. They store 1s and 0s as
Explain EEPROM.
The EEPROM (Electrically Erasable PROM), also uses MOS circuitry. Data is
stored as charge or no charge on an insulating layer, which is made very thin (< 200).
Therefore a voltage as low as 20- 25V can be used to move charges across the thin barrier
in either direction for programming or erasing ROM.
It allows selective erasing at the register level rather than erasing all the
information, since the information can be changed by using electrical signals.
It has chip erase mode by which the entire chip can be erased in 10 msec. Hence
EEPROMs are most expensive.
42.
gates that are connected through electronic fuses. Programming the device involves
blowing the fuses along the paths that must be disconnected so as to obtain a particular
configuration. It is divided into an AND array and an OR array to provide an AND-OR
sum of product implementation.
43.
44.
Explain PROM?
The Programmable read-only memory has a fixed AND array constructed as a
45.
Explain PAL?
It has a programmable AND array and a fixed OR array. The AND gates are
programmed to provide the product terms for the Boolean functions, which are logically
summed in each OR gate.
46.
Explain PLA
The most flexible PLD is the programmable logic array (PLA), where both the
AND and OR arrays can be programmed. The product term in the AND array may be
shared by any OR gate to provide the required sum of product implementation.
47.
48.
S.No
minterms
minterms.
(Nov, 2006)
PAL
programmable OR array
PLA is comparatively difficult to
array.
49.
S.No
1
PROM
AND array is fixed and
OR array is
programmable
Cheaper and simpler to
use
All minterms are
decoded
50.
are programmable.
It is less flexible than PLA.
PLA
Both AND and OR arrays
are programmable
(Nov, 09)
PAL
OR array is fixed and
AND array is
programmable
programmed to get
minterms
desired minterms
The access time of the memory is the time to select word and read it. The cycle
time of a memory is a time required to complete a write operation.
53.
54.
(May, 2008)
What is VHDL?
VHDL is a hardware description language that can be used to model a digital
system at many level of abstraction, ranging from the algorithmic level to the gate level.
The VHDL language has a combination of the following language.
1. Sequential language
2. Concurrent language
3. Net-list language
4. Timing specification
5. Waveform generation language.
56.
57.
(Nov, 2007)
59.
Define entity?
Entity gives the specification of input/output signals to external circuitry. An
entity is modeled using an entity declaration and at least one architecture body. Entity
gives interfacing between device and others peripherals.
60.
Relational operator
Shift operators
other programs. A package may include objects such as signals, type, constant, function,
procedure and component declarations.
UNIT 4
SYNCHRONOUS SEQUENTIAL
CIRCUITS
1.
they also depend upon the past history of these input variables are known as sequential
circuits.
What are the differences between sequential and combinational logic circuits?
(Nov, 2004; Nov, 2007; May 2010)
S.No
1
2
3
4
5
3.
Combinational logic
Sequential logic
Faster in speed
Easy to design
Ex: Adders, Subtractor, MUX,
variables
Slower
Hard
Ex: Shift Registers, Counters
4.
(Nov, 2005)
Advantage:
Because of the absence of clock it can operate faster than synchronous sequential
circuits.
Disadvantage:
The charge in input signal can affect memory elements at any instant of time and
it is more difficult to design.
6.
flops
The change in input signals can
involved.
Easier to design
S.No
1
7.
elements are called clocked sequential circuit. One advantage as that they dont cause
instability problems.
Flip-flops
8.
their inputs and outputs inter connected in a feedback arrangement, which permits a
single bit to be stored.
Enable signal is provided with the latch. When enable signal is active, output
changes with output. When enable signal is not activated, input changes does not affect
output.
9.
Draw the internal circuit of a NOR gate latch and derive the truth table.
(May, 2006)
The SR latch is a digital circuit with two inputs S and R and two cross-coupled
NOR gates.
Truth table:
10.
S
0
R
0
Qn
0
Qn+1
0
State
No Change
0
0
0
1
1
0
1
0
(NC)
0
1
1
0
1
0
0
1
Reset
Set
Indeterminat
e
*
(Nov, 2007)
11.
What is flip-flop?
Flip-Flops are synchronous bistable devices (has two outputs Q
(May, 2010)
Latch is a sequential device that checks all of its inputs continuously and changes
its outputs according to any time, independent of a clocking signal.
Flip-flop is a sequential device that samples its inputs and changes its outputs
only at times determined by clocking signal.
13.
14.
This momentary change is called a trigger and the transition it causes is said to trigger the
flip-flop.
15.
16.
17.
18.
19.
20.
21.
(May, 2008)
In a JK latch, when J and k are both high, then the output toggles continuously.
This condition is called a race around condition.
Due to this, in the positive half cycle of the clock pulse (Enable), if J and K both
are HIGH, then the output toggles continuously.
To avoid this condition, an edge triggered or pulse triggered JK flip-flop is
created. In this flip-flop, the output changes only at the positive edge or a negative edge
of the clock.
22.
23.
Next
State
Qn+1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
x
1
0
1
x
24.
Inputs
(Nov, 2008)
Next
State
Qn+1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
1
0
1
0
Inputs
Input
Next State
Qn+1
25.
0
0
0
1
1
0
1
1
Write down the characteristic table of T flip flop.
Present
State
Qn
0
0
1
1
26.
Input
T
0
1
0
1
0
1
0
1
Next
State
Qn+1
0
1
1
0
next state and wish to find the flip-flop input conditions that will cause the required
transition. A table which lists the required inputs for a given chance of state is called an
excitation table.
27.
28.
Qn+1
0
1
0
1
Inputs
S
0
1
0
x
R
x
0
1
0
29.
Next State
Next
State
Qn+1
0
1
0
1
Inputs
J
0
1
x
x
K
x
x
1
0
Next
Input
30.
State
State
Qn
Qn+1
0
0
0
1
1
0
1
1
Give the excitation table of a D flip-flop.
Present
State
Qn
0
0
1
1
31.
Next
State
Qn+1
0
1
0
1
T
0
1
1
0
Input
D
0
1
0
1
(May, 2003)
Characteristic Equation:
Qn+1= JQ+ KQ.
32.
Characteristic Equation:
Qn+1= D.
33.
Characteristic equation:
Qn+1= TQn+ TQn
34.
state.
ii) A truth table is a table indicating the output of a logic circuit for various input
states.
35.
Present
state
Qn
0
Next
state
Qn+1
0
Flip-Flop Inputs
S
0
R
x
0
1
1
1
0
1
0
1
1
0
1
x
1
0
0
SR to D Flip-Flop
36.
K
0
0
1
1
0
0
1
1
Present
state
Qn
0
1
0
1
0
1
0
1
Next
state
Qn+1
0
1
0
0
1
1
1
0
Flip-Flop
Inputs
S
R
0
x
x
0
0
x
0
1
1
0
x
0
1
0
0
1
SR to JK Flip-Flop
37.
Present
state
Qn
Next
state
Qn+1
0
0
1
1
0
1
0
1
0
1
1
0
Input
Flip-Flop Inputs
S
0
x
1
0
x
0
0
1
SR to T Flip-Flop
38.
Present
state
Qn
0
1
0
1
Next
state
Qn+1
0
1
1
0
Flip-Flop
Inputs
J
K
0
x
x
0
1
x
x
1
JK to T Flip-Flop
39.
Present
state
Qn
0
1
0
1
Next
state
Qn+1
0
0
1
1
Flip-Flop Inputs
J
0
x
1
x
K
x
1
x
0
JK to D Flip-Flop
40.
Present
state
Qn
Next
state
Qn+1
0
1
0
0
1
1
Flip-Flop
Input
D
0
1
1
D to T Flip-Flop
41.
Present
state
Qn
Next
state
Qn+1
0
1
0
1
0
0
1
1
Flip-Flop
Input
T
0
1
1
0
T to D Flip-Flop
42.
What are the models used to represent clocked sequential circuits? (Nov, 2006)
The clocked sequential circuits are represented by two models as
1. Moore circuit,
2. Mealy circuit.
43.
Mealy model
Its output is a function of present state as
state only.
An input change does not affect the
output.
It requires more number of states for
the circuit
It requires less number of states for
44.
46.
47.
called state table. Generally it consists of three section present state, next state and
output.
48.
A reduced state table has 14 rows. What is the minimum number of flip-flops
needed to build the sequential circuit?
24 14.
Therefore, 4 flip-flops.
49.
(Nov, 2004)
Counters
50.
What is counter?
A counter is used to count pulse and give the output in binary form.
51.
flops. The output of the flip-flops changes state at the same instant. The speed of
operation is high compared to an asynchronous counter.
52.
change of state in the output of this flip-flop serves as a clock pulse to the next flip-flop
and so on. Here all the flip-flops do not change state at the same instant and hence speed
is less.
53.
S.No
1
2
3
4
Synchronous counter
Asynchronous counter
simultaneously
next flip-flop.
All the flip-flops are not clocked
simultaneously.
Design involves complex logic
simultaneously.
Logic circuit is very simple even for more
54.
What is up counter?
A counter that increments the output by one binary number each time a clock
pulse is applied.
55.
pulse is applied.
56.
59.
Ans: Asynchronous.
62.
(May, 2008)
(May, 2004)
2n N
23 8
Therefore, three flip-flops are required.
65.
How many flip-flops are required for designing synchronous MOD50 counter?
(May, 2009)
2n N
26 8
Q2
1
Q1
1
Q0
1
67.
A counter formed by circulating a bit in a shift register whose serial output has been
connected to its serial input.
68.
0000. Because of the return to 0000 after a count of 1001, a BCD counter does not have a
regular pattern as in a straight binary counter.
69.
(Nov, 2006)
A counter that follows the binary sequence is called binary counter. An n-bit
binary counter consists of n flip-flops and can count in binary from 0 to 2n-1.
70.
71.
(May, 2003)
In comparison with parallel counters the serial counters have simple logic circuits;
however, serial counters are low speed counters as the clock is propagated through
number is flip-flops before it reaches the last flip-flop.
72.
Shift Register
74.
What is a register?
Memory elements capable of storing one binary word. It consists of a group of
(Nov, 2003)
(Nov, 2002)
80.
(May, 2005)
2. A serial-in-parallel-out shift register can be used to convert data in the serial form
to the parallel form.
3. A parallel-in-serial-out shift register can be used to convert data in the parallel
form to the serial form.
4. A shift register can also be used as a counter.
81.
(May, 2003)
82.
How many states are there in a 3-bit ring counter? What are they? (May, 2007)
The number of states in a 3-bit counter is three- 001, 010, 100.
UNIT 5
ASYNCHRONOUS SEQUENTIAL
CIRCUITS
When two or more binary state variables change their value in response to a
change in an input variable, race condition occurs in asynchronous sequential circuits.
In case of unequal delays, a race condition may cause the state variables to change in an
unpredictable manner.
(Nov, 2005)
Race exists in synchronous sequential circuits when two or more binary state
variables charge during a state transition.
A race becomes critical if the correct next value in not reached during a state
transition. For the proper operation of the circuits, the critical races must be avoided.
6. What is meant by a non-critical race? What is its cause?
(May, 2006)
Hazards are unwanted switching transients that may appear at the output of
a circuit because different paths exhibit different propagation delays.
9. What is a hazard in combinational circuits?
The unwanted switching transients that may appear at the output of a circuit are
called hazards. The hazards cause the circuit to malfunction. The main cause of hazards is
the different propagation delays at different paths.
Hazards occur in the combinational circuits, where they may cause a temporary
false output value. When such combinational circuits are used in the asynchronous
sequential circuits, they may result in a transition to a wrong stable state.
10.
(May, 2005)
12.
14.
min terms that may produce a hazard with a product term common to both. The
removal of hazards requires the addition of redundant gates to the circuit
15.
originate from the same input. An excessive delay through an inverter circuit in
comparison to the delay associated with the feedback path causes essential hazard.
16.
What are the two types of asynchronous circuits? How do they differ?
(May, 2006)
Two types of asynchronous circuits are
1. Fundamental mode circuit,
2. Pulse mode circuit.
What are the assumptions that must be made for fundamental mode circuit?
(May 2008)
1. The input variables change only when the circuit is stable.
2. Only one input variable can change at a given time.
3. Inputs are levels and not pulses.
18.
name the states by letter symbols without making specific reference to their binary
values. Such a table is called a flow table.
20.
Remember that a total state consists of the internal state combined with the input.
21.
Define merging?
The primitive flow table has only one stable state in each row. The table can be
reduced to a smaller numbers of rows if two or more stable states are placed in the same
row of the flow table. The grouping of stable states from separate rows into one common
row is called merging.
22.
Give the procedural steps for determining the compatibles used for the
purpose of merging a flow table.
The purpose that must be applied in order to find a suitable group of compatibles
for the purpose of merging a flow table can be divided into 3 procedural steps.
i.
ii.
iii.
Find a minimal collection of compatibles that covers all the states and is closed.
23.
What are the steps for the design of asynchronous sequential circuit? (Nov, 09)
1. Construction of a primitive flow table from the problem statement.
2. Primitive flow table is reduced by eliminating redundant states using the state
reduction.
(Nov, 2008)
A debounce circuit is a circuit which removes the series of pulses that result from
a contact bounce and produces a single smooth transition of the binary signal from 0 to 1
or from 1 to 0.