can_link cell_and_clocks_comp
Simics Reference Manual  /  4 Components  / 

cell-and-clocks

Description

The "cell_and_clock" component builds a simulation cell with a configurable number of clocks. Each clock is exported as a connector. This component is meant to be used for building small test configurations

Interfaces Implemented

conf_object, log_object, component, component_connector

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.

Connectors

Name Type Direction
clock0 clock down

Commands for this class

Commands for interface component

Attributes

object_list
Optional attribute; read/write access; type: D|n
Dictionary with objects that the component consists of.
dynamic_slots
Optional attribute; read/write access; type: D|n
Dictionary with dynamic slots.
object_prefix
Optional attribute; read/write access; type: s|n
Object prefix string used by the component. The prefix is typically set by the set-component-prefix command before the component is created.
connections
Pseudo attribute; read-only access; type: [[sos]*]
This attribute should not be used anymore. Each component has connector objects that contain all connector functionality. List of connections for the component. The format is a list of lists, each containing the name of the connector, the connected component, and the name of the connector on the other component.
system_info
Optional attribute; read/write access; type: s|n
A short single-line description of the current configuration of the system that the component is a top-level of. The line may include the Linux name of the simulated machine, the installed operating system, or similar information. For example "Tango - Fedora Core 5 Linux".
machine_icon
Optional attribute; read/write access; type: s|n
An instance of a top-level component may override the default system_icon with its own icon. This attribute is the name of an 80x80 pixel large icon in PNG format that should reside in the [host]/lib/images directory of the Simics installation or the project.
components
Optional attribute; read/write access; type: [o*]
List of components below the top-level component. This attribute is not valid until the object has been instantiated.
cpu_list
Pseudo attribute; read/write access; type: [o*]
List of all processors below the top-level component. This attribute is not valid until the object has been instantiated.
domain
Optional attribute; read/write access; type: o|n
Domain to put the component in.
top_component
Optional attribute; read/write access; type: o|n
The top level component. Attribute is not valid until the component has been instantiated.
instantiated
Optional attribute; read/write access; type: b
Set to TRUE if the component has been instantiated.
component_queue
Pseudo attribute; read/write access; type: a
The overriding queue object for this component.
pending_cell_object_factories
Optional attribute; read/write access; type: [[ss]*]
Internal attribute for pending cell objects factories.
clock_number
Optional attribute; read/write access; type: i
Number of clocks to run
freq_mhz
Optional attribute; read/write access; type: i
Clocks' frequency

Class Attributes

basename
Pseudo attribute; read-only access; type: s
The basename of the component.
connectors
Pseudo attribute; read-only access; type: D
This attribute should not be used anymore. Each component has connector objects that contain all connector functionality. Dictionary of dictionaries with connectors defined by this component class, indexed by name. Each connector contains the name of the connector "type", a "direction" ("up", "down" or "any"), a flag indicating if the connector can be "empty", another flag that is set if the connector is "hotplug" capable, and finally a flag that is TRUE if multiple connections to this connector is allowed.
system_icon
Pseudo attribute; read-only access; type: s|n
Name of an 80x80 pixels large icon in PNG format used to graphically represent the system that the component is a top-level of.
component_icon
Pseudo attribute; read-only access; type: s|n
Name of a 24x24 pixels large icon in PNG format used to graphically represent the component in a configuration viewer.
top_level
Pseudo attribute; read-only access; type: b|n
Set to TRUE for top-level components, i.e. the root of a hierarchy.
config_attributes
Pseudo attribute; read-only access; type: [[s[a*]]*]
Internal bug 12881, list of attributes.

Provided By

clock
can_link cell_and_clocks_comp