Sequential Circuits Problems (I) : Prof. Sin-Min Lee Department of Mathematics and Computer Science
Sequential Circuits Problems (I) : Prof. Sin-Min Lee Department of Mathematics and Computer Science
We wish to design a synchronous sequential circuit whose state diagram is shown in Figure. The type of flip-flop to be use is J-K
Two flip-flops are needed to represent the four states and are designated Q0Q1. The input variable is labelled x.
The simplified Boolean functions for the combinational circuit can now be derived
How do we determine the combinatorial ciccuit? This circuit has three inputs, I, R, and the current A. It has one output, DA, which is the desired next A. So we draw a truth table, as before. For convenience I added the label Next A to the DA column
But this table is simply the truth table for the combinatorial circuit.
A divide-by-three counter which outputs one 1 for every 3 1's seen as input (not necessarily in succession.) After outputting a 1, it starts counting all over again. 1.
To build this, will need three states, corresponding to 0, 1, or 2 1's seen so far.
Design Procedure
The design procedure for sequential circuits with JK flip-flops is the same as that for sequential circuits with D flip-flops, except that the input equations must be evaluated from the present-state to next-state transition derived from the excitation table.