nizdom
Member level 2
Hi guys! Newbie here. I wanted to create a car parking system using Verilog programming. I wanted to create an FSM of it. The situation is like this.
There is only one entrance to the parking lot, consequently one car at a time can enter or exit the parking. There are two light sensors, separated by one meter in order to detect if the car is entering or leaving the lot. (1st Detector outputs bit 1 and the 2nd detector outputs bit 0). There is a semaphore with signs saying SLOTS (showing remaining parking slot) and FULL.
Any idea on how to do this? I'll try doing its code and post it here. Thanks.
There is only one entrance to the parking lot, consequently one car at a time can enter or exit the parking. There are two light sensors, separated by one meter in order to detect if the car is entering or leaving the lot. (1st Detector outputs bit 1 and the 2nd detector outputs bit 0). There is a semaphore with signs saying SLOTS (showing remaining parking slot) and FULL.
Any idea on how to do this? I'll try doing its code and post it here. Thanks.