VIRTUTECH CONFIDENTIAL Previous - Up - Next
sample-device-python
- Provided by
-
sample-device-python
- Class Hierarchy
-
conf-object → log-object → sample-device-python
- Interfaces Implemented
-
log_object, io_memory
- Description
-
This device does nothing useful, but can be used as a starting
point when writing Simics devices in Python.
The source can be found at
simics/src/devices/sample-device-python.
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- temperature
- Optional attribute; read/write access; type: Integer.
The temperature register.
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
info | print information about the device |
status | print status of the device |
Command Descriptions
-
<sample-device-python>.info
- Synopsis
-
<sample-device-python>.info
- Description
-
Print detailed information about the configuration of the device.
-
<sample-device-python>.status
- Synopsis
-
<sample-device-python>.status
- Description
-
Print detailed information about the current status of the device.
VIRTUTECH CONFIDENTIAL Previous - Up - Next