21.4.55 sd_update_instance
(Ask a Question)Description
This Tcl command updates an instance in a SmartDesign with its latest definition. This command is useful when the interface (port-list) of the component/module instantiated in a SmartDesign has changed. This command can be used to update any type of instance such as instances of other SmartDesign components, core components, HDL modules and HDL+ cores in a SmartDesign.
This command is not required to build a SmartDesign component. It maps to an interactive user action in the SmartDesign Canvas and will not be present in the 'Export Component Description(Tcl)' but will present in Libero Project 'Export Script File'.
sd_update_instance -sd_name {smartdesign component name} \
-instance_name {instance name}
Arguments
Parameter | Type | Description |
---|---|---|
sd_name | string | Specifies the name of the SmartDesign component. It is mandatory. |
instance_name | string | Specifies the name of the instance to be updated. It is mandatory. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'sd_name' is missing. |
None | Required parameter 'instance_name' is missing. |
None | The component 'comp_name' doesn't exist. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'sd_update_instance -sd_name "sd_name" -instance_name "instance_name"'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
This example updates 'dff' instance in a 'top' SmartDesign with its latest definition:
sd_update_instance -sd_name {top} -instance_name {dff}
See Also
sd_instantiate_component