VIRTUTECH CONFIDENTIAL    Previous - Up - Next

4   Supported Components

The following sections list components that are supported for the Fiesta architecture. There also exist other components in Simics, such as various PCI devices, that may work for Fiesta but that have not been tested.

The default machines are constructed from components in the -system.include files in [simics]/targets/fiesta/. See the Configuration and Checkpointing chapter in the Simics User Guide for information on how to define your own machine, or make modifications to an existing machine.

4.1   Fiesta Components

4.1.1   taco-system

Description
The "taco-system" component represents a Sun Blade 1500 single processor workstation mother-board with all on-board devices except the south-bridge and PCI devices.

PCI slot mappings:

Simics slotTomatilloBusDevice idBus addressNote
031A21e,600000
131A31e,600000
231A41e,600000
331A51e,600000
431B21f,700000bge (BCM5703C)
531B31f,700000

Attributes
cpu_frequency
Required attribute; read/write access; type: Integer.

Processor frequency in MHz.

hostid
Required attribute; read/write access; type: Integer.

The hostid of the machine.

mac_address
Required attribute; read/write access; type: String.

The main MAC address is the machine.

memory_megs
Pseudo attribute; read-only access; type: Integer.

The amount of RAM in mega-bytes in the machine.

rtc_time
Required attribute; read/write access; type: String.

The date and time of the Real-Time clock.

Commands
create-taco-system ["name"] cpu_frequency hostid "mac_address" "rtc_time"
Creates a non-instantiated component of the class "taco-system". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<taco-system>.get-nvram-hostid
Reads the Sun hostid from the NVRAM.
<taco-system>.get-nvram-mac
Reads the default MAC address from the NVRAM.
<taco-system>.get-prom-env ["variable"]
Prints an OBP variable with its value, or all variables if no argument is specified. Only variables with string, integer, boolean and enumeration types are supported.
<taco-system>.info
Print detailed information about the configuration of the device.
<taco-system>.set-nvram-hostid hostid
Writes the Sun hostid into the NVRAM.
<taco-system>.set-nvram-mac "mac"
Writes the default MAC address into the NVRAM.
<taco-system>.set-prom-defaults
Restores all OBP variables to their default values.
<taco-system>.set-prom-env "variable" (int|"string")
Sets the value of an OBP variable in the NVRAM. Only variables with string, integer, boolean and enumeration types are supported.
<taco-system>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
ddr-slot[0-3]mem-busdown
i2ci2c-busdown
pci-slot-idepci-busdown
pci-slot-isapci-busdown
pci-slot-pmpci-busdown
pci-slot[0-5]pci-busdown

4.1.2   south-bridge-sun-md1535d

Description
The "south-bridge-sun-md1535d" component represents the ALi MD1535D south-bridge modified for use in a Fiesta (Taco/Enchilada) system.
Commands
create-south-bridge-sun-md1535d ["name"]
Creates a non-instantiated component of the class "south-bridge-sun-md1535d". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<south-bridge-sun-md1535d>.info
Print detailed information about the configuration of the device.
<south-bridge-sun-md1535d>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
i2ci2c-busup
pci-bus-idepci-busup
pci-bus-isapci-busup
pci-bus-pmpci-busup
com[1-3]serialdown
ide0-masteride-slotdown
ide0-slaveide-slotdown
ide1-masteride-slotdown
ide1-slaveide-slotdown

4.2   PCI Device Components

4.2.1   sun-pci-ce

Description
The "sun-pci-ce" component represents a PCI card with a Cassini gigabit Ethernet adapter, for use in Sun systems.
Attributes
mac_address
Required attribute; read/write access; type: String.

The MAC address of the Ethernet adapter.

Commands
create-sun-pci-ce ["name"] "mac_address"
Creates a non-instantiated component of the class "sun-pci-ce". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-ce>.info
Print detailed information about the configuration of the device.
<sun-pci-ce>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
ethernetethernet-linkdown

4.2.2   sun-pci-hme

Description
The "sun-pci-hme" component represents a PCI card with a HME Ethernet adapter, for use in Sun systems.
Attributes
mac_address
Required attribute; read/write access; type: String.

The MAC address of the Ethernet adapter.

Commands
create-sun-pci-hme ["name"] "mac_address"
Creates a non-instantiated component of the class "sun-pci-hme". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-hme>.info
Print detailed information about the configuration of the device.
<sun-pci-hme>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
ethernetethernet-linkdown

