System

class System(bus)

The main class.

bus

The Bus instance of the system.

add_device(cls, index)

Add a device to the system.

get_device(index)

Get a device previously added with add_device().

registered_writes

Context manager telling the system to use RegWrite to perform registered writes and send an Action instruction at the end. See also direct_writes to temporarily restore direct writes.

@todoc Add a section about registered writes in the user guide, and how beautiful it is to be able to re-use the code written for direct writes.

direct_writes

Context manager telling the system to use WriteData to perform direct writes. This is the default behaviour and is usefull only when nested in a registered_writes context manager.