VIRTUTECH CONFIDENTIAL    Previous - Up - Next

leon2-simple

Provided by
leon2-components
Class Hierarchy
conf-objectlog-objectcomponenttop-componentleon2-simple
Interfaces Implemented
log_object, component
Description
A simple LEON2 based component including a CPU and some memory.

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
Attributes inherited from class component
connections, connectors, instantiated, object_list, object_prefix, top_component, top_level
Attributes inherited from class top-component
components, cpu_list
Attribute List
cpu_frequency
Required attribute; read/write access; type: Float.

Processor frequency in MHz.

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

True if SRAM is available (if so, SDRAM starts at 0x60000000)

has_v8_div
Required attribute; read/write access; type: b.

TRUE if the V8 IDIV instructions are to be allowed

has_v8_mul
Required attribute; read/write access; type: b.

TRUE if the V8 IMUL instructions are to be allowed

has_v8e_mac
Required attribute; read/write access; type: b.

TRUE if the V8E UMAC / SMAC instructions are to be allowed

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

Number of register windows, (must be a power of 2)

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

Size of PROM in bytes

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

Size of SDRAM in bytes

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

Size of SRAM in bytes

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

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

VIRTUTECH CONFIDENTIAL    Previous - Up - Next