pynq.uio Module

class pynq.uio.UioController(device)[source]

Bases: object

Class that interacts directly with a UIO device.


File handle for the opened UIO.

add_event(event, number)[source]

Returns the UIO device path.

This method will return None if no such device can be found.

Parameters:dev_name (str) – The name of the UIO device.
Returns:The path of the device in /dev list.
Return type:str

Return the uio index for the given device.

Parameters:name (str) – The name of the UIO device.
Returns:The index number for the UIO device.
Return type:int