Download presentation
Presentation is loading. Please wait.
Published byCharla West Modified over 9 years ago
1
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering
2
Sequential Circuit Analysis Combina- tional Logic Inputs State Next State Outputs Storage Elements CLK Current State at time (t) is stored in an array of flip-flops. Next State at time (t+1) is a Boolean function of State and Inputs. Outputs at time (t) are a Boolean function of State (t) and (sometimes) Inputs (t).
3
Example of a Sequential Circuit What is the Output Function? What is the Next State Function? C D Q Q C D Q Q' y x A A B CP Next State Output Input: x(t) Output: y(t) State: (A(t), B(t))
4
State Table
5
State Diagrams The sequential circuit function can be represented in graphical form as a state diagram A B 0 0 1 1 1 0 x=0/y=1 x=1/y=0 x=0/y=1 x=1/y=0 x=0/y=0
6
Moore and Mealy Models Moore Model Outputs are a function ONLY of states Mealy Model Outputs are a function of inputs AND states Combinational circuits Inputs X(t)Outputs Z(t) Storage Element S(t) MEALY MACHINE Combinational circuits Inputs X(t) Outputs Z(t) Storage Element S(t) MOORE MACHINE
7
Moore and Mealy Example State Diagrams 0 1 x=1/y=1 x=1/y=0 x=0/y=0 1/0 2/1 x=1 x=0 x=1 x=0 0/0 Present State Next State x=0 x=1 Output 0 0 1 0 1 0 2 0 2 1 Present State Next State x=0 x=1 Output x=0 x=1 0 0 1 0 1 0 1 Mealy Moore
8
Equivalent States Two states are equivalent if: Output produced for each input is identical The next states for each input are same or equivalent S2 S3 1/0 0/1 1/0 0 S0/0 S1 1/0 0/1 1 S2 1/0 0/0 S0 S1 1/0 0/1 1/0 0/1 0/0 S0 S1 1/0 0/1 1/0
9
Sequential Analysis Example Clock Reset D Q C Q R D Q C Q R D Q C Q R A B C Z Variables – Inputs: None – Outputs: Z – State Variables : A, B, C Flip Flop Input Equations – A(t+1) = – B(t+1) = – C(t+1) = – Z = Mealy? Moore? State Table? State Diagram?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.