Xlnk: 'module' object is not callable

When I ran the code and it shows me the error.
I use V2.7 and I found that Xlnk has removed, so that I copy the Xlnk.py from V2.6 to test the code.

Thanks

Hi, For v2.7 and future releases, please use allocate in place of xlnx. You can read more about allocate here:

https://pynq.readthedocs.io/en/v2.7.0/pynq_libraries/allocate.html

Kind regards

1 Like

There are some Allocate examples here:
https://github.com/Xilinx/PYNQ_Workshop/tree/master/Session_4

Cathal