3 Components 4 Classes
RISC-V Simple Reference Manual  /  3 Components  / 

risc_v_simple_comp

Description
RISC-V Simple Board Component
Interfaces Implemented
component, component_connector, conf_object, log_object
Connectors
NameTypeDirection
ethethernet-linkdown
serial0serialdown
Provided By
risc-v-simple-comp

Attributes

component_queue

Pseudo attribute; read/write access; type: any. The queue object for this component. It is only used as a placeholder for the real queue object before the component is instantiated. It can point to an instantiated cycle object or a pre_conf object.

components

Optional attribute; read/write access; type: [o*]. This attribute is only valid for top-level components. List of components below the top-level component. This attribute is not valid until the object has been instantiated.

core_class

Optional attribute; read/write access; type: string. Classname of primary core, default is riscv-rv64

cpu_list

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

disk0_image

Optional attribute; read/write access; type: string. disk0 image file.

disk0_size

Optional attribute; read/write access; type: integer. disk0 size, used if no disk image is provided. If set to zero no disk will be created.

disk1_image

Optional attribute; read/write access; type: string. disk1 image file.

disk1_size

Optional attribute; read/write access; type: integer. disk1 size, used if no disk image is provided. If set to zero no disk will be created.

disk2_image

Optional attribute; read/write access; type: string. disk2 image file.

disk2_size

Optional attribute; read/write access; type: integer. disk2 size, used if no disk image is provided. If set to zero no disk will be created.

domain

Optional attribute; read/write access; type: object or nil. This attribute is only valid for top-level components. Domain to put the component in.

dynamic_slots

Pseudo attribute; read/write access; type: dictionary or nil. Do not use. Kept for checkpoint compatibility.

entropy_seed

Optional attribute; read/write access; type: integer. Seed for virtio entropy device.

freq_mhz

Optional attribute; read/write access; type: float. Frequency in MHz of each core, default is 100 MHz

instantiated

Optional attribute; read/write access; type: boolean. Set to TRUE if the component has been instantiated.

mac_address

Optional attribute; read/write access; type: string. The MAC address of the virtual Ethernet card.

machine_icon

Optional attribute; read/write access; type: string or nil. This attribute is only valid for top-level components. 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.

memory_megs

Optional attribute; read/write access; type: integer. Size in MB of RAM memory, default is 2048

num_cores

Optional attribute; read/write access; type: integer. Number cores, default is 4

object_list

Pseudo attribute; read-only access; type: dictionary or nil. Dictionary with the instantiated objects that the component consists of.

object_prefix

Optional attribute; read/write access; type: string. Object prefix string used by the component.

pending_cell_object_factories

Optional attribute; read/write access; type: [[ss]*]. Internal attribute for pending cell objects factories.

static_slots

Pseudo attribute; read/write access; type: dictionary or nil. Do not use. Kept for checkpoint compatibility.

system_info

Optional attribute; read/write access; type: string or nil. This attribute is only valid for top-level components. 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

timebase_freq_mhz

Optional attribute; read/write access; type: float. Frequency in MHz of the timebase, i.e. 'mtime', default is 1MHz

top_component

Optional attribute; read/write access; type: object or nil. The top level component. Attribute is not valid until the component has been instantiated.

top_level

Optional attribute; read/write access; type: boolean.

Class Attributes

basename

Pseudo class attribute; read/write access; type: string or nil.

component_icon

Pseudo class attribute; read/write access; type: string or nil.

config_attributes

Pseudo class attribute; read/write access; type: [[s[a*]]*].

system_icon

Pseudo class attribute; read-only access; type: string or nil.

Command List

Commands
infoprint information about the object
statusprint status of the object

3 Components 4 Classes