21.5.8 hdl_core_rename_bif
(Ask a Question)Description
This Tcl command renames existing bus interface port of a HDL core. The command will fail if the module name is not specified or is incorrect.
hdl_core_rename_bif
-hdl_core_name { hdl_core_name } \
-current_bif_name { current_bus_interface_name } \
-new_bif_name { new_bus_interface_name }Arguments
| Parameter | Type | Description | 
|---|---|---|
hdl_core_name  | string  | Specify the HDL core name for which the bus interface needs to be renamed. This is a mandatory argument.  | 
current_bif_name  | string  | Specify the bus old bus interface name that needs to be renamed for the HDL core. This is a mandatory argument.  | 
new_bif_name  | string  | Specify the new bus interface name that needs to be updated for the HDL core. This is a mandatory argument.  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
None  | Required parameter 'hdl_core_name' is missing.  | 
None  | Parameter 'current_bus_interface' is missing or has invalid value.  | 
None  | Required parameter 'new_bif_name' is missing  | 
None  | The bus interface 'BIF_name' has not been defined.  | 
None  | You must specify at least one parameter among: 'name, connection_required, interface_rendering, description, export'.  | 
None  | Parameter 'param_name' is not defined. Valid command formatting is 'hdl_core_rename_bif -hdl_core_name "hdl core name" -current_bif_name "Current BusInterface name" -new_bif_name "New BusInterface name"'  | 
Supported Families
| PolarFire® | 
| PolarFire SoC | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
| RTG4™ | 
Example
The following command renames the existing 'BIF_1' bus interface port name from the 'dffp' HDL core with the spceified new 'BIF_2' bus interface name:
hdl_core_rename_bif -hdl_core_name {test_hdl_plus} \
-current_bif_name {BIF_1} -new_bif_name {BIF_2}See Also
hdl_core_add_bif
hdl_core_remove_bif
