I need to write verilog for a 5 story building elevator. Each floor has a 5-bit
ID: 655406 • Letter: I
Question
I need to write verilog for a 5 story building elevator. Each floor has a 5-bit binary code that indicates the floor that the elevator is stopped on or approaching when moving. The circuit needs to display current floor elevator is on when stopped, display current floor approaching when moving, accept 5-bit binary code indicating floor elevator is to proceed to and only go to 5th floor if 5-bit progammable binary code, starting with a 1, is entered properly. If entered incorrectly is should go to basement (floor 0).
If you could provide reference/guidance/start, that'd be great, thanks.
Explanation / Answer
Breadth First search:
The algorithm is applied if to the general problem for finite graphs, worst case performance that is unbounded in both time and space.
Dynamic programming:
A dynamic programming solution doesn