Where could i find the address?
In your sample, you use the function add_ip.write() to send data and add_ip.read() to receive data.There is a parameter in the function that i guess it the address of memory.So, i am wondering that where could i find the information of address.Looking forward to your reply!
Those addresses can be found in the output of Vivado HLS. There's a video with more specific detail available https://www.youtube.com/watch?v=Dupyek4NUoI
I have included the bitstream, tcl, and hwh file and receive this error when trying to access the register map:
AttributeError Traceback (most recent call last)
AttributeError: 'DefaultIP' object has no attribute 'register_map'
the add_ip.write(0x10,4) works but I would like to use the registermap
thanks!
P.S. I did not use your scripts, just the vivado gui to generate bitstream etc..
Which version of PYNQ are you running? The register map was only added in 2.4
I was using version 2.2. I recently upgraded to 2.4 and with the .hwh included everything worked fine. Thanks again!