Mealy and Moore Models Are The Basic Models of State Machines. A State Machine Which Uses
Mealy and Moore Models Are The Basic Models of State Machines. A State Machine Which Uses
Sequential program model:-Statements, rules for composing statements, semantics for executing
them.
State machine model-For control dominated systems, monitors control inputs, and sets control
outputs.
Dataflow model-For data dominated systems, transforms input data streams into output streams.
– Request Resolver resolves various floor requests into single requested floor
– “Move the elevator either up or down to reach the requested floor. Once at the
requested floor, open the door for at least 10 seconds, and keep it open until the
requested floor changes. Ensure the door is never open while moving. Don’t change
directions unless there are no higher requests when moving up or no lower requests
when moving down…”
–