Digital Design Lecture 10 Sequential Design State Reduction
- Slides: 18
Digital Design Lecture 10 Sequential Design
State Reduction • Equivalent Circuits – Identical input sequence – Identical output sequence • Equivalent States – Same input same output – Same input same or equivalent next state
State Next State x=0 x=1 Output x=0 x=1 a a b 0 0 b c d 0 0 c a d 0 0 d e f 0 1 e a f 0 1 f g f 0 1 g a 0 1 f • g & e equivalent, f & d equivalent
State Assignment State a b c d e Binary 000 001 010 011 100 Gray Code One-Hot 000010 011 001000 110 10000
Reduced State Table: Binary State Assignment State Next State x=0 x=1 000 001 0 0 010 011 000 011 0 0 100 011 0 1 101 000 011 0 1 Table 5 -10 Output x=0 x=1
Design Procedure • • Develop State Diagram From Specs Reduce States Assign Binary values to States Write Binary-coded State Table Choose Flip-Flops Derive Input and Output Equations Draw the Logic Diagram
Develop State Diagram: Sequence Detector • Detect 3 or more 1 s in sequence (a Moore Model)
D Flip-Flop Input Equations State A B 0 0 1 1 Input equations come directly from the next state in D Flip-Flop design Input x 0 1 0 1 Next State A B 0 0 0 1 0 1 0 0 0 1 Output y 0 0 0 1 1 A(t+1) = DA(A, B, x) = (3, 5, 7) B(t+1) = DB(A, B, x) = (1, 5, 7) y(A, B, x) = (6, 7)
Simplified Boolean Equations
Sequence Detector: D Flip-Flops
Using JK or T Flip-Flops 1. Develop Excitation Table Using Excitation Tables JK Flip-Flop Q(t) 0 0 1 1 Q(t+1) 0 1 T Flip-Flop J K Q(t) 0 1 X X 1 0 0 0 1 1 Table 5 -12 Q(t+1) 0 1 T 0 1 1 0
State Table: JK Flip-Flop Inputs Present State A B 0 0 1 1 Input x 0 0 1 1 Next State A B JA 0 0 1 0 1 1 1 0 0 1 0 1 1 0 Table 5 -13 Flip-Flop Inputs KA JB KB 0 1 0 1 1 0 0 0 1 1 1 0 0 1 0 1 1 0
Maps for J and K Input Equations
JK Flip-Flop Sequence Detector
Synthesis Using T Flip-Flops: Designing a Counter
3 -Bit Counter State Table Present State Next State Flip-Flop Inputs A 2 A 1 A 0 TA 2 TA 1 TA 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 0 0 0 1 0 1 0 1 1 1
3 -Bit Counter Karnaugh Maps
The 3 -Bit Counter
- 01:640:244 lecture notes - lecture 15: plat, idah, farad
- Finite state machine sequential circuits
- Sonlu durum makinesi örnekleri
- Sequential design example
- Implication chart method
- Powder metallurgy
- Cohort effects definition
- Disadvantages of small n designs
- Cross sequential design
- Sequential parallel comparison design
- Sequential circuit design
- Sequential design example
- Sequential circuit design
- Practical design to eurocode 2
- Urban design lecture
- Principles of interior design ppt
- Lecture hall acoustic design
- Game design lecture
- Computer-aided drug design lecture notes