--- Quote Start ---
Well, when writing code for FPGA you need to think about the hardare. You describe the hardware and everything you need must be in your design. You cannot create a new "object" when the design is running. But, without knowing your algorithms, it is possible to redesign the control system. Object oriented design is not really VHDL. You might think of the entities as objects, but my advice would be to take the control algorithm with the parameters from the current design and create an VHDL equivalent. If you hope to copy and past the code, this is not the case. As for resources to read, I don't know. Maybe use your favorite web search engine and search for FPGA control system.
--- Quote End ---
Thank you for the quick response!
I know that this will not be the case for copy and paste. I will need to change everything to VHDL,
my main issue that i want to solve is how to read and write data in a UART configuration, and how to do all the calculations with numbers like floating point and such.
for instance, can i create an entity that converts byte array to floating point and vice versa? maybe there is something like that ready that someone has made before?
or maybe create an entity for UART and than use couple of them to send and receive data from an external sensor or device?
right now i use C# so everything is easy like taking a floating point variable and convert it to byte array to be able to send it in the serial communication.
Will it be easy to do such things in VHDL?
as well as getting input from a camera sensor and use the information to identify objects as targets?
Again, i'm very new to the VHDL world so i don't know if the things i need is even possible to get from a FPGA board,
i know that it can do anything but i won't program the whole thing from scratch, i don't have the knowledge for that.
Thanks,
Dror.