This is a sample Simics device written in C++.
conf_object, log_object, signal, sample
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
- bank.b[0..1]
-
sample_device_cpp.SampleBank
– sample bank
- port.sample[0..1]
-
sample_device_cpp.port
– sample_device_cpp port
-
info
– print information about the object
-
status
– print status of the object
-
value
-
Optional attribute;
read/write access; type:
i
A value
-
hidden
-
Optional attribute;
read/write access; type:
i
A hidden value
-
X_v
-
Optional attribute;
read/write access; type:
i
The current value of X
-
Y_v
-
Optional attribute;
read/write access; type:
i
The current value of Y
-
other
-
Optional attribute;
read/write access; type:
o|n
Another object
-
implementation_status
-
Pseudo attribute;
read-only access; type:
s
A description
-
mode
-
Optional attribute;
read/write access; type:
s
The current mode
-
flags
-
Optional attribute;
read/write access; type:
[bb]
The flags
-
name0
-
Optional attribute;
read/write access; type:
s
The first name
-
name1
-
Optional attribute;
read/write access; type:
s
The first name
-
blob
-
Optional attribute;
read/write access; type:
d
Some data
sample-device-c++
sample bank
conf_object, log_object, transaction, register_view, register_view_read_only, bank_instrumentation_subscribe, instrumentation_order
- bank-register-value-change
- Notifier that is triggered when bank register value changes.
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
wait-for-get
– issue an inquiry read transaction and wait for it to complete
-
wait-for-read
– issue a read transaction and wait for it to complete
-
wait-for-set
– issue an inquiry write transaction and wait for it to complete
-
wait-for-write
– issue a write transaction and wait for it to complete
sample_device_cpp port
conf_object, log_object, signal, ethernet_common
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
info
– print information about the object
-
status
– print status of the object