摘要 |
Disclosed is a state machine merging method. The merging method comprises a sub-state machine structure analysis step, a sub-state machine equivalency determining step, a sub-state machine extraction rule determining step, a sub-state machine equivalent transformation step, and a sub-state machine splicing step. Also disclosed is a state machine merging device using the method. According to the method and device of the present invention, when flow lines can be dynamically configured, the number of configuration programs for describing the state machines on each flow level on each flow line is reduced to one, so that the complexity of a control circuit and a configuration circuit is reduced, a programmer can be assisted in still compiling a configuration program of a state machine according to a sub-state machine, and a configuration program of a merged state machine is obtained. |