Ans - HG: Combinational Circuit
Ans - HG: Combinational Circuit
A
Po
Combinational Circuit
3 ou3 FuN
adder CusFu 8dder
Cp Cn Full
adder Cino1
use as
ubtracto 's
3.1: Adders andthelr Fig. Q.2.1 4-bt parallel subtractor
4-bit parallel adder using full-adders Q.3 Draw and explaln the operation of 4-blt
a.1 Design a
subtractor. parallel adder |
3[SPPU: June-22,
Mar Makh
Ans.:
shows
Fig Q1.1 position,
least significant
diagram
the block
carry input of full-adder
for 4-bit
is adder.
maHen H
.
Ans.Hg
Ans.: Fig. Q3.1 shows 4-bit parallel adder /
subtractor circuit.
The mode input M controls the operation of the circuit. When
M 0, the circuit is an. adder, and when M
The carry output of each adder 1s connected to the -
1, the circuit
carry inpe
aTy inpu becomes a subtractor.
the next higher-order adder.
B Ag B2 2 2 A
Full
adder
oua adder
Full CouFul n Cou Full
adder adder
Out3 Cina Cou2
Full Full ina out
s
S s adder adder
Full
adder
Couo Fu
addar
S0
Fig. Q.1.1 Block diagram of 4-bit
full-adder
Q.2 Draw and write S3
the expresslon for S
using full adder. a 4-bit parallel subtract
Flg. Q.3.1 4-bit adder-subtractor
OR Draw and Each exclusive OR gate receives
explain the operation of 4-bit
-
is a
circuit to
detect sum Inputs Output Combinational
Logic
greater
than 9 and
sSS S Y circuit SS2SSg
One
0110,
more
in the
4-bit adder
sum
to add
if sum is 00
0 0
0
1 0 Output
A-bit add
1. 0
than 9 or carry is carry
greater 0 1 0
sum
circuit to detect
The logic be 0 1 1
greater than 9 can
the 01L0
determined by simplifying
boolean expression of given 0 1 0
IC 7483
truth table. 0 1 |1|0 Cout 4-bit binary adder
(lgnored )
,S 00 01 11 10 011
1 |0 0
1 0
S3 S2 S, So
01 0 0 0 10
1 0 Fig. Q.4.1 (b) Block diagram of BCD adder
11
1 1
B3 B2 B Bo As AA Ap B BB, Bo
10 0 1110 A Az A, Ap
Y SS2+SgS
11 1 4-bit binary adder
the
block higher P0 sition
diagram of 8-bit BCD adder. Flg. Q.5.1 8-bit BCD adder using IC 74283
Combinational.
Circuity Digital Circuits 3-6 Combinational Circuits
Dnital Cirwis bin.
converter
using
sing binary parallt
code
Er
BCD to . G is called a carry generate and it produces on carry when both
a
Q6 Designm
sdder. A and B; are one, regardless of the input carry.
Ans Add $ BCDinput is called a
.P carry propagate because it is term associated with
the propagation of the carry from G; to Ci1 Now Ci1 can be
As A Ay Ao expressed as a sum of products function of the P and G outputs
-Dit biner adder Cin 0 of all the preceding stages.
For the carriers in a four stage carry-lookahead adder
sSSS example,
are defined as follows
Excess 3 output
C GotPo Cin
Fig. Q.6.1
C G+P, C - G,+ P,G +P, Po i n
3.2: Adder
Look Ahead Carry
Q7 Explain in detail look ahead carry generator.
SPPU : Dec.-07,09, Marks 4
Ans.: One method of speeding up this process by eliminating
nter stage carry delay is called lookahead-carry addition. This =
method utilizes logic gates to look at the lower-order bits of the
Gg + Pa +Pa P2 G
augend and addend to see if a higher-order carry is to be +Pg P2 P Go +PaPa Pi P% Cin
generated. It uses two functions Carry generate arnd carry shows the general form of a carry-lookahead adder
Fig. Q7.2
propagate circuit designed in this way.
.Consider the circuit of the full adder shown in Here
we define
Fig. Q.7.1.
two hunctions Carry generate and carry propagate. Cn Carny lookahead generator
P A, B
Pn-11-1 Pn-2o2
The output sum and carry can be
expressed as
Sn-1 -2 So
1-bit -bit
adder addar addar
n-1 C
D C1
An-1n-1 An-2 Ba2
Flg. Q.7.2 General form of a carry-lookahead adder circult
Flg. Q.7.1 Full
adder circuit
QIcOD A Guide for Engineering Studens
DEcoDE
A Gulde f o r E n g i n e e r i n g Tudens
Combinationai Circui
Digital Circuits 3-8 Combinational Circuits
Unit (ALU)
Arithmetic
Logic The output MUX (multiplexer) is controlled by S input andit
3.3: decides the final output. When S - 0, the output of arithmetic
ALU. 10, Dec.-12, Marks
short note
on
SPPU: May-05, 6] circuit is transferred as a final output; otherwise, the output of
G.8 r i t e a
logic circuit is transferred as a final output.
The arithmetic and
Unit (ALU)* ogic
Ans:Arithmetic Logic arithmetic and logical operations
ut ertorms all the
neressary
wNcn it operates
3.4 Digital Comparator
or tvo operands upon and
I t requines one Q.9 What is magnitude comparator?
produes a result.
combinational logic circuit. Ans. A magnitude comparator is a Inputs
multifunction
I t is basicall a
special combinational circuit designed
it provides select input to select the particular operation. primarily to compare the relative
the arithmetic unit of the magnitude of two binary numbers.
Arithmetic unit: The basic component of
11e can use parallel adder fo
this for Fig. Q9.1 shows the block diagram
simplest ALU s a parallel adder. of an n-bit comparator n-bit
addition and 2s complement subtraction operation. comparator
I t receives two n-bit numbers A and
unit: The logic unit consists of logic gates, such as OR gate,
Logie B as inputs and the outputs are
XOR gate AND gate and NOT gate. Proper gate is selected to
A>B, A= B and A < B.
perform desired logic operation. A>B A=8 AS
Depending upon the relative
Selection logic: The selection logic provides select inputs.
of ALU Outputs
These inputs allow us to select the operation to be performed.
magnitudes of the two number, one
Fig. Q.9.1 Block diagram of
of the outputs will be high. n-bit comparator
The Fig. Q5.1 shows the typical block diagram of ALU. Q.10 Design 2-bit comparator using gates.
Operand1 Operand2 SPPU : Dec.-12, Marks 8]
A A B A BA BA<B
0 0 0 0
Operand1 Operand2 MUX -Y
0
0
Logic 0
circuit 0
0
Fig. Q.8.1 Block
diagram of a typical ALU 0 0
oBCODE
A Guide OECODE A Guide for Engineering Students
for Engineering Students
Combinational Cireuits
Digital Circuits 3-10 Combinational Circuits
Loglc dlagram
A Ao Bo
A Ao
0
0
1
D-
Table Q.10.1
D
AS
AB
A
A<B
D-Aes
01 11 10 D»
o
D-A
ooo
Fig. Q.10.2
Fig. Q.10.1
| 3.5 Parity Generator / Checkers
K-map simplification
Q.11 What is parity generator and checker ? Show
parity generator
truth table for 3-bit message with even
(A-B) A, BB +AA B,B parity and odd parity.
SPPU : Dec.-07, Marks 6]
AA B,Bo A,A, B,o Ans.: Parity Generator and Checker: A parity bit is used for
K,5, Ao +AgP) the purpose of
information.
detecting errors during transmission of binary
+A,B, (AgBo +Ag) A parity bit is an extra bit included with a
binary message to
(A, B)A OB) make the number of 1s either odd or even.
(AB) A,
B, A, B,B,+ A,B, The message,
checked at the
including the parity bit is transmitted and then
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.
QIcoD
A DECOD A Guide for Engineering Students
Guide for Englneering Studens
Combinational Circuit.
Digital Circuits 3-12
Digitel C r i s
make the
the total number
tot- Combinational Circuits
bit will
addei nant
in even parit.
the
amount
3.6 Multiplexers and their use in Combinational
ot is an even
bit will make the total ns
Logic Designs, Multiplexer Trees
the added parity
i n odd panit.
Q.13 What is multiplexer ?
is an odd
amount.
message
with even parity aand odd
shows the 3-bit Ans.
Tabie Q11.I
parity bit Fig. Q12.1 (b) Selection lines are decoded to select a particular AND gate.
ECODE A
DECODED A Guide for Engineering Students
Guide for Engineeriug Studen
Combinational Cireits Digital Circuits 3-14
Combinational Circuits
ES, SD.+
ES,SD2 D D2 D Do
E S, So DD
2:1
Select (So 2:1 MUX
MUX
Y
E
S(a) Logic diagram
Fig. Q.14.1
input D. has
of its inputs equal to 1 and the third input
two
Y
have at least one
conected to D. The other three AND gates
input equal to 0, which makes their outputs equal to 0. The OR Output
gate output is now equal to the value of D, thus we can say
data bit D, is routed to the output when S, S% = 0 1. Fig. Q.15.1
The circuit with two or more multiplexers connected to obtain the
E multiplexer with more number of inputs is known as multiplexer
10 inputs 4x1 tree.
2 -Output
MUX
1D Enable
3 Q.16 Explain the process of implementation of combinational
circuit using multiplexer.
_110 D2 S So
input Ans. Let us implement F(A, B, C) = 2m (1, 3, 5, 6) Boolean
11 D function using 4 1 multiplexer.
o xX0 Select inputs
(c) Logic symbol Step 1: Connect least significant variables as select inputs of
(b) Function table multiplexer. Here, connect C to So and B to S1
Fig. O.14.1 4 to 1 line Step 2 Derive inputs for multiplexer using implementation
multiplexer
table
OIcODED A
OECODE A Guide for Engineering Students
Gulde for Engineering Studen
3 15
Combinafional ircuits Digital Cireuits
3 16 Combinational Circuits
Digital Cnwis
Po Stop 2: Connect the most significant select lines
4:1 MUX 5.
(S and S2) to the
MUX
row 1 stop 3:Connect the outputs Yo Y, Yz and Y of four
2 multiplexers
7
row2 S EN as data
inputs for the MUX 5, as shown in the Fig. Q.17.1.
AMostsignifice/nt A A
DIS D12 D
variebe (a) Implementation table
(b) Multiplexer Implemontatln
Fig. Q.16.1 4:1 4:1
41 4:1
MUX 1 S4 MUX 2 1S MUX 4
implementation table is MSX 3
As shown in the Fig. Q.16.1 (a)
the
the multiplexer
nder
and und them list hing
the inputs of of
but the list of all those mir those minterms
The first row lists
in two rows.
all the minterms
and the second r o w lists all the
where A is complemented
The minterms given in given in the S 4:1
MUX 5
A uncomplemented.
minterms with column is inspected separatels S2
function are circled and then each
as follows Output
I f the two minterms in a column are not circled, 0 is applied t Fig. Q.17.1
column 0).
the corresponding multiplexer input (see Q.18 Implement the following Boolean function with 8 1
1f the two minterms in a column are circled, 1 is applied to the multiplexer F(A, B, C, D) = t M (0, 3, 5, 8, 9, 10. 12. 14).
corresponding multiplexer input (see column 1). Ans.
of
minterms,
included in the Boolean funti
instead
Here, which are not olean function
Boolean functlon with
m a x t e r m s
of
circde
implementation
Q18.1
shows the
Fig convert
code
multiplexer. to
excess-3
Da 10
1D o) implementation tabe for E,
Y
Logia1 1D3
2100
202
20 D Fig. Q.19.3
203
10 11 12 1EN Q.20 Implement the following hunction using singie 8 1 MUX
FA, B, C, D) = Z m (1, 4, 6, 8, 10, 11, 13. 14)
0 1 1 2EN
D 00 LSPPU : May-15, Marks 6]
Don't care minterms 13, 14 8nd 15 are
Note : considered as logic 1.
Ans.
D Do
(a) Implementation table for Eg (b) Implementation
Implementationtable
Fig. Q.19.1
1 Do
1D1 Oo D D2 D
D2
* wwwwawww..mwww
oO 2 s MUX
Logic 1 2
Do D D2 D D4 Dg Dg D
20 A 12® 15 Logic
EO00DO
************A ***
5 6 2 D2 A A A A 1
******************** ** 2 D3
wwwwwve
13
.20
14
wwwwwwwwwwwvwewww.wwwwwve
15
EN S S
11 1 1
0
1
the
following
7, 10,
14)
and implement following function using 4
4, 5, a.23 Design : May-14, Marks 4]
Implement
(2, (SPPU
0.21
D)
=
Xm
multiplexer. F
= 2m (1, 3, 4, 5)
F4.
B. C,
Ans.: F 2m(1, 3, 4, 5)
Ans.
A 4:1
MUX A Do
Do D D2 D
D 4:1
8.5-AB S 0 MUX
'A A 0 O 2 D2
21315 C D
A 6 7 A
Da S So
rwwwww
1 0 A
Fig. Q.21.1 B
Dec.-14, Marks 6]
Ans.: Implementation Table U [SPPU
www.wwww.wwAVwwwwwwww** w****v
D D4 D5 D6 D7 Ans.: f(A, B, C, D) =
TM (0, 3, 5, 7, 12, 15) + d(2, 9)
Do D, D,
- m (1, 4, 6, 8, 10, 11, 13, 14) + d (2, 9)
0 4 5 7
********eg************ttni
A 10 11 12 13 1 15
Logic 1
*****""***ervv**v**.
Do
1A A A 0 1
Note: Don't care minterms are considered as zeroes.
Do D D D3 D4 D5 Dg D7
Fig.Q.22.1 (a) Y 8 1
Implementation A 0 3 5
7 MUX
Logic 1 A D 12 15
A 1 1 A A A 1
S2 S So
8:1
MUX
TTTBCD
Fig. Q.24.1
C D
Solution Outputs The Fig. Q,26.1 shows the block diagram of a demultiplexer. It
Inputs
Sum
has one input data line, 2" output lines, n select lines and one
Carry enable input.
Cin 0
0
Enable-
0
0 Y
sSn-1 , s
Select inputs
(a) Block diagram (D) Equivaiant circuit
Logic 1
Fig. Q.26.1
0
Q.27 Draw and explain the logic diagram of one line to 8 line
demultiplexer.
Ans. The Fig. Q27.1 shows 1 8 demultiplexer.
-Cary 8:1 Sum
M MUX
Din
SS5,DoYo
S2 S So
TT Data
E3,5.S, PY,
AB Cin AB Cin input Din
Fig. Q.25.1
1:8
3.7: Demultiplexers and their use in Combinational DEMUX ES.5, 2oY.
Logic Designs, Demultiplexer Trees Enable ESSS DnoYs
Q.26 What is
de-multiplexer ? SS ESSS noYe
Ans.A demultiplexer is
circuit that receives
a ESS9 DngY,
single line and transmits this information on Select inputs
Enabla o-
output lines. information on one of 2" poss1 (a) Block schematic (b) Loglc diagran
Fig. Q.27.1
OECODE A Guide for Engineering Studen DECODE A Guide for Engineering Students
3 23
Combinational Circuie Digital Crcuits 3 24
Combinational Circuits
Deeirn Cnmits
to all eight o u t p u t
has a path the Stop 2 Connect select lines B and C to select lines
data 1)n of the o output
r lines S, and S of
single input
one
only the both
7he
is
directed
to
demultiplexers, respectively.
Stop 3: Connect most significant select line (A) such that when
i n t o r m a t i o n
1 0 0 0
Dn 1:4 s
1 0 0
DEMUX 2
11 0 | 0 0
11 1 |1
Table Q.28.1 Truth table
for full-subtractor
Fig. Q.29.1 Cascading of demultiplexers
D m (1, 2, 4, 7) and Bout 2m (1, 2, 3, 7)
3.8 Decoders
Logic D a.30 What is decoder ? draw and explain a 2 to 4 line decoder.
A decoder
Ans.: is a multiple-input, multiple-output logic
which converts coded inputs into coded outputs, where the input
circuit
1:8
De-MUX
and output codes are different.
Bout
Enabie
n-data
inputs
Possible
2 S So n:2
Decoder 2" outputs
AB 5n Enable
Fig. Q.28.1 Implementation inputs
Q.29 Design 1: 8
demultiplexer using two 1 4demultiplexers. Fig. Q.30.1 General structure of decoder
Ans.: Step 1 Connect D signal to D input of both the
demultiplexers.
CECODE A Guide for Eugineeriug Studens
PECODED A Guide for Engineering Studeno
3-25
Combinational rcuits
D g i t a l Cinwi?s
Digital Cicuits 3-26 Combinational Circuits
Outputs
Inputs logic 1. In such case to
ENAB 1,Y,Yo A- A
implement SOP function B B
0xxo o00 we have to take sum of c-
0 product terms
0 Yo AB selected
1 0 0 0
3:8
01 0 0 generated by decoder. Decoder
table for a
Y2AB Boolean
function F-m(1,2,3, 7 Fig. Q.31.1
Table Q.30.1 Truth
2 to 4 decoder
using 3: 8 decoder.
Ys*AB
2-to-4
T Step 1: Connect function variables as
inputs to the decoder.
Fig Q30.2 shows Enable (EN)
Step 2 Logically OR the outputs correspond to
decoder. 2 inputs are decoded obtain the
present minterms
into four outputs, each output
Fig. Q.30.22 to 4 line decoder to output.
representing one of the minterms of the 2 input variables. Q.32 Design and implement a full adder circuit
decoder. using a 3 8
The two inverters provide the complement of the inputs, and D[SPPU: Dec.-08,15, May-10, Marks 10)
each one of four AND gates generates one of the minterms. Ans.: Truth table for full adder is as shown in the Table Q32.1.
The Table Q.30.1 shows the truth table for a 2-to-4 decoder.
Inputs Outputs
f enable input is 1 (EN=1), one, and only one, of the
Y to Yy is active for a given input.
outputs A
B Cn Carry Sum
0 0 0O 0 A
The output Y is active, i.e. Yo =1 when inputs A =
B 0, the 00 1 1
A
3:8
B
output Y, is active when inputs A =0 and B =1. 01 0 Decoder Y -Cary
implement
the
able
know
that
NAND gate
to
Table
Q.33.1. Ans.: Refer Table Q.10.1. From table we have
have to
use
shown
in A >BXm (4, 8, 9, 12, 13, 14)
subtractor
is as
for full
Outputs A B : 2 m (0, 5, 10, 15)
Inputs A <BZm (1, 2, 3, 6, 7, 11)
D out
B Bin
0 0
1
-A>B
0
1 A A(MSB)
0 AB Y14-
B C
1 0
0
0
BoD (LSB)
4:16
-A = B
0 Decoder Y10
1 1 1 9 Y15-
10
Y11
for full subtractor Y12
Table Q.33.1 Truth table
Y -A< B
Y15
Y11
D Fig. Q.34.1
5 V
3 8
Decoder
END...
G
Boul
7
G28
Fig. Q.33.1
Implementation
3:8
of full subtractor using
decoder (IC 74138)
OECODE DECODE A Guide for Engineeriug Students
A Guide for Engineering Students
gebal Crcwits Saguential Logic Desigm
Unit IV
QDierentiate between combinational logic circuits and
sequential logic circuits K S P : May-10, Marks 4]
4 a t e d u r t i o n
S. Na Cembinational cìrcuis
n combinational cirvuis the
ouput variadles are at all
tines dependant on the
SequentiaB circuits
In sequential circuits, the output
variables depend not otly on
tthe present input variables but
nbinadon of input
variabies they also depend upon the past
history of these input variables
Nenay unit is not quired Menory unit is required to
in combinadonal circuis storr the past history of input
variables àn the equential
are 4-4
ANitive or
negative)
is
latehes
Sequential Logic Design
triggerd
of level
wo pes
output of
ot flip-tlop
responds
tnp-tlop respond. to the .Negative edge trig88ering : Here, the output responds to the
triggened: The
Positive level enable input
is 1 (HIGH) changes in the input only at the negative edge of the clock
when its
changes only Flip-Flop is enabled at the clock input. pulse
input
only when the level
of E input is HIGH Output resoonds
onity at a negaiv
Clock
Enable 1t
L input
9dges of he pulse
Q.5.1 Positive
level triggering
Fig. Fig. Q.5.4 Negative edge triggering9
level triggened: Ihe output tup-riop responds to tha
or
the Q.6 Give the comparison between latch and flip-flop.
Negative
changes only when its enable input is 0 (LOW).
input Latch
Flip-flop
Latches are controlled by signal Flip-Flop are controlled by clock
levels. transitions.
Enabie
nput Latches are level triggered. Flip-Flops are edge triggered.
E
Gated SR ach
Flip-Flop is enabled
only when the level
of E input is LOW Positve
EN- adge
Ceector AY
Fig. Q.5.2 Negative level triggering
Po8dge
Positive
S
DD -Q
UPositna
DDD
Output responds delecto CPo- dge
delertr
only at the positive Lcicuit Cr
Fig. Q.5.3 Positive edges of the puise DRD- D D
edge triggering (a) SR flip-lop using NAND gates
ecoDE (b) SR fip-tlop using NOR gates
Operation clock
pulse
is applied.
the ou .The truth table
for D flip-flop consider only these two conditions
S R -0andthe This is indicat
ed in the shown in the Fig. Q,8.1 (b).
1 n it is
-
as
Case 1 : ie. Qn and
do not change, table. CP
truth
of the
tirst row
clock
Ise
pulse is applied, Q
and the
0. R 1 of the truth t * 0
2 S the
secona
row
table. CP
Case
indicated in
This is X
pulse is applied, o
0 and the lock ta+ 1 Truth table of D flip-flop
Case 3
- in the third
S -1,.indicated R r o W of the truth
Fig. Q.8.1 (a) Logic
symbol Fig. Q.8.1 (b)
This is
clock pulse is applied, tho .Qn+1 function follows D input at the positive going edges of the
the
Case 4 If S -R =1 and undefined and therefore is indicatod Hence the characteristic equation for D flip-flop is
of the flip-flip is
ot the truth table
as clock pulses.
row
indeterminate in the tourth Qn+1 D .
(a) Logic symbol (b) Truth table for positive edge clocked (c) Characteristic equatlon
SR flip-floP
Positive edge
CP detector
Fig. Q.7.2 circuit
We keep tp
purs j = 1 and K = 0, makes Q = 1, i.e. set state.
can
< At by keeping the duration of edge less than
At.
Case 3 J =0 and K =1
A more practical method for this
Q 0, 1:
Q =
reset state.
Case 4 } =K =1
K-
, Q = 1: When J K =1 and Q 0, S =
1
b
and
=
D i g i t a lC i r a stext of
SR/RS
of SR flip-flop. the second
flip-flop follows the first one, it is referred to as
c o n t e x t
Since
in
raceco
condition
the
ciock
both
the
and )
of the
t flip-flop
and
(Q are of the clock (second half). Thus, race-around
known ac
case,
undeined.
in this
that the
outputs
is known as the
is gative transiti
violates
the rule Such
condition
race condition does not exist in the master-slave JK flip-flop.
his other.
of each tlop.
/RS flip
-
complement
of SR
ondition in
context
flip-flop with
nee
cessary On+1
master
JK
slavediagram.
of
Explain
working and state SPPU: Dec.-19, Marks 6
Q.12 state
equation
logic diagram,
MS J-K flip-flop.
OR Explain
the
ter-slave JK
master-slave flip-flop. Posi
JK flip-flop. Positive
Ans.: Fig.
Q121
shows
flip-flop
and inverrerted (negative)
to first
dock pulses are applied
to second flip-flop.
dock pulses are applied Table Q.12.1 Truth table
Prese
Slave Characteristics equation : Qn+1QnJ+ Qn K JQn -
+ KQ,n
Master
- State Diagram
JK = 10, JK = 11
JK= 000) 00
DDu
JK 01
JK = 11
Data can
n TQ,TO, Flipeflop
Data must be stable
change
(a) Logic symbol b) Truth table (c) Characterlstic equation nputs
Fig. Q.13.2
5etp nold
4.3: Use of Preset and Clear Terminals
Fig. Q.15.1 Setup and hold timings
Q.14 What are preset and clear ?
a.16 Write a detail note on flip flop metastability.
Ans.: When power is turn ON, the state of to flip-flops.
the tlip-tlop is Ans.: We have seen various timing parameters related
uncertain. lt may come to set (Q- 1) or reset within safe limits, i.e,, under normal
(Q= 0) state. In many When these parameters are
applications, it is necessary to
initially set or reset the tlip-tlop. conditions, a flip-flop has -o Vo
Such initial state ot tlip-tlop can be two stable states, logic 1
evieoien
shown in Logic0
cross-connected
inverters,
as
Because
two
the outputs
of the
inverters
are
inputs
inverter
w e have,
other
o1 2 Metestable state
o2
voltages be graphicall
be graphically
can plotted
relationship
between these Undefined
The relationship is
as shown
in Fig. Q.16.2.
This graphical known as
of cross led
coupled inverter
ontal axis shows The
characteristics
transfer Vo1Vi2
voltage and the horizzon
vertical axis shows Vol and Viz
and o2
Vcc
Logic 0 Undefined Logic 1 VoaV
Fig. Q.16.2 (b) Voltage transfer curve for inverter 2
Voc
Logic 1 The metastable state occurs in the flip-lop when setup arnd hold
parameters are not met. Flip-flop also can enter into metastable
Metastable state
state when a stray glitch occurs at the input at wrong time. The
flip-flop will remain in the metastable state for indeterminate time
Undefined depending on the input conditions. For reliable operation of the
digital system it is necessary to avoid metastable state.
VoV2
Fig. Q.16.3 (a) shows how delayed clocking of flip-flop 2 avoids the
Logic metastable state in the flip-flop. Here, the first
flip-flop accepts the
Vcc asynchronous excitation inputs. The output of first flip-flop is
Vo2Vi
Fig. Q.16.2 (a) Voltage transfer
curve for inverter 1 AtB
When Vi increases from 0 volts D -Output
toward
Vc Vstays within the
range of permissible
logical 1 voltages until about the middle of the CLK CLK2
graph. The Vo then
remains there. But drops toward a
voltage level and logic 0
while
through voltage levels whichdropping
are not
toward logic 0, it passe a
This part of defined as logic 1 or
voltage transíer curve
See Fig. Q.16.2 (a). Fig. indicates the metastablelogicte Clock- Delay
for inverter 2. Q16.2 (b) shows the sta
rve voltage transfer cu
Fig. Q.16.3 (a) Circuit to avoid metastable state
DECOD
OIcoDE A Guide for Engineering Students
A Guide for
Engineering Studen
4-15
Sequential Logic Design
D i g i t a lC t r c u i t s 4-16 Sequential Logic Design
second flip-flop. Because first
an
ingut
of the
seco
it can go into
ip-le
flop metastak
input,
n a n d '
ds e x c i t a t i o n
n+1 S R Qn Qn+ 1 J K
a s V n c h r o n o u s
Qn
X
has
leave
he metastable state betote 0 0 X 0 0 0
stae to 0 0 1 X
flip-flop
for the
lip-lop
Secos
first clock
the the 1 1
0
To
allow
the
second
flip-flop, ld be greater than the Der 0 1
1 x
should 0
1
clocking
delaved.
The delay
introduced
completely
avoid metastab
This X0
state to Q.16.3 (b). JK excitation table
metastable
wavefornm
shown in Fig. SR excitátion table
illustrated in
the Table Q.17.1 Table Q.17.2
n an+ 1 D Qn Qn+ 1 T
0 0
0 1 1 1
0 0 0
A+B
0 0
4.5: Excitation Tables
Q.17 What do
tables of SR, JK,youD mean
excitation table ? Give citation by
and Tflip-flops? exe
Ans.: Table that gives the
given change of state required
is known as inputs of the for a Table Q.18.1
flip-flop. flip-tiOP the
an
excitation tadie
OIcOD
A Guide for Engineering Struden
DECODE A Guide for Engineering Students
4-1 Sequential Logic Design
-17
Sequential Logic Desi D i g i t a lC i r c u t s
T=D+Da,
0
Fig.
Q.18.2 T to D flip-flop conversion
Fig. Q.18.1
converted to JK FF.
is 19, May-12, Marks 4 1 X
a.19 Explain
how
SR-FF
F SPPU: Dec.-07, 1 1
is as shor..
table for
above
conversion
nown in Table Q.20.1
excitation Logic diagram
Ans. : The
K map simplification
Table Q.19.1.
Present Next Flip-flop inputs For
For
Inputs state
D
state D
R D
K
X
oX Y ca
0 0
1 0
0 11 X
0
0 X K=D
JD
0 Fig. Q.20.2 JK to D
Fig. Q.20.1 flip-flop c o n v e r s i o n
0 X 0
1 is converted to T FF.
1 1 Q.21 Explain how D FF : Dec.-11,15, May-13,15,
Marks 4]
DS [SPPU
0 0 table for above
conversion is as
shown in
Ans. The excitation
Table Q.19.1
Table Q.21.1.
K-map simplification Logic diagram
Present state Next state| Flip-flop input
For S For R Input
KOn D
00 01 11 10 00 01 11 10 0
oox1o10
S JO
R=KOn JK flip-flop
For J For K
K m a p s i m p l i f i c a t i o n
On On
SR
0 SR
For D
00 00x S
o 01 ox o1
11
11 X
CP
Inputs Present Next state Flip-flop Present state Next state Flip-flop input
inputs Inputs
state
T
K
S R Qn Q+1
S R Qn An+ 1 J
0 0
0 0 0 0 0 X
0
0 1 1 0
0 0
01 0 0 0 X
0 0 X 1
0 1
0 1 1 X 0 0
1 0 1 1
X 0 0
1
X X X
11 X X X
Table Q.22.1 Excitation
table for JK to SR conversion
conversion Table Q.23.1 Excitation table for T to SR
PucoDE)
A Guidefor Engineering Students
DECODE
A Guide for Engineering Stuae
21
Sequential Logic Des
Logic diagram Unit IV
K m a ps i m p l i f c a t i o n
RO SC
D
(b)
SR flip-flop
5 Shift Registers
Fig. Q.23.1
Ans. A group of flip-tlops can be used to store a word, which is
called register.
Flops
4.7:Applications of Flip The binary information (data) in a register can be moved from
stage to stage within the register or into or out of the register
of flip-flop.
Q24 List the applications upon application of clock pulses. Such registers are called 'shift
Ans.: Some of the important applications
of flip-flops are registers'.
It car be used as a memory element. Q.2 Explain the operational types of shift register.
K SPPU : June-22, Marks 5]
It can be used to eliminate key debounce.
Ans.: Fig. Q.2.1 gives the symbolical representation of the different
It is used as a basic building block in sequential circuits such as types of data movement in shift register operations.
counters and registers. Data bits- E +-DataData bits
t can be used as a delay element.
(a) Serial shift right, then out (b) Serlal shift left, then out
Data bits
END..
Data bits
(c) Parallel shlft in (d) Parallel shift out (e) Rotate right () Rotate teft
CP
DECODL Fig. Q.3.1 Shift-left register
4 Guide for Eugineerlng Sue
(5 1)
Shift Registen D i g i t a lC i r c u l t a
5-3 Shift Registers
5-2
shift
register
is
hifted lef
bit
DigitalCincuits
data
within
the
lhe
data
input is loaded in Onetho SHIFT/LOAD
register, pulse.
shift cock
this each
In
position
at hift-right register.
shift-
bit
right most fip-tlop. s e r i a l - o u t
serial-in
shows
Q3.2
Fie
CP
tt
register
Parallel In Serial Out (PISO) shift register
Fig. Q.5.1
Shift-right
Fig.
Q.3.2
register is shif enabled,
data
within
the shift
right SHIFT/LOAD is low, gates G, G G are
D
serial-in
When SS =
01, input 1 is selected and circuit connecions are
Sene Serial
input for such that it operates as a right shift register.
shin left
When S,So =
10, input 2 is selected and cireuit connections are
OECOD register
Students
A Guide for Engineering
A Guide for Engineering Stude OECODE
5-6
Shift Registerg
DigitalCircuits
counter.
used as a
can
also be Unit IV
A
register
shift p s e u d o - r a n d o m
bina sequence rator. wwwwwwwwwwwwww.www
registeris
a
enerate a particular bit
6
generat
to
Shift
can
be
used
pattem
shift register
The
repetitively.
detect the desired
tect the desired sequence
son
Counters
to
can be used
The shift register
END...
6.1 Introduction
01 What is counter ? Give the difference between synchronous
and asynchronous counters. [SPPU: May-07, Dec.-07, Marks 2]
2 All theflip-flops are not clocked All the flip-flops are clocked
simultaneously. simultaneously.
3.
Logic circuit is very simple even | Design involves complex logic
for more number of states. circuit as number of states
increases.
(RIpple)
Counter
Counters
A s y n c h r o n o u s
expiain
the
working
binary that
ram
OR Draw diagrar
trigger on
of a 4-bit binary ripple counter using flip flops
negative edge transition. Also draw a timing
and
a.2 Drau counter counter.
a s y n c h r o n o u s
of the
2-Dit diagram
counter showS
. Fe Q21
(a)
Fig. Q.3.1 shows the 4-bit asynchronous down counter
-
7
a n d m u s r K i t p d
zegave
c p
ge
e ge o he
of ciocik
e cioce D
uut
oil agpefr eact aKmag simplfication 3 Lgic diayam
c n t e .
D Fig. a42
hinary ap
tos P : Dec4, 12, a e
e i g n : i i t
CR
,243 shows the -bit up down counter dhat wll count fro
1 1 1 when te mode controi nvur M s i and from 11
te oyerzti he po po wher mode controi inpt Mist
a.5 Design
a n BCL counter using JK filp-flop.
Step
1: Determine the number of flip-flops needed. The
Ans. :
counter goes hrough states 0-9, i.e. total 10 states. Thus,
p10 and for 2" 2 N, we need n =4, ie. 4 flip-flops required.
N=
0 0 0
CLK
010 0
0 0 Invalid
states
O 1
counter
Table Q.5.1 Truth table for BCD
c BA 11 10
DC,00 01,
00 1 11-
Count
000 11 110 101
01 11 1
Y D+BBC
100 011
SNEARAMAANAATAYAAAAONANAA
Students
OECOD A Guide for Engineering
A Guide for Engineering Studen OECODE
Digital Circuits
6-8
Counters DigitalCircuits 6-9
Counters
Draw logic
diagram. Stop 5 : Draw logie diagram.
5:
Step
Logk 1
(MSB) Logic 1
LSB
MSB
CLK
Taa CLK
B
LcR CLR CLR
Reset logic
CLK B A
Output of
resetiogic
Fig. Q.7.1
Ans.: Step 1: Deternmine the number of flip-flops needed.
Valid We know that 2" 2 N. Here, N = 8 n
=3 i.e. 3 flip-flops
states needed.
Y=C+B
Fig. Q.6.2
OECOD Table Q.7.1 Truth table
A Guide for
Engineering Studen
OECODE A Guide for Engineering Studenis
DiytalCircuits 6-11 Caranters
D g i t a lC o n w i t
A
Dertve preset
0 01 11 10
Step4 down
Sirceif
ka
logikc need to
dertve
e r
we
instead of reset
preset logc Y BA+C
logkc Fig. Q.7.2
Timing dilagram for 3-tit synchronous binary cwundar
Fig Q.8.4 (bj
for this counter is shorwn in Table QB.1.
diagram The state sequence
Step &: Draw kogic
MS
Prése PrOS
D-D 1
Prosot logic
Fig. Q.7.3
Since it is down counter, the clock of the next Table Q.8.1 State sequence for 3-bit binary counter
a
flip-flop is given each
by the Q output of the previous flip-flop. Looking at Fig. Q8.1 (b), we can see that QA changes on
clock pulse as we progress from its original state to its final state
6.3:Synchronous Counters and then back to its original state.
Q.8 Drew and
explain the working of 3-bit
Ans.
synchronous counter Flip-flop A is held in the toggle mode by connecting J and K
Fig Q8.1 (a) shows 3-bit synchronous binary counter and
its timing diagram. inputs to HIGH
OICOD counter
A Guide for Engineerlng Students
Gulde for Englneering Sudens DECOD
6 3
herel i t
6 -12
ovten Pertal Crrwite
makes
the and K
inputs
K inputs of
flip-fop
K-ma simplification
outut
of the AND gate on the ollowing clock pulse At
C oggles hat
and fip-fiop of flip-tlop C are
HIGH
other times
the and
K inputs
fip-flop
does not chanee
OW by
and
AND gate output uste
the
tmplement
bit nchronous counter
ynchronous
counter using JK eBA
a.s Design and (SPPU May-12,
E
June-22, Narks
S-bit
synchronous binary pcounter
Ans :Design of
CP
1 1
Fig. Q.9.2 (a) A three-bit synchronous binary counter
1
Ans.: Step 1: Determine number flip-flops needed.
the of
1 x 0 x the formula
For designing mod 6 counter using
00 0 2 2 N
Table Q.8.1 Excitation table required.
Here N 6 n 3 ie. 3 flip-ilops are
Step used: T
of flip-flops to be
3
Determine the excaitation table for the counter. Step 2 Type
Step 3 Determine the excitation table for counter
- 1
0
table for T-ftip-Rop
Table Q.9.2 JK Table Q.10.1 Excitation
flipfiop excitation table Sudenss
OECODED 4 Guide for Engiueering
DECOD
4 Guide for Enginering Sade
6-14
Digital Ciraits
Digital Cireuits
6 15
iueuiit that goes in Counters
The circuit
lockout condition
is called bushless
circuit.
3 01
0
O
0 1
0 0
o O
Table Q.10.2 Excitation table for (a) Desired sequence
counter (b) Unused stata
Step4 K-map simplification. forming lockout
Fig. Q.11.1
For Tc For Ts 12 Design synchronous
For T step, using JK counter which will go through
flip-flop. (Avoid lock out the
01 10 conditlon.). following
01
10
[SPPU: May-11, Marks 3]
TA= 1
-0-0-0-0
Fig. Q.10.1 Ans. Fig. Q.12.1 shows the
Step 5: Draw the logic diagramn. state diagram for the given n
counter. To avoid
COo
condition states 1, 4 and 6 lock-out -0-0-0-
areforce to enterinto state 3.
Flip-flop excitation table is as
shown below Fig. Q.12.1
(LSB)
Qp Present state
Qc(MSB) Next state
Fig. Q.10.2 utputs B
C
Q.11 What
Ans. : In a
is
lock-out condition
Logic
and
diagram 0 A BL C1
an counter if the
unused state next state
bushless circuit ? 1
in and if of
the
unused states by chance the some unused state
counter is said and counter is a8
Fig Q11.1. The to be in the never arrived at a happens to ina elf
called self counter lockout used state
starting counter.which neverconditions. This is then in
ECODE
goes in
lockout illustrated
conaiuition is L 0
0
Table Q.12.1
A
Gulde for Engineering
Studena OECODED 4
Guide for Eugineering Students
17 COunters
/'i wit
For D
iwoeoomoki
Step 3 K - m a p sinplification
For Ta For Tc
Fl. a.12.2
For Ta
0 11 10 00 O 11 00 01
Logie dapram
TA BC TaC
Fig. Q.13.1
LogicDiagram:
Fig. Q.12.3
0
001 B c*JA Kg JcKc
01 0 0 BCA* X 0
X
0 0 0 0
0 X
0 0 1 1 x X X
111 1
Lo
0 0
xxxxxx
0 X X
Students
OECODE A Guide for Engineering
A Guide for Engineering Studens OECODES
-19
Dgital Cireuits
Counters
D i e i h e lC n w i t s
T 01X
Counters
X -p.o
FFO rFF1 FF2 FF3 FFA PFS
XXX CLR
CLK-
Kmapsimplification:
For Ka For Jp
CLR-
Fig. Q.14.1
K1 1
|o00|1 00 ring counter
Logic diagram
1
(MSB)
1g 1 0oo o o
B - (LSB)
Cioc
Flg. Q.15.2 llustrating operation of six-stage ring counter
rbit
ttis case four-i register is used. So the our-tit nequetice
ha
tt
QA ae zera.
Oc
The ouput af last stage p is zero. Therefore complement
ourpur of last stage. n is one. This is connected back to the D
ampur of irst stage. So D, is one
The firsfaling diock edge produces QA= 1 and QB =0, Qc =0, Fig. Q.16.2 Timing sequence for a four-bit Johnson countar
Qp0 snce D De D are zero. If we design a counter of five-bit sequence, it has a total of ten
The next
ciock puise produces Q 1, Q, 1, Qc0, Qp states.
The sequence of states
is summarized in Table An n-stage Johnson counter will produce a modulus of 2xn
Q.16.1.
where n is the number of stages (i.e. flip-flops) in the counter.
Ciock pulse OA Qg c Op
Jonnson counter requires only half the number of tlip-tlops
00 compared to the standard ring counter. However, it requires
1 0 0 0
1
0 0
more
flip-flop than binary counter.
1 6.5: Clock Skew and Clock Jitter
1
1
a.17 What is clock skew and clock Jittering in synchronous
clrcuits? (SPPU: May-14, Marks 21
iteitioh
whee
ya FF2 is delayed
to the dok signal
seen by F
7 State Machines
relatfve
giftca m
wtvwen arriva
timee of the clock at different devi
evene
delfied a the
temporal variation of the ciock
. o k ter i (reference ede
wl regerc the
reference transifion
edge) s 7.1 Mealy and Moore Machine Representation
Coci Hter represents edge-to-edge variation
cie sigrna
Mealy and Moore medele ?
ekek gnel ir time Q What are
9 9, 10, kay- 2, Macs
END. Ans.: The synchronous or cuc ked Siertia Cirea:ts
tepresented by two models
when the output of the sequential cireit deperds oniy on e
ctesent state of the tlip-tlop, the sequent.al circuut s Festerte
Moore model.
on both the
When the output of the sequential circut depends
present state of flip-flopts) and on the inputi he t u e t a
arcit is referred to as Mealy model
a2 Compare Mealy and Moore models ?
(SPPU :
Dac. 10, 12, 15, May-12, 15. Mavka
Ans.
CP
Aential
a sequential circuit.
The state is
represented by the circle, and the
sition between states is indicated
by directed lines
icles. A directed line connecting a circle with itselfconnecting
indicates
at
a t next state
is same as present state. The
binary number inside
of Moore model ch circle identifies the state represented by the circle. The
Fig. Q.3.1 Example
As shown in the
is used to determine the
Fig. Q.3.1, input irectedlines are labelled with two binary numbers
separated by a
used to determine the output. The ot inputs eumbol /'. The input value that causes the state transition is
the flip-flops. It is not
derived using only present states of the flip-flops or combinafio labelled first and the output value during the present state is
it (in this case Y =Q4QB) labelled after the symbol /'.
In general form the Moore model can be represented with its blo k 7.3: Basic Design Steps
schematic as shown in Fig. Q.3.2.
Excitation variables
a.6 State the steps for design of clocked sequential circuits.
Ans.: Steps for design of clocked sequential circuits
Input
variables Next Output The recommended steps for the
state Memory decoder Output design of a clocked synchronous
decoder elements (Combinatlor varlables sequential circuit are as follows
circult)
1. It is necessary to first obtain the state table from the given
circuit information such as a state diagram, a timing-diagram, or
State variables
other pertinent information.
Fig. Q.3.2 Moore circuit model with 2. The number of states may be reduced by state reduction
an output decoder technique if the sequential circuit can be categorized by
7.2: State Diagram and State Tables input-output relationships independent of the number of states.
.
Q.4 Explain state table? Assign binary values to each state in the state table, i.e. state
[SPPU: Dec.-12, May-13, Marks 2 assignment.
Ans.: It is convenient .Determine the number of flip-flops needed and assign a letter
to translate
state the information contained in u symbol to each.
diagram into a tabular form called state
simply state table. synthesis table 0 5. Choose the
type of flip-flop to be used.
It 6.
represents
It consists of relationship between input, From the state table, derive the circuit excitation and output
output and tates tables.
labeled present state, flip-flop sta
three
Output. The present sections
state next stareand USing the K-map or any other simplification method, derive the
the
occurrence of aclock designates the state of flip-flops circuit output functiohs and the flip-flop input functions.
pulse. The Deefore
next state is
8. Draw the
state the logic diagram.
OECODE
A Guide for Engineering Sruue OHCODDD A Guide for Engineering Students
Digitni C i w i s
State Machines D g i t a lCireuits 7 5
State Machines
7:4:State
Reduction and State Assignn
nt gtop 2
Find equivalent ates
technique. at the state table for two
explain state
reduction
May-13, Marks 3, L present states that go
a.7 Briely
SPPU: Dec-10,
13,
e-22, Marks 4 xt state and have the sarne to the
in sequential circutt sa we
output for both input
reduction can easily find hat states
OR Wite a note on state combinations, and e are
Ans.:The state reduction equivalent.
avoids the oo O0
/0
technigue basically raia is because, c and e both states go to states c and d
introduction of redundant and have
outs of 0 and 1 for X 0 and X 1,
respectively. Therefore,
states.
state e can be removed and replaced by c.
The reduction in
redundant
1/0
states reduce the
number of 0/0
The final reduced table is shown in
Table Q7.1 The state diagramn
required flip-flops and logic 1/1
gates, reducing the cost
of for the reduced table consists of only four states and is shown in
the final circuit. 1/1 Fig. Q.7.2.
1/0
The two states are said to be
Fig. Q.7.1 State
redundant or equivalent, if diagram Present Next state Output
every possible set of inputs generate exactly same output state
Example b d 0
We start with
the state
a
sequential circuit whose
specification is given in C d 1
diagram of Fig. Q.7.1. a d
Step 1: Determine the state table for Fig. Q.7.2 Reduced stata
Table Q.7.1 shows the state given state diagram.
table for Table Q.7.2 Reduced state table diagram
given state diagram.
Present state Next state
Q.8 What is state assignment ? State the rules for state
Output assignment. [SPPU: Dec.-12, 13. Marks 3, June-22. Marks 4]
X 0
X =
1 X =0 X1 Ans. To determine the
b to
flip-flop input functions, it is necessary
C 0 represent states in the state diagram using binary values instead
d of alphabets.
e
DipitelCii for
NEXT STATES for a
the same given
having
Rule : States should have assignments
whiich can be inpu Q/0
cmdihon
adjacent
cels in a K-map. groupe
nto logically
example
Rule 1.
for Rul As
hown 19
shows the in the
Fig Q82
there are
Fig Q81,
foar states whose
100 101 110 1 O/1
1/1
same.
next state is
states
for
(
assigntnerits 1/0
these states are 100, 1/0
X
11 x Logic diagram
1X
0010 X1 AD
o111 XX
1000Xx ox
1X X o Clock
K-map simplification
For da For KA
11 01 Output
AR
D
Ka1 Fig. Q.9.3
For For KB
AS AB a.10 Reduce following state diagram. [SPPU: May-14, Marks 6]
x00 01 111 00 01 11 10
oox
N 0/0
g XA+X Kg 1/0 O/0
AX
0/0 0/0
For output
AS 1/0
001 11 10 1/0
0/0
1/1
1/1
Fig. Q.9.2
1/1
Fig. Q.10.1
QEcOD
A Guide for Engineering wden
QEcODE A Guide for Engineering Stwdents
7-10 State Machines D i g i t a lC i r u i t s 7-11
State Machines
DigitalCnwits
table
given state diaga: 3 : The reduced state diagram willbe as follows
1: Drawstate
Ans. Step
Next state Output
Present state
X-0X-1X-0X 1 1/0
a b 0 0 0/0 1/0
d 0 0
d 0 1
O/0
e 0 1 O/0
01 Fig. Q.10.1 (a)
0
a.11 Implement the following state diagram using D flip-flop.
Step 2: Reduce the state table by replacing redundant states [SPPU: Dec.-12, Marks 10]
(100
Now state d and f are
redundant replace so state f by state d.
Fig. Q.11.1
Present state Next state Output
Ans. The excitation table for the given state diagram is shown in
X0X 1X =0X1| Table Q.11.1. Since D flip-flops are used, flip-flop excitations are
b 0 0 same as next states.
C d 0 0
a d
0 Input Present state Next state Output
e d
X B CA
a d 0
OECODES 0 0 000 1L 1 0
A Guide for Engineering Studens A Gulde for Euglneering Students
DECODE9
.12 $tate Malinrs myltal Crult
7-11 State Machines
Digitnl Cwis
ede
nplomontatlon
PiDE
0
Fig. O.11.3
0
oOZ o
) 1 1
Dg7K CKAB 1
For D
ForY
11 1 0
0 1 11 10
1 0
Fig G.11.2
A tuda
fur ngneerny Mulen 4 tutde fur fngliegring Studen
7-14 State Machines Digita Circuits
7-15
State Machines
D i i t e lC i n i
Ans.:he minimum number of
flip-flops can be gjven as
K-map simplification
NS 2n-
For Te For Tc
Since max (0s, 1s) 4, N 4, therefore n
=
3. Table Q14.1 shows
0 01 11 10 o00 01 11 state
encoding
for given sequence using 3 flip-flops.
oX FF O/Ps
CP States
Te QA Qc
Fig. Q.12.1 1 1 7
Implememtation
3 0 1 1
0 0
5 1 0
6 1 1
Table Q.14.1
Therefore, design a circuit to get above state. In case of D flip-flop
Fig. Q.12.2 next states.
flip-flop inputs are same as
K - m a p s i m p l i f i c a t l o n
For D
CP Flip-flop outputs Din States
For DA
01 11
10
00 01 1110 Qc
OA00 x x 1 0
DA Oc 3 0 1 0
DA OgQ,Oc
0 1 0
For Dc
5 4
O00 01 11 10 1
The required sequence is 0 6
ooxx
generated at the output of flip-flop A
7 0
State is repeated
Table Q.15.1 (a)
Qc
1 1 0 15
CLK 7
0
0 1
Fig. Q.14.1 1 0 1 3
Q.15 Design a pulse train generator circuit using shift register for
the following pulse train. 4 0 0 0
1 0 0 0 1l
********* ...
0..... . 9
[SPPU Dec.-08, May-12, Marks 8] 0 0
Ans.: The minimum number
1 12
of 1 1
flip-flops n, required to generare
sequence of length N is given by
7 0 1 11 6
N s 2" 1 X 011
-
Preset flip-flop| 0 1
Here, N =
7, thereforen =3. The Table Q.15.1 (a) shows
11
generation with three seque 1 1 1 1 0 1 1 15
flip-flops.
Table Q.15.1 (b)
simplifhioation
tor n
Kmap
a,
)
Pebel
tlip flop
Fig. Q.16.1
Talle Q.16.1
Logic diagram
K-map
simplification for D
00 01 11 1
Vcc
Preset
A Dc
PL
in Stat
Fig. Q.15.2
Q.16 Design a pulse train generator to
sequence 10110 generate the following
using shift register.
Ans.: The minimum
(SPPU : Dec.-14, Marks 6] C
number of flip-flops be
n can given as
Here N
N2h-1
5, therefore n 3. The
La4
=
7 . 6 Sequence
: Detector is 0, we have tected the second bit
in the
hen i n p u t
sequence,
have
We
to go to the next state
detect the next bit in the to
sequence
detector to deto.
ect a erlal hen When input is 1, we have to remain in state b because 1
pe
DesignMealy E SPPU :Dec.-13, Marks etected may
dete start the
a.17
sequence
of 101. 61 ich we
have
sequence. Output is sti
input
the number of states in ero.
sequence beginning
2. State b Fig. Q.17.1 (a) Fig. Q.17.1 (c)
From the above state diagram we can determine the state table as
b
b
cond bit in
Setnoe b
delecded
iv KIaheeere
State Machines
state Mahines
a 10 D r a
a Moore ype equenee detector tn detet a serial
velwi
tnO flip- flops of 101.
1PPy Dec.13, Marvs 6
Ant
minegnintheg
hevt
we" weguence
staes
thw 10 we can dete uput
Se
there
av
01 and
state
lna Moore type
Mo output design
eniy t n depends flip-flup
state Q171 (6). Therefor, in the state
statea
table as
shown in Table
Ann,
diagtam of More machire, the
Mal ritten with the state instead of with the
Output 7 transitiot
ettation
Next state
Present s t e Apart from this the proress of determining the
the states.
to that used for Mealy machtre iet us
I r t w e n
dgram is simil.
stuat initial state.
ith state '
8 an
N-1X 0 X-I slart
1 .Stato a
0
input is 1,
we
When
0 huve
detected
bit in
thencorrect
the first bit
-CO Corrac
first
Table Q.17.1 (b) Excitation table sequence, hence we
g0 to the
K-map simplification have to
For A For B For Z state to detect
next
Fig. Q.18.1 (a)
bit in the
AB
the next
is 0, we have to remain in the state 'a
Sequence. When input
not the first bit in the sequence. In both cases
00 0 because bit 0 is
output is 0 since we have not yet detected all the bits in the
01 0 0 sequence.
11 X b: When input is 0, have detected the second bit in
2.State we
10 the sequence,
hence we have to First bit in
ABX B X Z AX the next sequence
80 to
Fig. Q.17.2 (a) detected
Logic diagram state to detect
the next bit in
the sequence.
D When input is 1,
we have to
Sacend bit
remain in state b in the sequeNcE
delectet
because 1 which
CLK we have detected
Fig. Q.18.1 (b)
may start the
1.
Present state Next state
new state d with a output Output Z
0
X=0 X=1
Fist bitin
seguence
detected
*Wwwww0w
C
C d
d C
b
Table Q.18.1 (a) State table
Second bit
in the sequence
detected there are four
Thirdbif Since Present state Next state A" B"
inthe we need two |Output
states
sequernce
detected flip-flops. Assigning ABX=0X=1 Z
Fig. Q.18.1 (c) b =01,
state a00, 0 0 1
0
10 and d =
11
c 1 0 01
we can determine
the excitation table 0 0 1|1 0
as shown in 011
Table Q.18.1 (b). Table Q.18.1 (b) Excitation table
0
K-map simplification
For A For B For Z
X
AB 0 1 AB 0 4 0
Second bit in
Overlapped 00 00 0
Sequence detected
Fig. Q.18.1 (d) o1 01
In caseif input is zero, we
have to restart
sequence and hence we have to return to state checking of input 11 0 0
11 0
a.
4. State d : Since
the
When input is 1, we
sequence is detected, this is the last state.
have detected the first
bit in the next
1 10
Z AB
sequence, hence we have to go to state b. A = ABX B X
When input is 0, we have detected the
sequence, hence second bit in the (AB +AB)
we haveto go to state overlapped
c. (A B) Fig. Q.18.2
DECODE
Students
A Guide
for Engineering Students ORCODE
A Guidefor Engineering
7-26 State Machines Digital
Circuits 7-27
State Machines
Digital Circuits
When input is 0, we
State c : have O/0
Logic diagram detected the last bit in the sequence,
we have to go to the initial state,
hence w e
ted. When
letected. w input is 1, we have to
the state b' because 1 which we
0/1
to
e
have dete detected may start the sequence. 10
Assumingsta assignments as a = 0,
K Fig. Q.18.3 and = 10,c we can determine
01
tation table for above state diagram (c)
Q.19 Design a sequence detector to detect the following so.
7-29
Loglc dlagram K-map simplificatlon State Machines
For dA
X
AB For hA
A B 00 01 11 10
X
X 11
x 10
JAXB
x
CP
Flg. Q.19.33
For a
machine for For Ka
Q.20 Design sequential circult using Mealy
a
JK
1011.... Use flip-flop. etectlig 00 01 11 10
00 01 11
the sequence . . .
Clock-
D -Y
State table
InputPresent Next StateOutput Flip-flop inputs
State
X
A
BAB,Y KA Fig. Q.20.3
0 0 0xX
END...
1 0 1 Xx
00 0 0 0 X
0 0 0
0 1 0 X 1X
0 1 0 0 X X
1 0 1
1 0 X 0 1 S.
11 1011 X X0 A Guide for Engineering
D i g i t a lC i r c u i t g
Unit V 8-2
State
name
Entry
Coding of
Algorithmic State Machtnes
tlip-lop
Algorithmic State values for
yYy hls slate
| Exlt
The outputs
that are no
Q.4 Llst
Every
one common clock pulse,
operations that 1
be performed during are t
The operations specified within the state and conditio 1 1
the block are performed in the datapath subsystem. boxes in Flg. Q.6.1 Output
wavetorms
The change from one state to next is perfe Ans. The ASM chart can be
erformed in the states, one for each clock
drawn for above
waveform with
subsystem. ntr of
For each state the
cycle the waveforms four
period. with the
output will be conditional
An ASM chart consists of one or more
input lines in effect
longest
interconnected bloc.
ocks.
of the at that time. Let on the values
An ASM block has one entrance and
conditions at different states. us observe the different
any number of evit
represented by the structure of the decision boxes. paxths 1.State Q In the first state,
Q, ie. in the first
clock cycle, all
Each block in the ASM chart describes the
state of the waveforms are at logie .
Iherefore, the output, Z 1 =
and is listed
during one clock-pulse interval. su.
system in the state box for the first state, Q
Q.5 Mentlon applicatlon of ASM chart 2.State Q: In the second state,
Q, i.e. in the second clock cycle,
(SPPU May-13, Dec.-15,
:
the output is 1 except for the waveform
Ans.: ASM chart is used to Marks 2 to corresponding inputs
circuit with the represent state
machine/sequential xX -
11. This condition can be
tested by expression x, AX, in the
description of sequence of events and timine
relation between the states. decision box. When the result of expression is 0, the
inputs are
other than xx, 11 and hence output Z =1. This is
=
any point in its period. back to first state to start the new cycle
com
U
nbinational circuít
A
and , nd
the fourth cycle,
01 registe are used to select the
output. Tre cstyats of the
0. inputs o he
register is used multipjæsars.
is always in s
output state of the
the the present to eiect e
From state Q4 way
waveforms
0
1A X2 is to produce an input to its
purpoe
the
that iplexer correspon.dang ac-ia
qual to the binary vaueeof the next state
multi;
may be repeated.
us express the
Let puts of the ultiplexers are determuned from the decsio
ASM chart
as a
that
state
in
O-01 The
boxes and
annd state transitions given in the A5M charts Reter
know
table. We O.6.2). The present states, next states and conditons or
list Fig
the state tables
we
ansition
can be tabulated for ASM chart gven in Fig Q2 as
with
the outputs along Table Q.7.1.
in the
shown in
states
the next
No.
Present state Next state Condiion
columns
corresponding to each
L 21
combination of input (Q10 0 Q
values. 0 010
1 0(Q)0
(Q3)
Q
(Q)1 1 ) 0
Table Q.7.1
waveform generator
chart for
Fig. Q.6.2 ASM Inputs for Multiplexers
with
with the suitable
controller
method MUX2
the MUX Dec.-08,15 May-11, Marks 8] MUX 1
a.7 Explain [SPPU:
example. realisation of 01
forward method
for 00
It is simpler and
straight method, the gates 10
Ans.: controller. In
this
1 1
combinational circuit for any and registers,
registers,
multiplexers
are replaced by components. 2 +
and flip-lops three levels of
In this method there are
next state
30
respectively. the
consists of multiplexers that determine
the 30
The first level that holds
level contain a register Table Q.7.22
second
of the register. The the decoder that provides
The third level has
Sudents
state. Engineering
udents
8-7 Algorithmic State Mar D i g i t a lC i r c u i t s
8-8
Digital Circuits
uX 22 genee Algorithmic State Machirs
input for
flip-jlop A and MUK
generates input r
1 generates
Note MUX multiplexer inprt can be
determinea
by nehdino uding condition
Aip-flop B. The
in the next state o
coresponding
to logic 1
bit position
A the next state
Consider the
ner hence
ransition
from Q
to Q2 For flipfiop For fip-fiop B the
transition s 9
multiplerer given conditions1,
coresponding input of multiplexerI
s the given
the
corresponding input of
hence the
transition, ie. 1.
In this ca
from Q3 to Q1 or Q4. e, the nex
the transition
Consider
state for flip-flop
A is 0 for Q1
and 1
corresponding to is the
Q4 Therefore,
taken 2ss ASM chart fo
Fig. Q.7.1 (b)
condition of transition 1 i.e. xix2 +x,.
an
a 2-bit binary counter
a.8
corresponding input
of muliplexer line E tch that:E
such = l (counting enabled) E 0 having enable
(hold present
=
Logic diagram
M
(1)
1 4:1
MUX
(2)
CP
Fig. Q.7.1 (a) ASM Chart
Fig. Q.8.1
8-9 Algorithmic State Machih. D i g i t a lC i r c u i t s
8-10
DigitelC i n i t
Algorithmic State Machins
state table
for a
2-bit UP-DON
2-his
ASM chart for the
tth output Q1 following
a.10 Draw A S
and
M 1:Up counting state
and enzble machine
chart
M 1:
=
Draw an
ASM
input: counter A o-bit
two-bit
a9
having mode
control
co at lesign. I f
X = 0, Counterhe sta
r e s the state changes signal X
ignal is to be
counter
M= 0:DOWN counting output 1
whenever
beco Counter should remain n
as 00-01-10-11-00.
a
PPU: May-05,14, Dec-12, 1, present state.
The circalt
should
generate
Marks using
circuit
JK-FF and suitat
Design
May-6,37,14, VarksyourT]
: ASM chart:
Ans: State diagram Ans.
-O-
a B-0A
Fig. Q9.1
ASM chart
01
B-0,A
10
B-1.A0
11
8-1, A1
Fig. Q.9.2
Fig. Q.10.1 ASM chart
ECOO
A Guide for Students
Engineering Students A Guide for Engineering
OICODE
Algorithmic State Macki, 8-12
D i g i t a lC t r c u i t s
8-11
input
conditin
Madntnes D i g i t a l
C i r c u i t s
shows
Q10.1
The Table
example Next state
Input Multiplexer input
Present state ndition MUX 1 MUX2
condition
001
A B C 0,B 0.A 1
B X 0
A
0
0
X |0
X
0
X
T X X
011
X
0
Table Q.10.1
C 0,8 1,A=1
Logic diagram
X
MUX 1
101
C 1,B 0, A=1
L7.
0
B
MUX 2
111
CLK C 1,B 1,A=1
Fig. Q.10.2
Q.11 Design a sequence generator circuit to
multiplexer controller based ASMgenerate
1-3-5-7 using sequence the
Consideration i) If control input C approach.
circuit in the same state. ii) If 0, the sequence generator
=
Present
Next state
nput
Multiplexer input
state
condition
AND
matrix and heio
of
rhe ROM/PROM 15 a two level
Logic diagram Ans.
minterms form.
implementation in sum ot
AND
matrix
-
Address input
MUX 1
MUX 2 MUX
Einterms
S S, S0 AND
matrix
TTTT Fus8s
OR
natrix
AND-OR gates
PROM with
Q.1.1 4x2 circuitaccepts
Fig. ROM. The to
equal
circuit using number
c o m b i n a t i o n a l binary
a an
output
CLK 2Design
and
generates
number
-DIt
Fig. Q.11.2 of input
number.
square
END...
(9-1
Guida far Fupiugering Studen
Digiel Cinwits
Ans.
9-2
Programmable Logic Devicessi
D i g i h a lC i r c u i t s
9-3
Binary Square of numt
input on
address
on data lines mber t
consists
terms, mn sum
of
n-inputs, output buffer
terms, input and
Programmable Logic TDevices
lines
vith m
oduct constitu aoutput 'busfers utputs, m product
terms
numbers
Biney- 86 F2 Square
BB,FFP
0 0 0
00
sum terms constitute a
diagram of PLA.
o o
Fo BC
F AS AC
F, AC +
TT TIC 1 we
have to 1
Table Q.4.1 PLA program table implement them
F C+AB
3x3x2
Step3: Implementation using
PLA. There we
Fig. Q.5.2
A BB cT
they
term. Thus have total 3 product terms and can be
product
using 3x3x2 PLA.
3 Product terms implemented
AC PLA program table
Table Q.5.1
Fig. Q.4.2
7
e mmable tngic r i t a l C i r e u i t s
ThPe
-
-
3 P r d u c tenns
AB
AC
ww ww
2 Sum
erms
*** Fig. Q.6.1 (b)
Link open
to get
Link close
D e s i g n the following multiple output function using PLA.
complemented
Output o get F1 (a,b,c,d)
=
2m (3, 7, 8, 9, 11, 15)
uncomplemented
Output (a.b.c.d) = 2m (3, 4, 5, 7, 10, 14, 15) S P : Dec.-13, Marks 7
3 Ans.
2 Outputs
F, BCAc
F2 AB + +
Fig. Q.6.1 (a)
OECOD
A Guide for A Guide for Engineering-
Engineering Studens RcoDE
9-9
Digite! Cinwiis
Programmable Logic Derira igttalCreuita
011 11
10 01
9 1 0 01 1 16
6 Product terms
simplification
2: K-map
Step
For a
11 10
CO
01
AB
00
01 o
11
1 x
a A+C+BD+Bb
For d For
CD CD
AB00 01 11 10 AB00
00
2 sum 01
terms
11 X x
B3 B2
Fig. Q.7.1 (b)
Q.8 Design seven-segment decoder
using PLA. d B CD BCo Bc+A fzA-C-8-e
SPPU: May-14, Marks 7]
Ans.: Step 1: Draw For
truth table for
7 segment decoder.
BCD-to-common cathode
00
Digit A
0
BCD a bcd e
efg
00 0
0 1 1 11
1
2
00 0
1 0 1 1
110 11
0 0 00 0 0
3
00
10|1
1
1 0 11 0
1 1 11 1
9 A+8C+BC+C5
00 Fig. Q.8.1
OFCOO
Digitel Ciwis
9-10
Programmable Logie Devir D i g l t a l
C l r c u l t s
9-11
table. evttey Programmable Logic Devices
Write PLA program Step
, 4 : Implementation
Step 3:
BD 3
30
BD 4
B 5 0
CD
CD 0 0
CD
CD 1 1
C 9 0
D 10 D
CD 11 1 0
D
BC
BCD 12 0 1
BC 13
B 14
1 0
BD 15
Fig. Q.8.2
Students
Engineering
DECODD A Guide for Engineering Studens
A Guide for
ORCOD
9-12
Programmable Logie De D i g i t a i
C i r e u i t g
9 13
simplification Prog ammabie
Ans.: Step 1:K-map
PAL
with the help lrgi Detves
F,(A. C)
B. Em(0. 2 5,7) F (A, B, C) Xm (2, 3, .10
Explain
sest
diagem
BC 4,5 Ans.:PAL (Programmable Array Logc
0 0 01 11 0
00 01 11 10 that PLA is
0 We have
,we a deise w a seen
d prograrmmable OR array
array and Howe ptogame
*****
?AL AND
array
prograrmmable 1
logic is
progratate a
AND array.programma
D
AC
AB
D Fo
AG
2 t5
yAEC c* AT
Fig. Q.9.1
Su e=
Engineering
A Guidefor
A iulde fur Euglarerlug Smdents
Programmable Logie Debire
Dieitnl Crewits
W
D M g i l a lC i r e u i t s
9-15
Prodvct step2 Implementation Prozrammable Logic Devices
terms
A BcTo
10
Fig. Q.11.1 (a)
11
12
a.12 Design BCD to
Excess-3 SPPU:
converterDec.-07.
using PAL
12. ,
May-13. Marks 3
D- X Fuse intact
Ans.: Step 1: Derive the truth table of BCD to Excess-3 converter
0 0
AB 00 01 11 10 0
oo 0
10
paco
Pvogvammabie Legi r H g i t a lC r e u i t a
17
00
01
E,,8, 9,8 B
For Eo
01 11 10
0o
x
TT TTIc decodei
Cesire rnter
Cesred mrtEs
Table Q.12.2 PAL
program table
ECODE w
4Guide for Fagineering Stsdenh A Guiie for
Ëngineeing
tuderm
9-18 Programmable Logic n Digital
Cicuits
9-19
Programmahie Logic Devices
Digihel C i n w i s
runctions in
in SOP
form can
implemented using
functions in SOp
form can be
LUT:
that
an
The basic
architecture of logi Explain
Ans. programmable roOW and
column inter OR F|SPPU: Xay-15, Marks 6]
blocks
channels
with
surrounded by programmable I/0 blocks as shor in
based
necing Block Diagram: The Fig. Q.15.1 shows the block diagramof
Complex Programmable Logic Device (CPLD). It consists of
architectures are on Ans.
a
Fig. Q.14.1. Many FPGA rather han on (sum of product
type of PAL like blocks, IO blocks and a set of
called LUT (look-up table)
a
collection of
memory are. Anoth
SOP AND/OR arrays
as CPLDs approach found on interconnection wires, called programmable intercon1nection
some FPGAs is the use of multiplexers to generat logic functions
cture. The PAL like blocks are connected to the programmable
InputiOutput interconnect structure and to the 1/0 blocks. The chip input-output
block
attached to the I/O blocks.
are
pins
Row PAL-E
Logic PAL-like
Logic Logic LOgic
block
interconnect block biock
blook block block
block
o
Logic Logic Logic LOgIC
block block block block
1/0H PALike
block block
PAL-e
biccx
10
Column
interconnect CPLD
Q.15.1 Block diagram of
Flg. Q.14.1 Basic architecture of FPGA Fig.
Students
Engineering
A Guide for
OECODD A Guide for Engineering Stmdenis OECOD
9-20 Programmable Logie Deviee,
Digital Crcwits
the
CPLD usually consists
consists
ot
PAL ike block in
the acrocell in CD
macrocell CPLI abou
flip-flconsi
op, sts
A macrocells,
the
block diagran of
nit. Then data
ra ines
emory unit
nformation
memory
provide
o be stored
and the k
the
k-address
ines
Read
Memory
in
address
lines specify the
Write
2word
n-bit per word
particular word chosen
10.1: Memory Organization and Operation pa
The two
a v a i l a b l e .
Generally, the total number of bits that a memory can store is Ans.:Since memory is specified as 4KxS it has $ data input
its
capacity. Most of the types the capacity is specified in terms and data output lines.
of
bytes (group of eight bits). locations. Since 4096 4K t has
Memory has 4K memory
=
A unit ?
memory unit stores
binary information in groups of bits called needed in 64 Kx8 memory
words. A word in memory is an Ans. 20 16 K 16 address are needed and S input-output
out of
entity of bits that moves in and
storage as a unit. A word having group of 8-bits is called data lines are needed.
a byte.
between volatile
a.5 Distinguish be and non-volatile
memories.
Masked PROM EPROM EEPROMM Static SPPU: May-12, 13, Dec-04, Marks 2
ROM RAM
Dynami
RAM
c nouish between volatile and
Based on physical non-volatile memories
characteristics Ans.
Based on information.
storage device.
terminology
used for Volatile memory is Non-volatile memory is typically used
fabricatlon 2. for for the task of secondary storageor
Bipolar MOS typically
used only
primary storage. long-term persistent storage
Fig. Q.4.1
Type of volatile Examples of non-volatile memory
Broadly semiconductor memories are classified as
volatile
3.
memories are include Read-Only Memory, flash
memories and non-volatile memories. Volatile memories memory, most types of magnetic
can i) Random Access
retain their state as long as power is
applied. On the other hand computer storage devices (e.g. hard
Memory (RAM) disks, floppy disk drives and magnetic
non-volatile memories can hold data even if
power is turned off. tape), optical disc drives, and early
Read/Write Memories (RWMs) are those memories, which allows i) Static RAM (SRAM)
i ) Dynamic RAM computer storage methods such as
both read and write operations. They are used in type and punch cards.
where data has to change continuously.
applications (DRAM) paper
are also used They for
iv) Fast Page Mode
temporary storage of data. ROM memories allow only read
DRAM (FPM DRAM)
operation. They are used to store monitor
programs and
constants used in the program. v)Extended Data Output
RAM (EDO RAM)
.The volatile memories which can hold data as vi) Synchronous DRAM
long as power is
ON are called Static RAMs (SRAMs). (SDRAM)
Dymamic RAMs (DRAMs)
stores the data as a charge the vii) Double Data Rate
on
capacitor and they need
refreshing of charge on the capacitor after every few milliseconds (DDR) SDRAM
10.3
Semiconductor Memorie D i g l t a lC i r c u i t s
Sense line
Semiconductor Memories
RAM, ROM, EPROM, EEPROM, NVRAM, SRAM Q.6.2 shows the
Q.6 Draw circuits of
SRAM, DRAM dynamic
Fi& RAM cell. A
one cell of static and dynamic RA. dynamic RAM contains
explain its working. [SPPU: Dec.-12, 15, May-13, M such
Ans. There
Mart.nd
Aar thousands
of Storage
are two types of RAMs memory cells. capacitor
Static RAM
Dynamic RAM LUMN (Sense)
Static RAM COL
When
lines ine
ROW (Control)
Memories that consists of circuits capable of and MOSFET
as
long retaining their high,
the Fig. Q.6.2 Dynamic RAM
power is applied are known as static
as
memoriess. state
go
and charges the
are Random onducts
combinely These
Access Memory (RAM) and hence
static RAM memories. cal.
alled
capacitor.
When the COLU LUMN and ROW lines go low, the MOSFET opens
Fig. Q6.1 shows the one-bit memory cell for
static RAM. retains its charge. In this way, it stores 1 bit.
the capacitor
storage part of the cell is modeled by an SR latch with The and
compared to
cell when it is memory cells per unit area. memory cells as
.When Read/Write input is logic 1, read operation 2. It has less access time hence Its access time is greater than
is performed;
otherwise, write operation is performed. faster memories.
static RAMs.
Students
PEcODE A Gulde for Engineering Students A Guide for Engineering
pecoDD
10
10 7 Semicmductun Memaries
Digitat Cireits Semiconduetu Dgtal
Creuito
Ans. We can't write data in read only memories a short note on PROM. SPPU une-22, Marks 8)
Write
It a.9
non-volatile memory i.e. it can hold data even if power i .PROMs are programmed by user. To provide the
off. Generally, ROM is used to store the binary codes
for Ans.:
and its o w n
fused OSFET or transistor. When the fuse is intact,
data such ás look up tables. This is because this
tyD of has
cell is configured as a logic 1 and when fuse is blown
information does not change. thememory the cell is logical 0. Logical 0s are
memory
I t is en circuit),
important to note that although we give the name RAM. by selecting the appropriate select line and then
static and dynamic read/write memory devices, that to p r o g r a m m e d
locations.Although
lthough ornly Os will be programmed, both 1s and Os
Fig. Q.9.1
a
pulse of high cur
shows a PROM fused MOSFET
memory cell. rrent. The C a nb epresented
in the data.
on
May-12, 13, Marks program duration is around 50 ms and its
amplitude
OR What is meant by EPROM ?
4141 ram
pulse
IC. It is typically 11.5 V to 25 V. In EPROM, it
State
disadvantages. its
advantages
prOB
ds
depends
on
EPROM
Ans.
RAM EEPROM.