21.3.77 rename_library

Description

This Tcl command renames a VHDL library from your project. To renames library, right-click the design module name in the Design Hierarchy select Rename VHDL Library from the context menu.

rename_library -library "library name" -name "library new name"

Arguments

ParameterTypeDescription
librarystringIdentifies the current name of the library that you wish to rename.
namestringSpecifies the new name of the library.

Error Codes

Error Code

Description

None

Required parameter 'library' is missing.

None

Required parameter 'name' is missing.

None

Parameter 'param_name' is not defined. Valid command formatting is 'rename_library -library "old library name" -name "new library name"' .

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

This example renames a library from 'my_lib' to 'my_new_lib'.

rename_library -library "my_lib' -name "my_new_lib"

See Also