ABACUS mapping
This mapping configuration only applies to ABACUS processor.
Please refer to another mapping file configuration documentation if needed. You can locate each processor's documentation in the left menu under the "StartLeft Processors (SLP)" section.
Overview
This document provides instructions for configuring mapping files for the ABACUS Processor. Mapping files are essential for identifying and assigning components and trust zones within an ABACUS source file.
Mapping files are organized into two main sections:
- Trust Zones
- Components
Both sections utilize the same syntax and functions for defining mappings.
How Mapping Works
When an ABACUS model is processed, each element—along with its name and internal ABACUS type—is loaded. The mapping files then adjust the component types to match those expected in the OTM file. Absent a matching type, the element is assigned a default type of empty-component
.
Mapping Hierarchy
Mapping files can be either default or custom, with the following precedence rules:
- Custom Mappings: Take precedence over default mappings.
- Name-based Mappings: Have priority over type-based mappings.
- Trust Zone Mappings: Override component mappings.
Defining Mappings
Mappings can be established by name or type, using a variety of functions to facilitate this process.
Exact Match Mapping
For direct matches between the mapping file label
and the component name or type:
Regex Mapping
To match components or trust zones using regular expressions:
List Mapping
To map multiple names or types to a single type in the OTM file:
Default Trust Zone Handling
Per the OTM standard OTM standard, each component must be associated with a parent trust zone. For elements in the ABACUS model not nested within a trust zone, a default trust zone specified in the mapping file will be used as their parent in the OTM.
It's possible to create multiple instances of this default Trust Zone. For example, if there's an actual component named "Data Center" in the ABACUS model, it will be recognized as a Trust Zone in the OTM. Additionally, if there are unassociated components, a new default Trust Zone of the same type will be created to encompass them.