Digital System Design using FSMs. Peter D. Minns
Чтение книги онлайн.

Читать онлайн книгу Digital System Design using FSMs - Peter D. Minns страница 11

Название: Digital System Design using FSMs

Автор: Peter D. Minns

Издательство: John Wiley & Sons Limited

Жанр: Техническая литература

Серия:

isbn: 9781119782728

isbn:

СКАЧАТЬ unused states would be s34 through to s63.

       Note that the states run through from s0 to sn−1, for n states.

      As well as containing flip‐flops to uniquely define the individual states of the FSM, there is also combinational logic, which defines the outside world outputs. In addition, the outside world inputs connect to combinational logic, which supplies the flip‐flops’ inputs.

       Note the feed forward paths between the outside world inputs and the input to the output decoder.

      The figure shows that the FSM has a number of inputs that connect to the next state decoder (combinational) logic. The Q outputs of the memory element flip‐flops connect to the output decoder logic, which in turn connects to the outside world outputs via the output decoder.

      The flip‐flop outputs are used as next state inputs to the next state decoder, and it is these that determine the next state that the FSM will move to. Once the FSM has moved to this next state, its flip‐flops acquire a new present state as dictated by the next state decoder.

      Note that some of the outside world inputs connect directly to the output decoder logic. This is the main feature of the Mealy type of FSM. This affects the outputs of the FSM.

Schematic illustration of a block diagram of a Moore state machine structure.

      This FSM differs from the Mealy FSM in that it does not have the feed forward paths.

      This type of FSM is very common. Note that the outside world outputs are a function of the flip‐flop outputs only (unlike the Mealy FSM architecture where the outside world outputs are a function of flip‐flop outputs and some outside world inputs).

      We will be using both Moore and Mealy FSM in our designs.

      Complete the following:

       A Moore FSM differs to that of a Mealy FSM in that it has…

       This means that the Moore FSM outputs depend on…

       Whilst the Mealy FSM outputs can depend upon…

      If you cannot complete the above sentences, go back and read Frame 1.4 and Frame 1.5.

Schematic illustration of a block diagram of a Class C state machine structure.

      This architecture is in fact the synchronous counter the reader may have already seen in previous studies. Note that an up/down counter would have the additional outside world input ‘up/down’, which would be used to control the direction of counting.

      The flip‐flop outputs in this architecture are used to connect directly to the outside world.

      Historically, two types of state diagrams have evolved, one for the design of the Mealy FSM the other for the design of the Moore FSM. The two are known as ‘Mealy state diagrams’ and ‘Moore state diagrams’.

      These days we use a more general type of state diagram, which can be used to design both the Mealy and Moore type of FSM. This is the type of state diagram we use throughout this book. As you will learn, it allows you to build a lot of ideas into the FSM diagram.

      The СКАЧАТЬ