Forum Discussion
Altera_Forum
Honored Contributor
11 years ago[HELP ] VHDL Parking Lot
Hello guys, i'm not idea how resolve this problem, please help me
parking lot, shown in the Fig. 2, has space for 10 cars. 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. There is a semaphore with signs saying FREE and FULL. Create, simulate and sinthesize a VHDL description to correctly command the lights according to the occupancy of the parking lot. http://www.alteraforum.com/forum/attachment.php?attachmentid=11198&stc=111 Replies
- Altera_Forum
Honored Contributor
I agree the best option is to have the testbench check the values, but if you are a beginner you could do these checks yourself. It makes creating the testbench a bit easier. The testbench still has to generate all inouts to your system tough.