System¶
-
class
System
(bus)¶ The main class.
-
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 anAction
instruction at the end. See alsodirect_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 aregistered_writes
context manager.
-