7 State Machines(NOT ASSESSED) Flashcards
What are finite state machines?
- Finite State Machines (FSM) are a core component of most digital systems.
- They are used for control of sequential processes, events, operations.
- They store a sequence of states and transitions between them, which depend on the values of the inputs and the current state of the FSM.
turn barrier, FSM operators?
There are two general classes of FSM, which differ in the way the output is generated.
Moore and Mealy
Moore machines
the outputs depend only on the current state of the machine
Mealy machines
the outputs depend on both the current state of the machine and the current inputs.
Moore and Mealy combinational logic structure?
Moore and Mealy machines consist of two block of combinatorial logic, next state logic and output logic, and a register that stores the state.
On each clock transition, the FSM advances to the next state, which is computed based on the current state and inputs.
Moore Machine block structure?
Mealy machine block structure?
Moore Machine detail?
Moore machines provide synchronised outputs given that they depend only on the state register outputs, which are synchronised with the clock. This makes Moore machines more secure but less faster than Mealy machines.
Mealy machine detail?
In Mealy machines, the outputs could change immediately if the inputs change during the clock cycle, given that the inputs are not synchronised with the clock. This makes Mealy machines faster, responding quicker to changes in the inputs.