Two instances with the same name can exist in projects
that belong to the same branch of the tree in the design build path.
The instance that is defined in the higher project in the hierarchy
is then considered as the master instance. The instance that is defined
in a lower and dependent project is considered as the subordinate
instance. If the master instance is modified, the subordinate instance
is desynchronized.
In the Design Explorer view, the
icon of a master instance is decorated with
. The icon of a subordinate instance is decorated with
. If an instance is subordinate in a project
but master in a lower project, its icon is decorated with
.
The
modifications of the master instance are not automatically passed
on to the subordinate instance. A warning informs you of the desynchronization
but you must decide whether you want to copy the modifications:
- To remove the warnings without copying the modifications of the
master instance into the subordinate instance, open the Problems view.
Right-click one of the desynchronization warnings and select Quick
fix. The quick fix wizard opens and displays two quick
fixes. Select the quick fix Remove synchronization warnings.
In the Problems panel, select the instances
that must be managed with this quick fix. Then, click Finish.
- To copy some or all of the modifications of the master instance
into the subordinate instance, open the compare editor and manually
copy the modifications. You can open this editor in two ways:
- Open the Problems view. Right-click one
of the desynchronization warnings and select Quick fix.
The quick fix wizard opens and displays two quick fixes. Select the
quick fix Open the compare editor.
- Right-click a subordinate instance in the Design Explorer view
and select .
In the compare editor, you can copy some or all of the modifications
of the master instance into the subordinate instance. When you consider
that you have copied all the necessary modifications, save the subordinate
instance directly in the compare editor. The subordinate instance
is then no longer considered as desynchronized and the warning is
no longer displayed.
Note: You can configure the Problems view
to display only the warnings that are related to the desynchronization
between the master and subordinate instances. You can then manage
them more easily. To do so, click the upside-down triangle (View
menu) in the Problems view toolbar
and select Configure contents. In the wizard
that opens, select only Warnings in Description.
Clear all the error types in the Types field,
except the Design synchronization error type,
under the RPP problems category. The Problems view
then displays only the warnings that are related to the desynchronization
between the master and subordinate instances.