4.2.3   sun-pci-hme-isp

Description
The "sun-pci-hme-isp" component represents a PCI card with one HME Ethernet adapter and one ISP SCSI controller for use in Sun systems.
Attributes
mac_address
Required attribute; read/write access; type: String.

The MAC address of the Ethernet adapter.

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

The ID on the SCSI bus.

Commands
create-sun-pci-hme-isp ["name"] "mac_address" [scsi_id]
Creates a non-instantiated component of the class "sun-pci-hme-isp". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-hme-isp>.info
Print detailed information about the configuration of the device.
<sun-pci-hme-isp>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
ethernetethernet-linkdown
scsi-busscsi-busdown

4.2.4   sun-pci-pgx64

Description
The "sun-pci-pgx64" component represents a PCI card with a PGX64 (Rage XL) graphics adapter, for use in Sun systems.
Commands
create-sun-pci-pgx64 ["name"]
Creates a non-instantiated component of the class "sun-pci-pgx64". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-pgx64>.info
Print detailed information about the configuration of the device.
<sun-pci-pgx64>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
consolegraphics-consoledown

4.2.5   sun-pci-qlc

Description
The "sun-pci-qlc" component represents a PCI card with a QLC Fibre-Channel SCSI controller for use in Sun systems.
Attributes
loop_id
Required attribute; read/write access; type: Integer.

The FC loop ID of the QLC controller.

Commands
create-sun-pci-qlc ["name"] loop_id
Creates a non-instantiated component of the class "sun-pci-qlc". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-qlc>.info
Print detailed information about the configuration of the device.
<sun-pci-qlc>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
fc-loopsimple-fc-loopdown

4.2.6   sun-pci-qlc-qlc

Description
The "sun-pci-qlc-qlc" component represents a PCI card with two QLC Fibre-Channel SCSI controller for use in Sun systems.
Attributes
loop_id0
Required attribute; read/write access; type: Integer.

The FC loop ID of the first QLC controller.

loop_id1
Required attribute; read/write access; type: Integer.

The FC loop ID of the second QLC controller.

Commands
create-sun-pci-qlc-qlc ["name"] loop_id0 loop_id1
Creates a non-instantiated component of the class "sun-pci-qlc-qlc". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sun-pci-qlc-qlc>.info
Print detailed information about the configuration of the device.
<sun-pci-qlc-qlc>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
fc-loop[0-1]simple-fc-loopdown

4.2.7   pci-bcm5703c

Description
The "pci-bcm5703c" component represents a Broadcom 5703C PCI based gigabit Ethernet adapter.
Attributes
bios
Optional attribute; read/write access; type: String.

The x86 BIOS file to use.

mac_address
Required attribute; read/write access; type: String.

The MAC address of the Ethernet adapter.

Commands
create-pci-bcm5703c ["name"] "mac_address" ["bios"]
Creates a non-instantiated component of the class "pci-bcm5703c". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<pci-bcm5703c>.info
Print detailed information about the configuration of the device.
<pci-bcm5703c>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
ethernetethernet-linkdown

4.2.8   pci-bcm5704c

Description
The "pci-bcm5704c" component represents a Broadcom 5704C PCI based dual-port gigabit Ethernet adapter.
Attributes
bios
Optional attribute; read/write access; type: String.

The x86 BIOS file to use.

mac_address0
Required attribute; read/write access; type: String.

The MAC address of the first Ethernet adapter.

mac_address1
Required attribute; read/write access; type: String.

The MAC address of the second Ethernet adapter.

Commands
create-pci-bcm5704c ["name"] "mac_address0" "mac_address1" ["bios"]
Creates a non-instantiated component of the class "pci-bcm5704c". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<pci-bcm5704c>.info
Print detailed information about the configuration of the device.
<pci-bcm5704c>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
ethernet[0-1]ethernet-linkdown

4.2.9   pci-sym53c875

Description
The "pci-sym53C875" component represents a SYM53C875PCI based SCSI controller.
Attributes
bios
Optional attribute; read/write access; type: String.

The x86 SCSI BIOS file to use.

Commands
create-pci-sym53c875 ["name"] ["bios"]
Creates a non-instantiated component of the class "pci-sym53c875". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<pci-sym53c875>.info
Print detailed information about the configuration of the device.
<pci-sym53c875>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
scsi-busscsi-busdown

