dknathalage / SIT329-Project

0 stars 3 forks source link

Bridge the data from the FPGA to Linux #27

Open redchillipadi opened 2 years ago

nadavfedida commented 1 year ago

Hi, is there anything with this task that I could help with? It is an important step and we must be able to deliver this in order to present the entire project as a working development.

Let me know if you have any outstanding obstacles to completing this task.

Nadav

redchillipadi commented 1 year ago

Following the information provided by zangman and using the console only version of linux, I have succeeded in passing data between the HPS and FPGA using the HPS to FPGA heavyweight bridge.

My solution uses eight 64 bit words to pass data from the eight channels to HPS. Only the lower 12 bits are used. The values are read using a C program and printed to the console.

There is currently a bug where the values are all identical. I provided information in the teams chat earlier this week on how my work can be replicated so that others can help find and resolve it.

One issue with this method is the console only version of linux only has python-2.7 installed, and your python code requires >=python-3. I tried compiling python 3-10 from github on the FPGA overnight but it still hasn't completed.