Counters & Sequential Circuit Design
Sequential Logic Design Contents Why sequential logic? Flip-flop criteria table Sequential circuit analysis Sequential circuit design
Why Sequential Logic? Sequential circuit has additional dimension which is time Combinational logic only depends on current input Sequential circuit output depends on previous input other than current input More powerful than combination logic Able to model condition which can’t be modeled by combinational logic
Counters 2-bit Asynchronous
3-bit Asynchronous
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 2-bit Synchronous MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 3-bit Synchronous MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis
Sequential Circuit Analysis From the state equations and output function, we can derive state table which contains all combined binary available for current condition and input State table The same as Truth Table Input and condition pad on the left Output and next condition on the right combined binary available for current condition and input M flip-flop and n input => 2m+n line
Design of Synchrounous counters and statemachine (Menu) 1.Make State diagram 2.Make next state table 3.Choose Flip-Flops and make Flip-Flop-transition table 4. Make logic expressions(now without Karnaught) 5. Draw Implementation
Sequential Circuit Analysis From the truth table, we can draw state diagram State diagram Each state is represented by circle Each arrow (between two circle) represent transfer for sequential logic (i.e. line transition in truth table) a/b label for each arrow where a represent inputs and b represent output for circuit in transition Each flip-flop value combination represent state. Therefore, m flip-flop=> until 2m state.
Sequential Circuit Analysis step1. make state diagram
Sequential Circuit Analysis step2. make state next state table MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis step3. choose flip-flops With 8 states we need 3 flipflops ! MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis step3. Transitiontable JKFF MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis step4. Logic expressions MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis step4. Logic expressions MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Sequential Circuit Analysis 5. Draw Implementation MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Counter decoding MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Counter decoding MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR