I am late to the party, I know, sorry, but this idea is very interesting to me. As I know that perspectives and opinions change, I would like to inquire about the current state. If all in this thread is still valid or if it was redacted in some way?
I need to wrap my head around this concept, but fundamentally speaking, I see no reason why it should not be possible and even how it is that much different from the current state. Because, currently the operation on HAL is discrete and sequential. But only up to the point. As I see it, the basic structure of HAL is the input and output of each block (component). What is happening inside the component is a black box and of no particular interest to the user or a system. That "happening" is enabled by so called threads or tasks (on the Linux OS side), but actually from theoretical point of view are also of no importance. Given the dawn of multicore, we can have multiple threads running independent on each other on different isolated CPU/cores all reaching the same memory. There is still the limit that threads on one instance has to be run in increments of the first one, but I am not sure if that is real limit or just something nobody changed from LinuxCNC days. (Because really, it is nonsense.) If you can somehow pass-through the memory (I/O) from FPGA-side HAL to Linux-side HAL, I think you are pretty much done and you have HAL in FPGA. (HostMot2 FPGA firmware is also a HAL type, but you have the ugly read/write functions. I call it the LinuxCNC way of thinking about it.) Because then it will be the same old, same old. And that opens up some very interesting possibilities. BTW, I have only very rough understanding about FPGA development. But that SystemC looks extremely promising. Cern. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/LpdkKZV--3-1%40tuta.io.
