![]() |
PandA-2024.02
|
The behavioral view of sequential circuits at the logic level can be expressed by finite-state machine transition diagrams. A finite-state machine can be described by:
The state transition table is a tabulation of the state transition and output functions. Its corresponding graph-based representation is the state transition diagram. The state transition diagram (see Finite State Machine) is a labeled directed multi-graph , where the vertex set $V$ is in one-to-one correspondence with the state set
and the directed edge set
is in one-to-one correspondence with the transitions specified by
. In particular, there is an edge
if there is an input pattern
such that
. In the Mealy model, such an edge is labeled by
. In the Moore model, that edge is labeled by
only; each vertex
is labeled by the corresponding output function
.
The controller is defined as the part of the circuit that compute the evolution of the control flow, based on conditional inputs coming from the evaluation of the control constructs present in the initial specification. So the controller is created by the translation of the finite state machine graph in a structural representation of a finite state machine, where the states are the vertices of the graphs, the inputs are the control condition evaluations coming from datapath computations and the outputs are the enables to operations to be executed at each steps by the datapath. To help the construction of the decoding logic of the multiplexers, also informations about actual conditions have been provided as output directed to the datapath.