A controller is required for a home security alarm, providing the followingfunctionality. The alarm does nothing while it is disarmed (‘switched off’). It canbe armed (‘switched on’) by entering a PIN on the keypad. Whenever thealarm is armed, it can be disarmed by entering the PIN on the keypad.If motion is detected while the alarm is armed, the siren should sound AND asingle SMS message sent to the police to notify them. Further motion shouldnot result in more messages being sent. If the siren is sounding, it can only bedisarmed by entering the PIN on the keypad. Once the alarm is disarmed, asingle SMS should be sent to the police to notify them.Two (active-high) input signals are provided to the controller:MOTION: Asserted while motion is detected inside the home.PIN: Asserted for a single clock cycle whenever the PIN has beencorrectly entered on the keypad.The controller must provide two (active-high) outputs:SIREN: The siren sounds while this output is asserted.POLICE: One SMS message (containing the current status of the alarm) issent to the police EVERY clock cycle that this output is asserted.(a) Draw an ASM chart for a synchronous system to provide the controllerfunctionality described above.(b) Using your ASM chart from question 7(a), state how many D-Type flipflopsyour design will require, and explain your answer.(c) Using your ASM chart from question 7(a), state whether your design isa Mealy or Moore machine, and explain your answer.
A controller is required for a home security alarm, providing the following
functionality. The alarm does nothing while it is disarmed (‘switched off’). It can
be armed (‘switched on’) by entering a PIN on the keypad. Whenever the
alarm is armed, it can be disarmed by entering the PIN on the keypad.
If motion is detected while the alarm is armed, the siren should sound AND a
single SMS message sent to the police to notify them. Further motion should
not result in more messages being sent. If the siren is sounding, it can only be
disarmed by entering the PIN on the keypad. Once the alarm is disarmed, a
single SMS should be sent to the police to notify them.
Two (active-high) input signals are provided to the controller:
MOTION: Asserted while motion is detected inside the home.
PIN: Asserted for a single clock cycle whenever the PIN has been
correctly entered on the keypad.
The controller must provide two (active-high) outputs:
SIREN: The siren sounds while this output is asserted.
POLICE: One SMS message (containing the current status of the alarm) is
sent to the police EVERY clock cycle that this output is asserted.
(a) Draw an ASM chart for a synchronous system to provide the controller
functionality described above.
(b) Using your ASM chart from question 7(a), state how many D-Type flipflops
your design will require, and explain your answer.
(c) Using your ASM chart from question 7(a), state whether your design is
a Mealy or Moore machine, and explain your answer.
Step by step
Solved in 2 steps with 6 images