4.2.10   pci-sym53c876

Description
The "pci-sym53C876" component represents a SYM53C876PCI based dual-port SCSI controller.
Commands
create-pci-sym53c876 ["name"]
Creates a non-instantiated component of the class "pci-sym53c876". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<pci-sym53c876>.info
Print detailed information about the configuration of the device.
<pci-sym53c876>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
pci-buspci-busup
scsi-bus[0-1]scsi-busdown

4.3   Standard Components

4.3.1   ddr-memory-module

Description
The "ddr-memory-module" component represents a DDR memory module.
Attributes
banks
Optional attribute; read/write access; type: Integer.

Number of banks.

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

CAS-latency; each set bit corresponds to a latency the memory can handle

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

Number of columns.

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

The error correction width.

memory_megs
Pseudo attribute; read-only access; type: Integer.

Total about of memory in MB.

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

The module SDRAM width.

module_type
Optional attribute; read/write access; type: String.

Type of memory.

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

Primary SDRAM width.

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

The rank density.

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

Number of ranks (logical banks).

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

Number of rows.

speed
Optional attribute; read/write access; type: String.

PC standard speed. Supported values are PC2700 and none.

Commands
create-ddr-memory-module ["name"] [rows] [columns] [ranks] [module_data_width] [primary_width] [ecc_width] [banks] [rank_density] ["module_type"] [cas_latency] ["speed"]
Creates a non-instantiated component of the class "ddr-memory-module". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-ddr-memory-module ["name"] [rows] [columns] [ranks] [module_data_width] [primary_width] [ecc_width] [banks] [rank_density] ["module_type"] [cas_latency] ["speed"]
Creates an instantiated component of the class "ddr-memory-module". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<ddr-memory-module>.info
Print detailed information about the configuration of the device.
<ddr-memory-module>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
mem-busmem-busup

4.3.2   std-ethernet-link

Description
The "std-ethernet-link" component represents a standard Ethernet link.
Attributes
frame_echo
Optional attribute; read/write access; type: Integer.

Set this attribute to echo frames back to the sender. Default is not to echo frames.

link_name
Optional attribute; read/write access; type: String.

The name to use for the ethernet-link object. An error will be raised at instantiation time if the link cannot be given this name.

Commands
create-std-ethernet-link ["name"] ["link_name"] [frame_echo]
Creates a non-instantiated component of the class "std-ethernet-link". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-ethernet-link ["name"] ["link_name"] [frame_echo]
Creates an instantiated component of the class "std-ethernet-link". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-ethernet-link>.info
Print detailed information about the configuration of the device.
<std-ethernet-link>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
deviceethernet-linkany

4.3.3   std-serial-link

Description
The "std-serial-link" component represents a standard Serial link.
Commands
create-std-serial-link ["name"]
Creates a non-instantiated component of the class "std-serial-link". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-serial-link ["name"]
Creates an instantiated component of the class "std-serial-link". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-serial-link>.info
Print detailed information about the configuration of the device.
<std-serial-link>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
serial[0-1]serialany

4.3.4   std-service-node

Description
The "std-service-node" component represents a network service node that can be connected to Ethernet links to provide services such as DNS, DHCP/BOOTP, RARP and TFTP. A service node component does not have any connectors by default. Instead, connectors have to be added using the <std-service-node>.add-connector command.
Attributes
dynamic_connectors
Optional attribute; read/write access; type: [[iss]*].

List of user added connectors

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

Next service-node device ID.

Commands
create-std-service-node ["name"]
Creates a non-instantiated component of the class "std-service-node". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-service-node ["name"]
Creates an instantiated component of the class "std-service-node". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-service-node>.add-connector "ip" ["netmask"]
Adds a connector to the service-node with specified IP address and netmask. A connector must be created for the service-node before an Ethernet link can be connected to it. The ip argument is the IP address that the service node will use on the link. The netmask argument is optional, and defaults to 255.255.255.0.
The name of the new connector is returned.
<std-service-node>.info
Print detailed information about the configuration of the device.
<std-service-node>.status
Print detailed information about the current status of the device.

4.3.5   std-ide-disk

Description
The "std-ide-disk" component represents an IDE disk.
Attributes
file
Optional attribute; read/write access; type: String.

File with disk contents for the full disk Either a raw file or a CRAFF file.

