ArchitectureA LCM program is structured with modules. The module hierarchy is a tree. See below an example of a Simulation Logic. The elements of a LCM program are:
ScopingThe visibility is bottom up. That is to say that a LCM element such as a type, a constant, a function or a block can only see (and so access) an element above it in the Simulation Logic tree. This rule is also applied inside modules. For instance, in the specification tree, you can use the type T2 to define the type T1 but you cannot use T1 to define T2. To re-order LCM elements in the specification tree, you can use the drag and drop command.
Verification at EditionWhen the Simulation Logic is built, the following checks are done:
Elements in error are highlighted in red in the specification tree. Some other checks defined in the options can be enabled (see section Customizing > General). The elements raising a warning are identified in light red in the specification tree. | ||||||||||||||||||||||||||||||||||