ArticleslgStudy

computer science

Extended finite-state machine

Extended finite-state machine is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Extended finite-state machine rather than just read about it. In short: In a conventional finite-state machine, the transition is associated with a set of input Boolean conditions and a set of output Boolean functions. In an extended finite-state machine (EFSM) model, the transition can be expressed by an “if statement” consisting of a set of trigger conditions.

Extended finite-state machine — main illustration
Extended finite-state machine — illustration

Key takeaways

  • Extended finite-state machine belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Extended finite-state machine to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Extended finite-state machine from memory before moving on to harder problems.

Reference excerpt

In a conventional finite-state machine, the transition is associated with a set of input Boolean conditions and a set of output Boolean functions. In an extended finite-state machine (EFSM) model, the transition can be expressed by an “if statement” consisting of a set of trigger conditions. If trigger conditions are all satisfied, the transition is fired, bringing the machine from the current state to the next state and performing the specified data operations.

Definition An EFSM is defined as a 7-tuple M=(I,O,S,D,F,U,T) where

S is a set of symbolic states, I is a set of input symbols, O is a set of output symbols, D is an n-dimensional linear space D1×…×Dn, F is a set of enabling functions fi:D→{0,1}, U is a set of update functions ui:D→D, T is a transition relation, T:S×F×I→S×U×O

Intuitively, the state machine represents the possible states of a system, and how the system transitions from one state to another

S represents the possible states, parametrized by D I represents input from the outside world, O represents output to the outside world, F models what is forbidden / allowed. These functions are run as part of T to determine whether the state transition will happen, U models how the state parameters evolve, T models the transitions. It is saying: if we're in a given state, and an input arrives from the outside world, and if f ∈ F is "guarding" this transition, and if f returns true, then this will take us to another state, with a new set of parameters (obtained via the update function). Along the way a certain output will be sent to the outside world.

Structure EFSM Architecture: An EFSM model consists of the following three major combinational blocks (and a few registers).

FSM-block: A conventional finite-state machine realizing the state transition graphs of the EFSM model. A-block: an arithmetic block for performing the data operation associated with each transition. The operation of this block is regulated by the output signals of the FSM block. E-block: A block for evaluating the trigger conditions associated with each transition. The input signals to this block are the data variables, while the output is a set of binary signals taken for input by the FSM-block. Information about redundant computation is extracted by analyzing the interactions among the three basic blocks. Using this information, certain input operands of the arithmetic block and evaluation block can be frozen through input gating under specific run time conditions to reduce the unnecessary switching in the design. At the architecture level, if each trigger evaluation & data operation is regarded as an atomic action, then the EFSM implies an almost lowest-power implementation. The cycle behavior of an EFSM can be divided into three steps:

In E-block, evaluate all trigger conditions. In FSM-block, compute the next state & the signals controlling A-block. In A-block, perform the necessary data operations and data movements.

See also Abstract state machine

References

Illustrations

Extended finite-state machine illustration

Worked examples

Example 1 — a first encounter with Extended finite-state machine

Start with the simplest possible case. Write down what Extended finite-state machine claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Extended finite-state machine before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Extended finite-state machine ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Extended finite-state machine

In research
Extended finite-state machine appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Extended finite-state machine in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Extended finite-state machine is common in secondary-school and first-year university syllabi. It links to neighbouring topics Formal methods, Models of computation, Theory of computation, so understanding it makes those chapters shorter.
In everyday life
Look for Extended finite-state machine outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Extended finite-state machine” →

How to study Extended finite-state machine in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Extended finite-state machine means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Extended finite-state machine out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Extended finite-state machine in simple terms?

In a conventional finite-state machine, the transition is associated with a set of input Boolean conditions and a set of output Boolean functions. In an extended finite-state machine (EFSM) model, the transition can be expressed by an “if statement” consisting of a set of trigger conditions.

Why does Extended finite-state machine matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Extended finite-state machine?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Extended finite-state machine.

Tags

  • Formal methods
  • Models of computation
  • Theory of computation

Keep exploring