connected_device context
Simics Reference Manual  /  5 Classes  / 

connector

Description

The connector object for connecting components.

Interfaces Implemented

conf_object, log_object, 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.

Commands for this class

Attributes

type
Optional attribute; read/write access; type: s|n
The type of the connector as a string. Only two connectors of the same type can be connected.
hotpluggable
Optional attribute; read/write access; type: b
The connector supports hotplugging if true, not support hotplugging if false.
required
Optional attribute; read/write access; type: b
The connector must be connected when instantiated if this attribute is true, otherwise false.
multi
Optional attribute; read/write access; type: b
The connector supports multiple connections if this attribute is true. Only one connection is supported if this attribute is false.
direction
Optional attribute; read/write access; type: i
The direction of the connection. An up connector can only be connected to a down connector. An any connector can be connected to an up or down connector. Use the Sim_Connector_Direction_* constants when setting this attribute.
connector_name
Optional attribute; read/write access; type: n|s
The name that old legacy commands will use when identifying a component connector. Required as old components can have name conflicts for objects in a component and connector names.
owner
Optional attribute; read/write access; type: o
The component object that is the owner of this connector.
master
Optional attribute; read/write access; type: o
The connector object that is the master of this connection.
parent
Optional attribute; read/write access; type: o|n
The parent connector that was copied to create this connector.
child
Optional attribute; read/write access; type: o|n
The child connector that is a copy of this connector.
destination
Optional attribute; read/write access; type: [o*]
A list of connector objects that this connector should be connected to when getting the next update request.

Provided By

Simics Core
connected_device context