| |||
| Home > System Canvas Reference > Component Instance Properties dialog > Component Model Properties dialog for system | |||
Select a blank area in the Block Diagram view and right-click and select Object Properties from the context menu to display the properties for the system. If no component is selected, you can select Object Properties from the Object menu.
The dialog has the following tabs:
This tab displays the system name, file name and path, and repository as shown in Figure 3.11.
The Component name field is editable. To change the name of the system, enter the new name in the field.
On Windows, the direction of the slash characters separating
directories appears to be reversed. You can enter slash characters
in either direction but are displayed as / in
all cases. This does not affect operation.
This tab displays all properties for the system as shown in Figure 3.12. If a component can have a specific property, but it is not used in this component instance, the box next to the property is unchecked.
Changes made in these dialogs result in changes to the LISA code in the model.
Double-click in the Value column to change the property.
The available properties are listed in Table 3.3:
Table 3.3. Component properties
| Property | ID | Default | Description |
|---|---|---|---|
| Component name | component_name | "" | A string containing the name for the component. |
| Component category | component_type | "" | A string describing the type of component.
This can be "Core", "Bus", "Memory" or
any free form category text. |
| Component description | description | "" | A textual description of the component. |
| Component documentation | documentation_file | "" | Path to a file or http link containing documentation
on the component. A path to a file can be absolute or relative to the
directory containing the LISA file for the component. Supported
file formats are pdf, txt,
and html. |
| Executes software | executes_software |
| This property indicates that the component executes software and that application files can be loaded into this type of component. This typically has to be set to 1 for CPU-like components and to 0 for all other components. The default is 1 for Core Generator generated cores and 0 for all other components. |
| Has CADI interface | has_cadi | 1 | If set to 1 a CADI interface is generated for this component allowing to connect to the target with a CADI compliant debugger. If set to 0 no CADI interface will be generated for this component. |
| Icon pixmap file | icon_file | "" | The name of the file that contains the icon, in xpm format, for this system. This icon can be used in hierarchical systems. |
| Single stepped mode | is_single_stepped | 0 | The default of 0 has to be used for systems
using the batch-event-based scheduler, i.e. systems containing CT cores.
This must be set to 1 for cycle-based systems where behavior
step must be called on every cycle. |
| License feature | license_feature | "" | The license feature string required to run this system model. |
| Load file extension | loadfile_extension | "" | Application filename extension for this target. Example: ".elf" or ".elf;*.hex" |
| Supports Save and Restore | save_restore | 0 | True if the system supports save and restore. |
| Small icon pixmap file | small_icon_file | "" | The name of the file that contains the 12x12 pixel icon, in xpm format, for this system. |
| Component version | version | "1.0" | Version of the component. |
Parameters and properties that are integers displayed in decimal format can have the K, M, G, T, and P binary multiplier suffixes listed in Table 3.2.
This tab displays the parameters for the system. See Figure 3.13.
The Parameters tab contains the following controls:
This column contains the parameters for this component.
Select a parameter and then click the text box in the Value column to set the default value for the component parameter.
Integer parameters in decimal format can contain the binary multiplication suffixes listed in Table 3.2. These left-shift the bits in parameter value by the corresponding power of two.
This column contains the LISA ID for the component parameters.
Click to add a new parameter to the selected component.
Select a parameter and then click to change the name of an existing component parameter. See Figure 3.14.
Select a parameter and then click to delete the component parameter.
This tab displays all external ports present in the system. See Figure 3.15.
If a port contains an array of ports, the Size column displays the number of ports in the array.
Individual ports can be enabled or disabled with the checkboxes:
Click Show selected ports to display the ports that have a check.
Click Hide selected ports to hide ports that have a check.
This tab displays the LISA prototypes that are available for the selected component. The list is for reference only and cannot be edited.