reven.api.DeviceAccess(object) class documentationreven.api
(View In Hierarchy)
A hardware device access. Represents either a read or write access to a port or physical memory.
| Method | __init__ | Initialize a DeviceAccess instance from a low-level object. Not meant to be called directly. |
| Method | point | Property: The execution point where the access was made. |
| Method | device | Property: The device which performed the access. |
| Method | subdevice | Property: The subdevice name. |
| Method | physical_address | Property: The physical address of the access. |
| Method | description | Property: Textual information of what happened. |
| Method | is_write | Property: Whether or not this access is a memory write. |
| Method | port | Property: The access port. |
| Method | is_port | Property: Whether this access is a memory or port access. |
| Method | __repr__ | Undocumented |
| Method | _trace | |
| Method | _sid | Undocumented |
| Method | _iid | Undocumented |
Initialize a DeviceAccess instance from a low-level object. Not meant to be called directly.
Use Project.device_history
instead.
| Parameters | project | A Project instance. |
| rvn_access | A reven_api.device_access instance. |
| Raises | reven_api.ServiceNotAllowedDuringExecutionError | If this method is called during the execution. |
| RuntimeError | If the connection is lost, in case of bad input, or in case of internal service error. |
Property: The physical address of the access.
| Returns | a physical address or None if this access did not access
memory. | |