You copied the Doc URL to your clipboard.

Component properties section

The properties section of a component describes the properties of the component, for example version or component type. Some properties might only be relevant to a specific tool.

Properties section
component MyComponent
{
    ...
    properties
    {
        version = “1.1.1”;
        component_type = “Memory”;
        description = “my component”;
        ...
    }
}

Table 2-6 Component properties

Property Default Description
component_type "" A string of free-form text describing the type of component. This can be "Processor", "Bus", "Memory".
component_name "" A string containing the name of the component.
default_view auto The System Canvas view is block diagram (auto) or source (source).
description "" A description of the component.
documentation_file ""

Filename or http link for the component documentation. For filenames, the path can be absolute or relative to the LISA+ file for the component. Supported file formats are pdf, txt, and html. Filenames can contain the * and ? wildcards.

executes_software 0 This Boolean property indicates that the component executes software and that application files can be loaded into this type of component.
has_cadi 1 If set to 1 (true), a CADI interface is generated for this component that enables connection of the target with a CADI compliant debugger. If set to 0, no CADI interface is generated for this component.
hidden 0 If set to 1 (true), the component is hidden. A hidden component is not shown in the System Canvas component list and cannot be added to a block diagram.
icon_file "" File containing the logo in xpm format. This icon is displayed in the System Canvas block diagram editor. The path is relative to the LISA+ file.
loadfile_extension "" Application filename extension for this target. Example: ".elf" or ".elf;*.hex"
small_icon_file "" File containing icon shown in System Canvas list view. The component is displayed as a 12x12 pixel icon. The path is relative to the LISA+ file.
version "1.0" The version number of the component.
Was this page helpful? Yes No