21.3.77 rename_library
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| library | string | Identifies the current name of the library that you wish to rename. | 
| name | string | Specifies 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"