I have an IP/overlay which saves data to an array:
Now, once the IP has finished its run, I go ahead and read the values from PS.
Loading the overlay
overlay = Overlay('./my_ip.bit') self.my_ol = overlay.my_overlay
And I know the array starts at
0x40 and I also know that each read
returns 2 elements of the array, i.e. 14 bits and 4 adresses. So in order for me to read entire array I have to loop 16 times through
for k in range(0, 64, 4): value = self.my_ol.read(0x40 + k)
My question is, is there a way to read the entire array in one go? E.g. adding
length to the
read function. I’ve seen some topics/examples using MMIO which I couldn’t really fit in to my issue.