Help with the verilog (the 4-floor elevator)

Thread Starter


Joined May 22, 2017
hello i have to finish this next week so please help me
i have to create veilog code about 4 floor elevator
i will use 5 inputs and 4 outputs
5 inputs are 1st floor button,2nd floor button,3rd floor button, 4th floor button, and emergency button
4 outputs are 4 LEDs each floor
if i push 1st button,1st floor LED light on
after if i push 4th button, 1,2,3,4LED light on step by step
finally if i push emergency button, all LED light on
how can i solve this problem? i need veilog code
please help me thank you