What is the state machine in EDA?
Finite state machine refers to a sequential logic circuit whose output depends on the past input part and the current input part. Generally speaking, in addition to the input and output parts, the finite state machine also contains a set of registers with "memory" function. The function of these registers is to remember the internal state of the finite state machine. They are often called status registers. In the finite state machine, the next state of the state register is not only related to the input signal, but also related to the current state of the register, so the finite state machine can be regarded as a combination of combinational logic and register logic. Among them, the function of register logic is to store the internal state of finite state machine; Combinatorial logic can be divided into two parts: secondary logic and output logic. The function of secondary logic is to determine the next state of the finite state machine, and the function of output logic is to determine the output of the finite state machine.
In practical application, designers often divide finite state machines into Moore finite state machines and Mealy finite state machines according to whether they use input signals or not. The output signal of 1 mole finite state machine is only related to the current state, that is, the output of Moore finite state machine can be regarded as a function of the current state. The output signal of Mealy finite state machine is not only related to the current state, but also related to all input signals, that is, the output of mealy finite state machine can be regarded as a function of the current state and all input signals.
-
The above content comes from Baidu search. Reading is the best way to solve your problem, and no one will reply to you for a long time, because this problem can't be explained clearly in one or two sentences. However, you need to note that FSM is widely used at RTL level, and it is automatically converted into hardware circuits through comprehensive tools, which is suitable for people who are not particularly familiar with digital circuit capabilities. When you master the digital circuit, you will usually write the hardware circuit you want, which is the best effect.