size
Required attribute; read/write access; type: Integer.

The size of the IDE disk in bytes.

Commands
create-std-ide-disk ["name"] size ["file"]
Creates a non-instantiated component of the class "std-ide-disk". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-ide-disk>.info
Print detailed information about the configuration of the device.
<std-ide-disk>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
ide-slotide-slotup

4.3.6   std-ide-cdrom

Description
The "std-ide-cdrom" component represents an IDE ATAPI CD-ROM.
Commands
create-std-ide-cdrom ["name"]
Creates a non-instantiated component of the class "std-ide-cdrom". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-ide-cdrom>.info
Print detailed information about the configuration of the device.
<std-ide-cdrom>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
ide-slotide-slotup

4.3.7   std-scsi-bus

Description
The "std-scsi-bus" component represents a 16 slot SCSI bus.
Commands
create-std-scsi-bus ["name"]
Creates a non-instantiated component of the class "std-scsi-bus". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-scsi-bus>.info
Print detailed information about the configuration of the device.
<std-scsi-bus>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
scsi-busscsi-busany

4.3.8   std-scsi-disk

Description
The "std-scsi-disk" component represents a SCSI-2 disk.
Attributes
file
Optional attribute; read/write access; type: String.

File with disk contents for the full disk Either a raw file or a CRAFF file.

scsi_id
Required attribute; read/write access; type: Integer.

The ID on the SCSI bus.

size
Required attribute; read/write access; type: Integer.

The size of the SCSI disk in bytes.

Commands
create-std-scsi-disk ["name"] scsi_id size ["file"]
Creates a non-instantiated component of the class "std-scsi-disk". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-scsi-disk>.info
Print detailed information about the configuration of the device.
<std-scsi-disk>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
scsi-busscsi-busup

4.3.9   std-scsi-cdrom

Description
The "std-scsi-cdrom" component represents a SCSI-2 CD-ROM.
Attributes
scsi_id
Required attribute; read/write access; type: Integer.

The ID on the SCSI bus.

Commands
create-std-scsi-cdrom ["name"] scsi_id
Creates a non-instantiated component of the class "std-scsi-cdrom". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-scsi-cdrom>.info
Print detailed information about the configuration of the device.
<std-scsi-cdrom>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
scsi-busscsi-busup

4.3.10   simple-fc-disk

Description
The "simple-fc-disk" component represents a SCSI-2 disk for use with Fibre-Channel SCSI controllers using the simplified FC protocol in Simics.
Attributes
file
Optional attribute; read/write access; type: String.

File with disk contents for the full disk Either a raw file or a CRAFF file.

loop_id
Required attribute; read/write access; type: Integer.

The loop ID for the FC disk.

node_name
Required attribute; read/write access; type: Integer.

The node name for the FC disk.

port_name
Required attribute; read/write access; type: Integer.

The port name for the FC disk.

size
Required attribute; read/write access; type: Integer.

The size of the FC disk in bytes.

Commands
create-simple-fc-disk ["name"] size ["file"] loop_id node_name port_name
Creates a non-instantiated component of the class "simple-fc-disk". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<simple-fc-disk>.info
Print detailed information about the configuration of the device.
<simple-fc-disk>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
fc-loopsimple-fc-loopup

4.3.11   std-text-console

Description
The "std-text-console" component represents a serial text console.
Attributes
bg_color
Optional attribute; read/write access; type: String.

The background color.

fg_color
Optional attribute; read/write access; type: String.

The foreground color.

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

The height of the console window.

title
Optional attribute; read/write access; type: String.

The Window title.

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

The width of the console window.

win32_font
Optional attribute; read/write access; type: String.

Font to use in the console on Windows host.

x11_font
Optional attribute; read/write access; type: String.

Font to use in the console when using X11 (Linux/Solaris host).

Commands
create-std-text-console ["name"] ["title"] ["bg_color"] ["fg_color"] ["x11_font"] ["win32_font"] [width] [height]
Creates a non-instantiated component of the class "std-text-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-text-console ["name"] ["title"] ["bg_color"] ["fg_color"] ["x11_font"] ["win32_font"] [width] [height]
Creates an instantiated component of the class "std-text-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-text-console>.info
Print detailed information about the configuration of the device.
<std-text-console>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
serialserialup

4.3.12   std-server-console

