Question: Relevant definition: Pure signal: It is defined based on the following function: u : R { a b s e n t , present }
Relevant definition:
Pure signal: It is defined based on the following function:
:present
At any time tinR, the input is either absent meaning that there is no event at that time, or present, meaning that there is It carries no value, but instead provides all its information by being either present or absent at any given time.
If you encounter other unfamiliar definitions, please refer to the book or ask them through emails.
Problem points
Consider the deterministic finitestate machine in Figure that models a simple traffic light.
inpt
out
Figure : Deterministic finitestate machine for Exercise
a Formally write down the description of this FSM as a tuple:
States Inputs, Outputs, update, initialState
b Give an execution trace of this FSM of length assuming the input tick is present on each reaction.
c Now consider merging the red and yellow states into a single stop state. Transitions that pointed into or out of those states are now directed into or out of the new stop state. Other transitions and the inputs and outputs stay the same. The new stop state is the new initial state. Is the resulting state machine deterministic? Why or why not? If it is deterministic, give a prefix of the trace of length If it is nondeterministic, draw the computation tree up to depth
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
