Summary
This block is used to add a component in a target.
Implementation
-
Drag and drop the block from the palette
-
Link the "execute" action from the "executed" topic of the previous block
Example
This block creates a GreaterThan in the points of the origin of the macro
Properties
-
Artifacts: Artifacts created by this block
Added: component created. Ex: the GreaterThan added in the target (HQ Synthesis) -
Target: SFormat to define the parent of the component to add. Ex: the origin of the macro: a device
-
SlotName: SFormat to define the name of the component to add.
-
Policy {AddOnlyIfNotExists, AddAlways, AddOrMerge, AddOrReplace}: Define the behavior of the component to add if it already exists:Add only if not exists: nothing will happen if a slot already exists with the same name in the targetAdd always: it will add a suffix number after the slotName like HQ Synthesis1, HQ Synthesis2... for each execution of the blockAdd or merge: it will recursively merge properties from the value to the existing component. Ex: if a property of the GreaterThan is updated in the bog file. This policy will apply the change in the components added by the macroAdd or replace: the existing component is removed before the new one is added
-
Value: Define the component to add in the target. See . Ex: a GreaterThan is extracted from a resource which is a bog file