Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RTL State machine design help

Status
Not open for further replies.

Sistar

Newbie level 2
Joined
Aug 17, 2016
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
Here is a interview question and I am not sure about the answer. I hope some one can help me to solve it.

To enter the office people have to pass through the corridor. Once someone gets into the office the light turns on. It goes off when noone is present in the room. There are two registration sensors in the corridor. Build a state machine diagram and design a circuit to control the light

Screen Shot 2016-08-16 at 9.14.01 PM.png
 

Here is a interview question and I am not sure about the answer. I hope some one can help me to solve it.

To enter the office people have to pass through the corridor. Once someone gets into the office the light turns on. It goes off when noone is present in the room. There are two registration sensors in the corridor. Build a state machine diagram and design a circuit to control the light

View attachment 131603

This looks trivial. By the sensor order you know if someone entered or left the room. use that with some counters and you know how many are inside at any given time. light goes off is the counter is zero. Am I missing something? Is this the whole problem?
 

In my opinion the OP has not provided all the conditions.

OP: Have you tried to sketch a state diagram? Show us what you have understood and done!
 

In my opinion the OP has not provided all the conditions.

OP: Have you tried to sketch a state diagram? Show us what you have understood and done!

IMO they already flunked the interview...if I gave someone a "take home" or set of pre-interview questions I would probably come on here and check if they asked for help on those questions....
 

Just assume that only one person will pass the sensor at a time
 

check my earlier reply. that is all it takes. very very easy solution.

Perhaps the OP desires to have the entire SM bubble-diagram to be provided to him!
Till now he hasn't replied about his own understanding or his line of thoughts to solve the problem.
 

Perhaps the OP desires to have the entire SM bubble-diagram to be provided to him!
Till now he hasn't replied about his own understanding or his line of thoughts to solve the problem.

Hence my statement in post #6
IMO they already flunked the interview
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top