Program: B.Tech Subject Name: CMOS Design Subject Code: EC-603 Semester: 6
Program: B.Tech Subject Name: CMOS Design Subject Code: EC-603 Semester: 6
Tech
Subject Name: CMOS Design
Subject Code: EC-603
Semester: 6th
Downloaded from www.rgpvnotes.in
Unit- II : Specification of sequential systems: Characterizing equation & definition of synchronous sequential
machines. Realization of state diagram and state table from verbal description, Mealy and Moore model
machines state table and transition diagram. Minimization of the state table of completely and incompletely
specified sequential machines
Sequential Systems:
A sequential system consists of a combinational circuit with the feedback circuit. The general block diagram of
the sequential system is as shown in Fig.2.1. The feedback circuit consists of memory elements which are
capable of storing binary information. The output of the combinational circuit ‘Y’ is called as next state and the
output of the feedback circuit ‘y’ is called as present state. Thus a sequential circuit is specified by a present
state, input information and the output information.
Sequential circuits are classified as Asynchronous sequential circuit and Synchronous sequential circuits.
The design of sequential circuit is referred as synthesis of sequential circuit. Following are the design steps
involved in the verbal description.
(i) Construct a state graph with the help of specifications for the sequential circuit to be designed.
(ii) Translate the state graph into state table
(iii) Number of redundant states may be reduced.
(iv) Each of the state is assigned with the binary code using state assignment procedure.
(v) Construct the translation table and output table.
(vi) Derive an excitation table for the selected flip flop.
(vii) Find flip flop input and output equation
(viii) Draw the logic diagram using the logic equations obtained.
Mealy Model Machines: The Mealy machine output depends on both the present state and the input value.
The block diagram of the Mealy machine is as shown in the Fig. 2.2.
Moore Model Machines: The Moore machine output is dependent only on the present state. The block
diagram of Moore machine is as shown in the Fig. 2.3.
4 Output may change either when input The output will only change when the state change.
changes or when the flip flop change state
5 Output is observed after each input appear Output is observed after the entire input sequence
appear
6 The output may have momentary false No false output appear as the output is not a function
values. of input, it is only the function of state.
Example: Construct a mealy state diagram that will detect sequence of 10110 from the stream of data.
0/1
S0 1/0
1/0
S4 S1
1/0
0/0
0/0
1/0 0/0
S3
S2
1/0
Fig. 2.4 : State Diagram
Example : Design a sequence detector which detects a sequence of “1010” in a stream of data.
0/0 0/0
S0 S0
0/1 1/0 1/0
S3 1/0 S3 1/0
S1 1/0 S1 1/0
0/0 0/0
0/1
Fig.2.5 : State Diagram to detect sequence Fig.2.6 : State Diagram to detect sequence
“1010” (Non- Overlapping Sequence) “1010” (Overlapping Sequence)
Example : Design a sequence detector which detects a sequence of “0101” in a stream of data.
1/0 1/0
S0 S0
1/1 0/0 0/0
S3 0/0 S3 0/0
S1 0/0 S1 0/0
1/0 1/0
1/1
Fig. 2.7: State Diagram to detect sequence Fig.2.8: State Diagram to detect sequence
“0101” (Non- Overlapping Sequence) “0101” (Overlapping Sequence)
State Table :
Example : Design a sequence detector which detects a sequence of “1001” in a stream of data.
0/0 0/0
S0 0/0 S0
1/1 1/0 1/0
0/0
S3 S3 1/1
S1 1/0 S1 1/0
1/0 1/0
Fig.2.9: State Diagram to detect sequence Fig.2.10: State Diagram to detect sequence
“1001” (Non- Overlapping Sequence) “1001” (Overlapping Sequence)
Example : A sequential circuit has two JK flip flops A and B, two input x and y, and one output z. The flip flop
input equations and circuit output equation are:
JA = Bx + B’y’ KA = B’xy’
JB = A’x KB = A + xy’
Z = Ax’y’ + Bx’y’
(i) Draw the logic diagram of the circuit (ii) Derive the state equations A(t+1) and B(t+1).
(iii) List the state table for the sequential circuit. (iv) Draw the corresponding state diagram
x
JA A
y
KA A’
JB B x' Z=(A+B)x’y’
y' Z=Ax’y’+Bx’y’
KB B’
01 0 0 1 1 01 1 1 1 0 01 1 0 0 0
11 1 1 1 1 11 0 0 0 0 11 1 0 0 0
10 1 1 1 0 10 0 0 0 0 10 1 0 0 0
K-Map for A(t+1) K-Map for B(t+1) K-Map for Z
01/0
Present State Next State, Output
00/0 S0
xy = 00 xy=01 xy=11 xy=10 11/0
State Diagram
Example (i) Determine the minimal state table equivalent to the following
C H,0 D,1
D B,0 H,0
E G,0 C,0
F C,1 E,1
G H,1 E,1
H C,0 A,1
Solution :
The first partition P0 corresponds to 0-distinguishability,
∴ P0 = (ABCDEFGH)
The second step is to obtain the partition P1, from the output values.
Present Output
State X=0 X=1
A 0 0
B 1 1 The states are 1-equivalent if they have the same row
C 0 1 pattern.
D 0 0 ∴ P1 = (ADE)(BFG)(CH)
E 0 0
F 1 1
G 1 1
H 0 1
P2 is obtained by inspecting the next states of (ADE), (BFG), and (CH). The states are placed in the same block of
P2 if and only if they are in the same block of P1.
For the block (ADE), the next states (FBG) and (CHC) are in the same block of P 1 . Therefore (ADE) are
2-equivalent. Similarly block (BFG) and (CH) are also have next states in the same block of P 1 and they are
2-equivalent .
∴ P2 = (ADE)(BFG)(CH)
Since P1 = P2 , stop the partition process.
The blocks of the equivalent partition P2 are denoted as (ADE)--- A, (BFG)---B and (CH) --- C respectively.
Therefore the minimal table is given as
Example (ii) Draw the state diagram for reduced state table for the given state table using merger table
A B C D E F G
Example (iii) Draw the state diagram for reduced state table for the given state table using merger table
A B C D E F G
Example (iv) Determine the minimal state equivalent of the following state table using merger table.
C-H All the cells with (x) are not equivalent to each other.
G A-E
The reduced state table is
H A-D
Present Next State
A B C D E F G Output
State X=0 X=1
A A C 0
B F H 0
B C C A 1
F F B 1
C G B H 0
H C G 1
D C-E
E A-D
A B C D E F G
(AE) D ABD = α
BCE = β
A
B The Simplified state table is given as
Present Next State, Z
State I1 I2 I3
α β,0 β,1 β,-
β β,0 β,0 α,-
E C