Very cool toys you have there.
I need to put our code through our company’s release process before I can share it. This will take some time and I will let you know.
However, you may consider trying the below, which was the starting point for our work. We are far from this approach now, but the organization of code is pretty similar. This work doesn’t have the minicolumn structure but it does use the HTM neurons, dendrites, and spatial pooler.
For the full HTM implementation, you would need to wait before our code is released.
Please take a look at this code and let me know how you would go about porting it to FPGA. I would really like to know what is involved and what I should keep in mind if I want to make it cross-platform compatible.