Altera_Forum
Honored Contributor
16 years agovhdl-car park monitoring system
hi guys, i am new with vhdl and i have to write the following programm, the thing is tha i find it really hard and i would like some help.
1. The car park counts the number of cars parked inside. The maximum count is 1024 2. The car park signals an error condition if a car leaves when the count is 0 or a car enters when the count is 1024. 3. The car park reports the time when a car has entered or leave in hours and minutes. 4. The sensors which inform the car park system that a car is present enable their outputs as long as a car is situated in front of them. This means that the amount of time the sensor is on is variable (cars moving at different speeds in front of the sensors). 5. One car entering and one car leaving at the same time is perfectly valid. 6. An external MIDNIGHT SYNC signal informs the system when it is midnight (useful to synchronize the time reporting circuit). 7. Two general RESET/CLEAR inputs are available. 8. Two outputs FULL/EMPTY indicate when the car is full or empty 9. An output CAR COUNT indicates how many cars are inside the car park. 10. A CLOCK input with a clock period of 1 ms is available. thank uuuu :):)