VIRTUTECH CONFIDENTIAL    Previous - Up - Next

serial-link

Provided by
serial-link
Class Hierarchy
conf-objectlog-objectserial-link
Interfaces Implemented
log_object, serial_link, event_poster
Description
serial_link device

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
central
Optional attribute; read/write access; type: Object or Nil.

The Simics Central client object used for distributing the simulation.

devices
Optional attribute; read/write access; type: [[i|n,i,s,o|n,[iii|n]]*].

The connected devices. It is a list of entries, where each entry is a list [global id,local id,name,obj,info]. The obj is either a reference to the device object for local devices, or nil if the device was in another Simics process. The info field is a list [last-time,ready-posted,buffer].

frequency
Optional attribute; read/write access; type: Integer.

The frequency of the clock used by the link to time stamp traffic and state changes. This defines the granularity of the time of any event on the link. The frequency is given as number of ticks per second.

latency
Optional attribute; read/write access; type: f|i.

The latency on the link. Every packet that is sent over this link is delayed by at least the time specified in this attribute. Other simulated state changes, such as auto-negotiation and registered MAC addresses also propagate over the link with the same delay. The type of this attribute is either an integer number of clock ticks in the time base specified in the frequency attribute, or a floating point number which defines the latency in seconds.

link_id
Pseudo attribute; read/write access; type: Integer.

The ID number of the link this link object belongs to.

link_obj_id
Pseudo attribute; read/write access; type: Integer.

The local ID number of this link object on the link.

master_obj_id
Pseudo attribute; read/write access; type: Integer.

The local ID number of the master link object on the link.

min_latency
Pseudo attribute; read/write access; type: Integer.

The minimum latency allowed. This is an integer number of clock ticks in the time base specified in the frequency attribute. In a distributed the value is given by Simics Central server. This attribute can not be changed.

throttle
Optional attribute; read/write access; type: Integer.

The maximum number of bits per second that may be sent over the link in each direction. A value of zero disables throttling

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
infoprint information about the device
statusprint status of the device

Command Descriptions

<serial-link>.info
Synopsis
<serial-link>.info
Description
Print detailed information about the configuration of the device.
<serial-link>.status
Synopsis
<serial-link>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next