Description
The "std-server-console" component represents a serial console accessible from the host using telnet.
Attributes
telnet_port
Required attribute; read/write access; type: Integer.

TCP/IP port to connect the telnet service of the console to.

Commands
create-std-server-console ["name"] telnet_port
Creates a non-instantiated component of the class "std-server-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-server-console ["name"] telnet_port
Creates an instantiated component of the class "std-server-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-server-console>.info
Print detailed information about the configuration of the device.
<std-server-console>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
serialserialup

4.3.13   std-graphics-console

Description
The "std-graphics-console" component represents a graphical console for displaying output from a simulated graphics adapters and getting input for mouse and keyboard devices.
Attributes
window
Optional attribute; read/write access; type: b.

Try to open window if TRUE (default). FALSE disabled the window.

Commands
create-std-graphics-console ["name"] [window]
Creates a non-instantiated component of the class "std-graphics-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-graphics-console ["name"] [window]
Creates an instantiated component of the class "std-graphics-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-graphics-console>.info
Print detailed information about the configuration of the device.
<std-graphics-console>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
devicegraphics-consoleup
keyboardkeyboardup
mousemouseup

4.3.14   std-text-graphics-console

Description
The "std-text-graphics-console" component represents a text console for use with VGA instead of a graphics console.
Commands
create-std-text-graphics-console ["name"]
Creates a non-instantiated component of the class "std-text-graphics-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-std-text-graphics-console ["name"]
Creates an instantiated component of the class "std-text-graphics-console". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<std-text-graphics-console>.info
Print detailed information about the configuration of the device.
<std-text-graphics-console>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
devicegraphics-consoleup
keyboardkeyboardup

4.4   Timing Components

4.4.1   sample-gcache

Description
A pre-configured combined L1 instruction and data cache
Commands
create-sample-gcache ["name"]
Creates a non-instantiated component of the class "sample-gcache". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-sample-gcache ["name"]
Creates an instantiated component of the class "sample-gcache". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sample-gcache>.info
Print detailed information about the configuration of the device.
<sample-gcache>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
cpu-spacetiming-modelup

4.4.2   sample-ma-model

Description
A sample SPARC MAI model with a simple cache
Commands
create-sample-ma-model ["name"]
Creates a non-instantiated component of the class "sample-ma-model". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-sample-ma-model ["name"]
Creates an instantiated component of the class "sample-ma-model". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sample-ma-model>.info
Print detailed information about the configuration of the device.
<sample-ma-model>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
cpu-spacetiming-modelup

4.4.3   sample-ooo-model

Description

A sample SPARC MAI model based on ooo_micro_arch and a simple cache.

Commands
create-sample-ooo-model ["name"]
Creates a non-instantiated component of the class "sample-ooo-model". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
new-sample-ooo-model ["name"]
Creates an instantiated component of the class "sample-ooo-model". If name is not specified, the component will get a class-specific default name. The other arguments correspond to class attributes.
<sample-ooo-model>.info
Print detailed information about the configuration of the device.
<sample-ooo-model>.status
Print detailed information about the current status of the device.

Connectors

NameTypeDirection
cpu-spacetiming-modelup

4.5   Base Components

The base components are abstract classes that contain generic component attributes and commands available for all components.

4.5.1   component

Description
Base component class, should not be instantiated.
Attributes
connections
Optional attribute; read/write access; type: [[sos]*].

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.

connectors
Pseudo class attribute; read-only access; type: D.

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 muliple connections to this connector is allowed.

instantiated
Optional attribute; read/write access; type: b.

Set to TRUE if the component has been instantiated.

object_list
Optional attribute; read/write access; type: D.

Dictionary with objects that the component consists of.

object_prefix
Optional attribute; read/write access; type: String.

Object prefix string used by the component. The prefix is typically set by the set-component-prefix command before the component is created.

top_component
Optional attribute; read/write access; type: Object.

The top level component. Attribute is not valid until the component has been instantiated.

top_level
Optional attribute; read/write access; type: b.

Set to TRUE for top-level components, i.e. the root of a hierarchy.

4.5.2   top-component

Description
Base top-level component class, should not be instantiated.
Attributes
components
Optional attribute; read/write access; type: [o*].

List of components below the the top-level component. This attribute is not valid until the object has been instantiated.

cpu_list
Optional attribute; read/write access; type: [o*].

List of all processors below the the top-level component. This attribute is not valid until the object has been instantiated.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next