I’m trying to access the loaded overlay from multiple python interpreters while writing a package and can’t get a proof of concept to work in a root ipython interpreter. I know this is possible as running to notebooks and downloading an overlay in one will clearly affect what is available in the other.
I’ve tried pynq.Device.active_device.ip_dict thinking that would pull from the default global pl_server but it did not.
In essence what I’d like is a way to do the following:
Program 1 (possibly a jupyter notebook):
import pynq pynq.Overlay('my bitstream.bit')
import pynq ol = pynq.<get_active_overlay> ol.my_core.do_something()
This post seems related but the suggestions there didn’t seem to work here.