sample-i3c-target sample-pcie-device
Simics Reference Manual  /  5 Classes  / 

sample-memhier

Description

The sample-memhier class is an example of how to write memory hierarchies for Simics. It will print memory usage traces to a log file when its trace-file attribute is assigned a file name.

Interfaces Implemented

conf_object, log_object, timing_model

Notifiers

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.

Attributes

trace_file
Optional attribute; read/write access; type: s
Name of output file the trace is written to.
count
Optional attribute; read/write access; type: i
Number of memory operations traced so far.

Provided By

sample-memhier
sample-i3c-target sample-pcie-device