Custom overlay with VHDL

In the youtube tutorial here, it is mentioned that using HLS the user can write the code in C and export it to HDL language. Later on, for using the function, I need to know the offset of the registers.
Say I want to write the hardware function in VHDL in the first place, where do I get the offset of the registers from?

When you package your IP, register info is included in the metadata for the IP. This eventually gets included in the Overlay, and can be read from PYNQ using “register_map”

See info here.
https://pynq.readthedocs.io/en/v2.5/overlay_design_methodology/overlay_tutorial.html

(You could also use hard coded values - but don’t do this :wink: )

Cathal