I'm a beginner in vhdl and I'm developing a parking management system.
At the moment I have made a "basic" version that seems to work properly. This includes a counter to manage the entry and exit of cars and provided the number of available parking spaces.
Now I would like to take another step forward! I would like to implement a control unit to manage the parking payment, but maybe it is too complicated for a beginner, what do you think?
I would like that when a car enters, the time is memorized and when it leaves, the user must enter the parking number and the difference in time and cost will be calculated. Being at first experiences I have difficulty in modeling this.
On 25/09/2020 15:56, Babyla wrote:
I'm a beginner in vhdl and I'm developing a parking management system.
At the moment I have made a "basic" version that seems to work properly. This includes a counter to manage the entry and exit of cars and provided the number of available parking spaces.
Now I would like to take another step forward! I would like to implement a control unit to manage the parking payment, but maybe it is too complicated for a beginner, what do you think?
I would like that when a car enters, the time is memorized and when it leaves, the user must enter the parking number and the difference in time and cost will be calculated. Being at first experiences I have difficulty in modeling this.
This seems to be a very strange project for VHDL (and I assume an FPGA).
You will need a clock and to have the ability to store times and
manipulate them and then use time differences to access a look up table
of charges. None of this is very difficult in VHDL or on FPGA but it is
much, much cheaper and easier to develop on a micro controller in C or C++. If it's just for learning then fair enough.
I would start by defining the task in natural langauge.
Then break it into small steps, maybe a flow chart and/or state diagram
if you like them.
Then a set of requirements if you are a pedantic type.
And so on, just like any other project.
There are lots of books and plenty of web stuff about
describing/modelling problems.
MK
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 69:37:05 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,275,482 |