150 likes | 167 Views
CEC 220 Digital Circuit Design Sequential Circuits and Counter Design. Lecture Outline. Further Design of Counters. Sequential Circuits and Counter Design. Design a modulo-8 counter using D-type FFs. State Transition Graph. State Transition Table. 000. 111. 001. 010. 110. 101. 011.
E N D
CEC 220 Digital Circuit DesignSequential Circuits and Counter Design CEC 220 Digital Circuit Design
Lecture Outline • Further Design of Counters CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 counter using D-type FFs State Transition Graph State Transition Table • 000 • 111 • 001 • 010 • 110 • 101 • 011 • 100 CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 counter using D-type FFs • FF input equations (Notation: AQA, BQB, CQC) CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 counter using D-type FFs • Circuit design Combinational Logic FF’s Notation: AQA, BQB, CQC Clk CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 counter • Comparison between D-Type FF and T-Type FF designs T-Type Flip-Flop Design D-Type Flip-Flop Design CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design Let’s use D-Type FFs • Counters With Other Sequences • Design a “counter” which follows the sequence: 0, 4, 7, 2, 3, 0, …. State Transition Table We will need 3 FFs CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Counters With Other Sequences • Develop the FF eqns CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Counters With Other Sequences • Where so states 1, 5, and 6 go? CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Counters With Other Sequences • Where so states 1, 5, and 6 go? • 110 • 001 • 000 • 011 • 100 • 010 • 111 • 101 The counter is self starting!! CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 Up/Down counter • Count up when UD = 1 & down when UD = 0 State of FFs UD Inputs Combinational Logic Flip-Flops Q’s FF Inputs Clock The external input(s) effects the FF inputs!! CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Design a modulo-8 Up/Down counter • Count up when UD = 1 & down when UD = 0 • 000 • 111 • 001 • UD = 1 • 010 • 110 • UD = 0 • 101 • 011 • 100 CEC 220 Digital Circuit Design
Sequential Circuits and Counter Design • Use K-maps to determine combo logic for FF inputs UD … CEC 220 Digital Circuit Design
Next Lecture • A multi-Function Shift-Register • Counter Design Using S-R & J-K FFs CEC 220 Digital Circuit Design